[INFO] fetching crate rust_to_dtr 0.16.0... [INFO] testing rust_to_dtr-0.16.0 against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628 [INFO] extracting crate rust_to_dtr 0.16.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rust_to_dtr 0.16.0 [INFO] finished tweaking crates.io crate rust_to_dtr 0.16.0 [INFO] tweaked toml for crates.io crate rust_to_dtr 0.16.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_to_dtr 0.16.0 on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 143 packages to latest compatible versions [INFO] [stderr] Adding curve25519-dalek v4.1.2 (available: v4.1.3) [INFO] [stderr] Adding darling v0.20.10 (available: v0.20.11) [INFO] [stderr] Adding darling_core v0.20.10 (available: v0.20.11) [INFO] [stderr] Adding darling_macro v0.20.10 (available: v0.20.11) [INFO] [stderr] Adding ed25519-dalek v2.0.0 (available: v2.2.0) [INFO] [stderr] Adding ethnum v1.5.0 (available: v1.5.2) [INFO] [stderr] Adding getrandom v0.2.11 (available: v0.2.16) [INFO] [stderr] Adding k256 v0.13.1 (available: v0.13.4) [INFO] [stderr] Adding num-bigint v0.4.4 (available: v0.4.6) [INFO] [stderr] Adding num-derive v0.4.1 (available: v0.4.2) [INFO] [stderr] Adding num-integer v0.1.45 (available: v0.1.46) [INFO] [stderr] Adding num-traits v0.2.17 (available: v0.2.19) [INFO] [stderr] Adding ppv-lite86 v0.2.20 (available: v0.2.21) [INFO] [stderr] Adding prettyplease v0.2.15 (available: v0.2.37) [INFO] [stderr] Adding proc-macro2 v1.0.69 (available: v1.0.101) [INFO] [stderr] Adding quote v1.0.33 (available: v1.0.40) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding serde v1.0.192 (available: v1.0.219) [INFO] [stderr] Adding serde_derive v1.0.192 (available: v1.0.219) [INFO] [stderr] Adding serde_json v1.0.108 (available: v1.0.143) [INFO] [stderr] Adding serde_with v3.12.0 (available: v3.14.0) [INFO] [stderr] Adding serde_with_macros v3.12.0 (available: v3.14.0) [INFO] [stderr] Adding sha2 v0.10.8 (available: v0.10.9) [INFO] [stderr] Adding soroban-sdk v20.5.0 (available: v22.0.8) [INFO] [stderr] Adding syn v2.0.39 (available: v2.0.106) [INFO] [stderr] Adding thiserror v1.0.55 (available: v1.0.69) [INFO] [stderr] Adding thiserror-impl v1.0.55 (available: v1.0.69) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea6eb822414133250de6005da46f9a3d367cb54339875924953d7c27d46381fa [INFO] running `Command { std: "docker" "start" "-a" "ea6eb822414133250de6005da46f9a3d367cb54339875924953d7c27d46381fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea6eb822414133250de6005da46f9a3d367cb54339875924953d7c27d46381fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea6eb822414133250de6005da46f9a3d367cb54339875924953d7c27d46381fa", kill_on_drop: false }` [INFO] [stdout] ea6eb822414133250de6005da46f9a3d367cb54339875924953d7c27d46381fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 112949aa8169c91e040db219a481b87b8a947f501137d12ca2fa206e4df87c04 [INFO] running `Command { std: "docker" "start" "-a" "112949aa8169c91e040db219a481b87b8a947f501137d12ca2fa206e4df87c04", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling rand_core v0.6.4 [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 num-traits v0.2.17 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling platforms v3.6.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [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 digest v0.10.7 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling group v0.13.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 downcast-rs v1.2.1 [INFO] [stderr] Compiling wasmi_core v0.13.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling wasmparser-nostd v0.100.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling wasmi_arena v0.4.1 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling soroban-env-host v20.3.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling wasmparser v0.88.0 [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.10 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.55 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling soroban-wasmi v0.31.1-soroban.20.0.1 [INFO] [stderr] Compiling soroban-builtin-sdk-macros v20.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling bytes-lit v0.0.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ed25519-dalek v2.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_with v3.12.0 [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.16.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 24s [INFO] running `Command { std: "docker" "inspect" "112949aa8169c91e040db219a481b87b8a947f501137d12ca2fa206e4df87c04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "112949aa8169c91e040db219a481b87b8a947f501137d12ca2fa206e4df87c04", kill_on_drop: false }` [INFO] [stdout] 112949aa8169c91e040db219a481b87b8a947f501137d12ca2fa206e4df87c04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 430ab2d5875367efd57f796bf4b317e4e45a76150d74ddcc525ee7f9258d9823 [INFO] running `Command { std: "docker" "start" "-a" "430ab2d5875367efd57f796bf4b317e4e45a76150d74ddcc525ee7f9258d9823", kill_on_drop: false }` [INFO] [stderr] Compiling rust_to_dtr v0.16.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.64s [INFO] running `Command { std: "docker" "inspect" "430ab2d5875367efd57f796bf4b317e4e45a76150d74ddcc525ee7f9258d9823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "430ab2d5875367efd57f796bf4b317e4e45a76150d74ddcc525ee7f9258d9823", kill_on_drop: false }` [INFO] [stdout] 430ab2d5875367efd57f796bf4b317e4e45a76150d74ddcc525ee7f9258d9823 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0f91a9d4f4cfc258fcb1cad874168e606ab8cc37f0f3aa13ab8f9dd20624167e [INFO] running `Command { std: "docker" "start" "-a" "0f91a9d4f4cfc258fcb1cad874168e606ab8cc37f0f3aa13ab8f9dd20624167e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_to_dtr-2d0d70d20a7ade3a) [INFO] [stdout] [INFO] [stdout] running 144 tests [INFO] [stdout] test common::compilation_state::tests::test_compilation_state ... ok [INFO] [stdout] test common::compilation_state::test_scope_nary_tree ... ok [INFO] [stdout] test common::compilation_state::tests::test_stack ... 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_propagate_after_evaluate_reassignment ... 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::constant_propagation::tests::constant_propagation_does_not_violate_scope ... 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::constant_propagation::tests::constant_propagation_propagates_multiple_values ... 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_uses_value_from_lowest_scope_less_than_or_equal_to_self ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_propagates_latest_value ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_only_propagates_if_assign ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_propagates_same_value_multiple_times ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::remove_unused_assigns_removes_unused_assigns_complex ... 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::constant_propagation::tests::constant_propagation_works_for_method_call_base_object ... ok [INFO] [stdout] test common::compilation_state::tests::test_unique_number_generator ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_exit_with_message ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::do_a_thing ... ok [INFO] [stdout] test optimize::constant_propagation::tests::rewrite_field_instruction_as_assign_works ... 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::unreachable_code_elimination::apply_tests::multi_scope_unreachable_goto_elimination ... 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_return_elimination ... 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::test_unreachable_jump_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_unreachable_jump_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::handles_goto ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::remove_unused_assigns_due_to_eval_after ... 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::handles_simple_for_loop ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::simple_sequential ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_answer_to_life ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_break_statement_not_too_many_scope_jumps ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_get_force_type_answer_to_life ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::conditional_jumps ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::simple_one_scope_dead_code_after_jump ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_count_zero_to_answer_to_life ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_closure_around_answer_to_life ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_if_else_let_return_some_or_none ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_innerds_of_enums ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_numbered_enums_to_the_answer_of_life ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_increment_answer_to_life ... 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_if_expression_assignment ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_let_else_expression ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_log_if_answer_to_life ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_simple_sum_in_for_loop ... 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 ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_cross_contract_a ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_atomic_swap ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_return_error ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_deep_contract_auth ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_deployer_contract ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_non_range_for_loop ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_deployer_deployer ... ok [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_eth_abi ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_events ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_custom_types ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_simplest_nested_scoping ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_cross_contract_b ... 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_increment ... ok [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_errors ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_liquidity_pool ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_timelock ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_token ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_simple_account ... 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_workspace_contract_a ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_a_interface ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_account ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_old_contract ... ok [INFO] [stdout] test translate::expression::binary_expression::tests::test_binary_expression_simple_addition ... ok [INFO] [stdout] test translate::expression::array_expression::tests::test_handle_array_expression ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_b ... ok [INFO] [stdout] test translate::expression::binary_expression::tests::test_binary_expression_simple_subtraction_and_assignment ... FAILED [INFO] [stdout] test translate::expression::block_expression::tests::test_parse_block_stmt ... ok [INFO] [stdout] test translate::expression::block_expression::tests::test_handle_block_expression ... FAILED [INFO] [stdout] test translate::expression::call_expression::tests::test_handle_call_expression ... ok [INFO] [stdout] test translate::expression::call_expression::tests::test_handle_call_expression_with_path ... ok [INFO] [stdout] test translate::expression::call_expression::tests::test_handle_call_expression_with_struct_init_as_input ... ok [INFO] [stdout] test translate::expression::cast_expression::tests::test_handle_cast_expression ... ok [INFO] [stdout] test translate::expression::closure_expression::tests::test_handle_closure_expression ... ok [INFO] [stdout] test translate::expression::field_expression::tests::test_handle_field_expression_index ... ok [INFO] [stdout] test translate::expression::for_loop_expression::tests::test_handle_for_loop_expression ... ok [INFO] [stdout] test translate::expression::for_loop_expression::tests::test_handle_for_loop_non_range_iterator_expression ... ok [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 ... ok [INFO] [stdout] test translate::expression::for_loop_expression::tests::test_handle_nested_for_loop_expression ... ok [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 tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock ... FAILED [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_elseif_else_expression ... ok [INFO] [stdout] test translate::expression::break_expression::tests::test_handle_break_expression ... ok [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_let_expression ... FAILED [INFO] [stdout] test translate::expression::index_expression::tests::test_handle_index_expression ... ok [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_true_expression ... FAILED [INFO] [stdout] test translate::expression::assign_expression::tests::test_handle_assign_expression ... FAILED [INFO] [stdout] test translate::expression::let_expression::tests::let_expression::test_let_expression_less_simple_foo_equals_bar ... ok [INFO] [stdout] test translate::expression::let_expression::tests::let_expression::test_let_expression_simple_x_equals_1 ... ok [INFO] [stdout] test translate::expression::index_expression::tests::test_handle_index_expression_with_nested_index ... ok [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_bool ... ok [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_char ... ok [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::paren_expression::tests::test_handle_paren_expression ... ok [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_byte ... ok [INFO] [stdout] test translate::expression::method_call_expression::tests::test_handle_method_call_expression ... ok [INFO] [stdout] test translate::expression::path_expression::tests::test_handle_path_expression ... ok [INFO] [stdout] test translate::expression::repeat_expression::tests::test_handle_repeat_expression ... ok [INFO] [stdout] test translate::expression::return_expression::tests::test_return_expression_bool ... ok [INFO] [stdout] test translate::expression::return_expression::tests::test_return_expression_no_expr ... ok [INFO] [stdout] test translate::expression::range_expression::test::test_handle_create_full_range ... 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_true_nested_expression ... FAILED [INFO] [stdout] test translate::expression::tuple_expression::tests::test_handle_tuple ... ok [INFO] [stdout] test translate::expression::return_expression::tests::test_return_expression_int ... FAILED [INFO] [stdout] test translate::expression::unary_expression::tests::test_handle_unary_minus_expression ... ok [INFO] [stdout] test translate::expression::unary_expression::tests::test_handle_unary_negation_expression ... ok [INFO] [stdout] test translate::expression::struct_expression::tests::test_handle_struct_expression ... FAILED [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_enum ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_function ... 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::type_name::tests::test_figure_out_type_never ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_primitive_bool ... ok [INFO] [stdout] test translate::type_name::tests::collections::test_figure_out_type_vec_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_i32 ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_primitive_f64 ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_primitive_char ... ok [INFO] [stdout] test translate::expression::match_expression::tests::test_handle_match_expression ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_single_offer ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_return_error stdout ---- [INFO] [stdout] DTR Code: [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [answer_to_life] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] some_number: Integer [INFO] [stdout] } [INFO] [stdout] * Output: Result [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 8, instruction: evaluate, input: (not_equal_to, some_number, 42), assign: CONDITIONAL_JUMP_ASSIGNMENT_1, scope: 0 } [INFO] [stdout] { id: 10, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_1, 9), scope: 0 } [INFO] [stdout] { id: 25, instruction: evaluate, input: (Err, SomeErrorTypes::NotTheAnswerToLife), assign: RETURN_VALUE_LABEL_12, scope: 9 } [INFO] [stdout] { id: 26, instruction: return, input: (RETURN_VALUE_LABEL_12), scope: 9 } [INFO] [stdout] { id: 32, instruction: evaluate, input: (Ok, some_number), 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_digicus_unofficial_examples_return_error' (69) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Helpers]:-() [answer_to_life]* Inputs:{some_number: Integer}* Output: Result* Instructions:${ id: 8, instruction: evaluate, input: (not_equal_to, some_number, 42), assign: CONDITIONAL_JUMP_ASSIGNMENT_1, scope: 0 }{ id: 10, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_1, 9), scope: 0 }{ id: 25, instruction: evaluate, input: (Err, SomeErrorTypes::NotTheAnswerToLife), assign: RETURN_VALUE_LABEL_12, scope: 9 }{ id: 26, instruction: return, input: (RETURN_VALUE_LABEL_12), scope: 9 }{ id: 32, instruction: evaluate, input: (Ok, some_number), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Helpers]:-() [answer_to_life]* Inputs:{some_number: Integer}* Output: Result* Instructions:${ id: 5, instruction: evaluate, input: (not_equal_to, some_number, 42), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 7, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 6), scope: 0 }{ id: 13, instruction: evaluate, input: (Err, SomeErrorTypes::NotTheAnswerToLife), assign: RETURN_VALUE_LABEL_8, scope: 6 }{ id: 14, instruction: return, input: (RETURN_VALUE_LABEL_8), scope: 6 }{ id: 20, instruction: evaluate, input: (Ok, some_number), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e31a0 - core::panicking::assert_failed::hc47178b1cef2029f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d213730 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5c695d214385 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_return_error::h0aa66fb8a160cd37 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5c695d2143c7 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_return_error::{{closure}}::h741ddbe0cd7c0556 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5c695d1c95a6 - core::ops::function::FnOnce::call_once::h006cac90effd47b2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x758d8ce73aa4 - [INFO] [stdout] 46: 0x758d8cf00a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_deep_contract_auth stdout ---- [INFO] [stdout] DTR Code: [INFO] [stdout] [INFO] [stdout] [NonTranslatable]: [INFO] [stdout] [INFO] [stdout] mod contract_c {FIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEM [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] mod contract_b {FIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEM [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] mod contract_a {FIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEM [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[NonTranslatable] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_deep_contract_auth' (82) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[NonTranslatable]:mod contract_c {FIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEM}mod contract_b {FIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEM}mod contract_a {FIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEMFIXME, UNSUPPORTED NON TRANSLATABLE ITEM}:[NonTranslatable]" [INFO] [stdout] right: "" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e31a0 - core::panicking::assert_failed::hc47178b1cef2029f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d213730 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5c695d215645 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_deep_contract_auth::hc3286efe967b7278 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5c695d215687 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_deep_contract_auth::{{closure}}::h5dd310ba738cb191 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5c695d1cc4e6 - core::ops::function::FnOnce::call_once::head314443bc6dac3 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x758d8ce73aa4 - [INFO] [stdout] 46: 0x758d8cf00a34 - 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: 14, instruction: evaluate, input: (some_vec.iter), assign: ITERATOR_0, scope: 0 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (start, ITERATOR_0), assign: some_thing_in_a_vec, scope: 0 } [INFO] [stdout] { id: 16, instruction: end_of_iteration_check, input: (some_thing_in_a_vec, ITERATOR_0), assign: CHECK_CONDITION_ASSIGNMENT_4, scope: 0 } [INFO] [stdout] { id: 18, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_4, 17), scope: 0 } [INFO] [stdout] { id: 19, instruction: print, input: ("Doing a thing"), scope: 17 } [INFO] [stdout] { id: 23, instruction: increment, input: (some_thing_in_a_vec), scope: 17 } [INFO] [stdout] { id: 24, instruction: goto, input: (16), scope: 17 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_non_range_for_loop' (67) 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: 14, instruction: evaluate, input: (some_vec.iter), assign: ITERATOR_0, scope: 0 }{ id: 15, instruction: evaluate, input: (start, ITERATOR_0), assign: some_thing_in_a_vec, scope: 0 }{ id: 16, instruction: end_of_iteration_check, input: (some_thing_in_a_vec, ITERATOR_0), assign: CHECK_CONDITION_ASSIGNMENT_4, scope: 0 }{ id: 18, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_4, 17), scope: 0 }{ id: 19, instruction: print, input: (\"Doing a thing\"), scope: 17 }{ id: 23, instruction: increment, input: (some_thing_in_a_vec), scope: 17 }{ id: 24, instruction: goto, input: (16), scope: 17 }$:[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), scope: 7 }{ id: 11, instruction: goto, input: (6), scope: 7 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e31a0 - core::panicking::assert_failed::hc47178b1cef2029f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d213730 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5c695d214ec5 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_non_range_for_loop::hd61fa6dccb2f372b [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5c695d214f07 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_non_range_for_loop::{{closure}}::h2b7772c9d82619d0 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5c695d1cc8c6 - core::ops::function::FnOnce::call_once::hff11f7cc304782bc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x758d8ce73aa4 - [INFO] [stdout] 46: 0x758d8cf00a34 - 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: 7, instruction: instantiate_object, input: (List), assign: v1, scope: 0 } [INFO] [stdout] { id: 19, instruction: instantiate_object, input: (Range, 0, count), assign: METHOD_CALL_EXPRESSION_14, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (v1.push, i), assign: METHOD_CALL_ARG_1_8, scope: 0 } [INFO] [stdout] { id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_14.for_each, METHOD_CALL_ARG_1_8), scope: 0 } [INFO] [stdout] { id: 21, instruction: assign, input: (0), assign: sum, scope: 0 } [INFO] [stdout] { id: 24, instruction: assign, input: (v1), assign: ITERATOR_22, scope: 0 } [INFO] [stdout] { id: 25, instruction: evaluate, input: (start, v1), assign: i, scope: 0 } [INFO] [stdout] { id: 26, instruction: end_of_iteration_check, input: (i, ITERATOR_22), assign: CHECK_CONDITION_ASSIGNMENT_23, scope: 0 } [INFO] [stdout] { id: 28, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_23, 27), scope: 0 } [INFO] [stdout] { id: 33, instruction: add, input: (sum, i), assign: sum, scope: 27 } [INFO] [stdout] { id: 34, instruction: increment, input: (i), scope: 27 } [INFO] [stdout] { id: 35, instruction: goto, input: (26), scope: 27 } [INFO] [stdout] { id: 0, 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' (75) 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: 7, instruction: instantiate_object, input: (List), assign: v1, scope: 0 }{ id: 19, instruction: instantiate_object, input: (Range, 0, count), assign: METHOD_CALL_EXPRESSION_14, scope: 0 }{ id: 13, instruction: evaluate, input: (v1.push, i), assign: METHOD_CALL_ARG_1_8, scope: 0 }{ id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_14.for_each, METHOD_CALL_ARG_1_8), scope: 0 }{ id: 21, instruction: assign, input: (0), assign: sum, scope: 0 }{ id: 24, instruction: assign, input: (v1), assign: ITERATOR_22, scope: 0 }{ id: 25, instruction: evaluate, input: (start, v1), assign: i, scope: 0 }{ id: 26, instruction: end_of_iteration_check, input: (i, ITERATOR_22), assign: CHECK_CONDITION_ASSIGNMENT_23, scope: 0 }{ id: 28, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_23, 27), scope: 0 }{ id: 33, instruction: add, input: (sum, i), assign: sum, scope: 27 }{ id: 34, instruction: increment, input: (i), scope: 27 }{ id: 35, instruction: goto, input: (26), scope: 27 }{ id: 0, 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), 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: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e31a0 - core::panicking::assert_failed::hc47178b1cef2029f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d213730 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5c695d213b15 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_alloc::h99b473acb9f004f1 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5c695d213b57 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_alloc::{{closure}}::hd7b2fabd11bafda4 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5c695d1cbd26 - core::ops::function::FnOnce::call_once::hc296cd989c66a90f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x758d8ce73aa4 - [INFO] [stdout] 46: 0x758d8cf00a34 - 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: 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, COUNTER), assign: METHOD_CALL_EXPRESSION_2, scope: 0 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.unwrap_or, 0), assign: count|||Integer, scope: 0 } [INFO] [stdout] { id: 2, instruction: add, input: (count, 1), assign: count, scope: 0 } [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: env, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.set, COUNTER, count), scope: 0 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (env.events), assign: METHOD_CALL_EXPRESSION_21, scope: 0 } [INFO] [stdout] { id: 17, instruction: instantiate_object, input: (Tuple, COUNTER, "increment"), assign: METHOD_CALL_ARG_1_14, scope: 0 } [INFO] [stdout] { id: 25, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_21.publish, METHOD_CALL_ARG_1_14, 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' (87) 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: 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, COUNTER), assign: METHOD_CALL_EXPRESSION_2, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.unwrap_or, 0), assign: count|||Integer, scope: 0 }{ id: 2, instruction: add, input: (count, 1), assign: count, scope: 0 }{ 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: env, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.set, COUNTER, count), scope: 0 }{ id: 24, instruction: evaluate, input: (env.events), assign: METHOD_CALL_EXPRESSION_21, scope: 0 }{ id: 17, instruction: instantiate_object, input: (Tuple, COUNTER, \"increment\"), assign: METHOD_CALL_ARG_1_14, scope: 0 }{ id: 25, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_21.publish, METHOD_CALL_ARG_1_14, 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: 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, COUNTER), assign: METHOD_CALL_EXPRESSION_2, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.unwrap_or, 0), assign: count|||Integer, scope: 0 }{ id: 17, instruction: add, input: (count, 1), assign: count, scope: 0 }{ id: 26, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_23, scope: 0 }{ id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_23.instance), assign: METHOD_CALL_EXPRESSION_22, scope: 0 }{ id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_22.set, COUNTER, count), scope: 0 }{ id: 39, instruction: evaluate, input: (env.events), assign: METHOD_CALL_EXPRESSION_36, scope: 0 }{ id: 32, instruction: instantiate_object, input: (Tuple, COUNTER, \"increment\"), assign: METHOD_CALL_ARG_1_29, scope: 0 }{ id: 40, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_36.publish, METHOD_CALL_ARG_1_29, 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: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e31a0 - core::panicking::assert_failed::hc47178b1cef2029f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d213730 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5c695d213de5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_events::hd3d8472b2e63ac49 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5c695d213e27 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_events::{{closure}}::h90f2e1f61316fce3 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5c695d1cb9d6 - core::ops::function::FnOnce::call_once::hb5339e170455bc53 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x758d8ce73aa4 - [INFO] [stdout] 46: 0x758d8cf00a34 - 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: 3, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_0, scope: 0 } [INFO] [stdout] { id: 6, instruction: evaluate, input: (get_state, CALL_EXPRESSION_ARG_1_0), assign: state, scope: 0 } [INFO] [stdout] { id: 18, instruction: add, input: (state.count, incr), assign: state.count, scope: 0 } [INFO] [stdout] { id: 28, instruction: assign, input: (incr), assign: state.last_incr, scope: 0 } [INFO] [stdout] { id: 46, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_40, scope: 0 } [INFO] [stdout] { id: 47, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_40.instance), assign: METHOD_CALL_EXPRESSION_39, scope: 0 } [INFO] [stdout] { id: 48, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_39.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: 93, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_90, scope: 0 } [INFO] [stdout] { id: 94, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_90.instance), assign: METHOD_CALL_EXPRESSION_89, scope: 0 } [INFO] [stdout] { id: 95, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_89.get, STATE), assign: METHOD_CALL_EXPRESSION_86, scope: 0 } [INFO] [stdout] { id: 84, instruction: instantiate_object, input: (UDT, State, 0, 0), assign: METHOD_CALL_ARG_1_81, scope: 0 } [INFO] [stdout] { id: 96, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_86.unwrap_or, METHOD_CALL_ARG_1_81), 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' (81) 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: 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: 18, instruction: add, input: (state.count, incr), assign: state.count, scope: 0 }{ id: 28, instruction: assign, input: (incr), assign: state.last_incr, scope: 0 }{ id: 46, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_40, scope: 0 }{ id: 47, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_40.instance), assign: METHOD_CALL_EXPRESSION_39, scope: 0 }{ id: 48, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_39.set, STATE, state), scope: 0 }{ id: 0, instruction: return, input: (state.count), scope: 0 }$-() [get_state]* Inputs:{env: Env}* Output: State* Instructions:${ id: 93, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_90, scope: 0 }{ id: 94, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_90.instance), assign: METHOD_CALL_EXPRESSION_89, scope: 0 }{ id: 95, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_89.get, STATE), assign: METHOD_CALL_EXPRESSION_86, scope: 0 }{ id: 84, instruction: instantiate_object, input: (UDT, State, 0, 0), assign: METHOD_CALL_ARG_1_81, scope: 0 }{ id: 96, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_86.unwrap_or, METHOD_CALL_ARG_1_81), 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: 31, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_28, scope: 0 }{ id: 32, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_28.instance), assign: METHOD_CALL_EXPRESSION_27, scope: 0 }{ id: 33, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_27.set, STATE, state), scope: 0 }{ id: 0, instruction: return, input: (state.count), scope: 0 }$-() [get_state]* Inputs:{env: Env}* Output: State* Instructions:${ id: 50, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_47, scope: 0 }{ id: 51, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_47.instance), assign: METHOD_CALL_EXPRESSION_46, scope: 0 }{ id: 52, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_46.get, STATE), assign: METHOD_CALL_EXPRESSION_43, scope: 0 }{ id: 41, instruction: instantiate_object, input: (UDT, State, 0, 0), assign: METHOD_CALL_ARG_1_38, scope: 0 }{ id: 53, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_43.unwrap_or, METHOD_CALL_ARG_1_38), 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: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e31a0 - core::panicking::assert_failed::hc47178b1cef2029f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d213730 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5c695d214925 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_custom_types::hba3651ed32b0c7a7 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5c695d214967 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_custom_types::{{closure}}::he746b50af601479b [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5c695d1cba56 - core::ops::function::FnOnce::call_once::hb9cd47f843c7f6d6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x758d8ce73aa4 - [INFO] [stdout] 46: 0x758d8cf00a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_simplest_nested_scoping 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] some_input: Integer [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 5, instruction: evaluate, input: (greater_than, some_input, 10), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 7, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 6), scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (greater_than, some_input, 15), assign: CONDITIONAL_JUMP_ASSIGNMENT_8, scope: 6 } [INFO] [stdout] { id: 15, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_8, 14), scope: 6 } [INFO] [stdout] { id: 16, instruction: assign, input: (5), assign: x, scope: 14 } [INFO] [stdout] { id: 21, instruction: add, input: (x, 10), assign: x, scope: 14 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (greater_than, x, some_input), assign: CONDITIONAL_JUMP_ASSIGNMENT_22, scope: 14 } [INFO] [stdout] { id: 29, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_22, 28), scope: 14 } [INFO] [stdout] { id: 30, instruction: print, input: ("Some input is greater than 15"), scope: 28 } [INFO] [stdout] { id: 31, instruction: jump, input: (14), scope: 28 } [INFO] [stdout] { id: 38, instruction: evaluate, input: (equal_to, x, some_input), assign: CONDITIONAL_JUMP_ASSIGNMENT_33, scope: 14 } [INFO] [stdout] { id: 40, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_33, 39), scope: 14 } [INFO] [stdout] { id: 44, instruction: jump, input: (43), scope: 14 } [INFO] [stdout] { id: 41, instruction: assign, input: (x), assign: RETURN_VALUE_LABEL_32, scope: 39 } [INFO] [stdout] { id: 42, instruction: jump, input: (14), scope: 39 } [INFO] [stdout] { id: 45, instruction: assign, input: (some_input), assign: RETURN_VALUE_LABEL_32, scope: 43 } [INFO] [stdout] { id: 46, instruction: jump, input: (14), scope: 43 } [INFO] [stdout] { id: 47, instruction: return, input: (RETURN_VALUE_LABEL_32), scope: 14 } [INFO] [stdout] { id: 0, instruction: jump, input: (0), scope: 6 } [INFO] [stdout] { id: 5, instruction: add, input: (some_input, 1), assign: some_input, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (some_input), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_simplest_nested_scoping' (72) 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:{some_input: Integer}* Output: Integer* Instructions:${ id: 5, instruction: evaluate, input: (greater_than, some_input, 10), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 7, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 6), scope: 0 }{ id: 13, instruction: evaluate, input: (greater_than, some_input, 15), assign: CONDITIONAL_JUMP_ASSIGNMENT_8, scope: 6 }{ id: 15, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_8, 14), scope: 6 }{ id: 16, instruction: assign, input: (5), assign: x, scope: 14 }{ id: 21, instruction: add, input: (x, 10), assign: x, scope: 14 }{ id: 27, instruction: evaluate, input: (greater_than, x, some_input), assign: CONDITIONAL_JUMP_ASSIGNMENT_22, scope: 14 }{ id: 29, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_22, 28), scope: 14 }{ id: 30, instruction: print, input: (\"Some input is greater than 15\"), scope: 28 }{ id: 31, instruction: jump, input: (14), scope: 28 }{ id: 38, instruction: evaluate, input: (equal_to, x, some_input), assign: CONDITIONAL_JUMP_ASSIGNMENT_33, scope: 14 }{ id: 40, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_33, 39), scope: 14 }{ id: 44, instruction: jump, input: (43), scope: 14 }{ id: 41, instruction: assign, input: (x), assign: RETURN_VALUE_LABEL_32, scope: 39 }{ id: 42, instruction: jump, input: (14), scope: 39 }{ id: 45, instruction: assign, input: (some_input), assign: RETURN_VALUE_LABEL_32, scope: 43 }{ id: 46, instruction: jump, input: (14), scope: 43 }{ id: 47, instruction: return, input: (RETURN_VALUE_LABEL_32), scope: 14 }{ id: 0, instruction: jump, input: (0), scope: 6 }{ id: 5, instruction: add, input: (some_input, 1), assign: some_input, scope: 0 }{ id: 0, instruction: return, input: (some_input), scope: 0 }$:[Interface]" [INFO] [stdout] right: "[Contract]: NestedScoping[Interface]:-() [fourty_two_and_then_some]* Inputs:{some_input: Integer}* Output: Integer* Instructions:${ id: 5, instruction: evaluate, input: (greater_than, some_input, 10), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 7, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 6), scope: 0 }{ id: 13, instruction: evaluate, input: (greater_than, some_input, 15), assign: CONDITIONAL_JUMP_ASSIGNMENT_8, scope: 6 }{ id: 15, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_8, 14), scope: 6 }{ id: 16, instruction: assign, input: (5), assign: x, scope: 14 }{ id: 21, instruction: add, input: (x, 10), assign: x, scope: 14 }{ id: 27, instruction: evaluate, input: (greater_than, x, some_input), assign: CONDITIONAL_JUMP_ASSIGNMENT_22, scope: 14 }{ id: 29, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_22, 28), scope: 14 }{ id: 30, instruction: print, input: (\"Some input is greater than 15\"), scope: 28 }{ id: 31, instruction: jump, input: (14), scope: 28 }{ id: 38, instruction: evaluate, input: (equal_to, x, some_input), assign: CONDITIONAL_JUMP_ASSIGNMENT_33, scope: 14 }{ id: 40, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_33, 39), scope: 14 }{ id: 44, instruction: jump, input: (43), scope: 14 }{ id: 41, instruction: assign, input: (x), assign: RETURN_VALUE_LABEL_32, scope: 39 }{ id: 42, instruction: jump, input: (14), scope: 39 }{ id: 45, instruction: assign, input: (some_input), assign: RETURN_VALUE_LABEL_32, scope: 43 }{ id: 46, instruction: jump, input: (14), scope: 43 }{ id: 47, instruction: return, input: (RETURN_VALUE_LABEL_32), scope: 14 }{ id: 49, instruction: jump, input: (0), scope: 6 }{ id: 54, instruction: add, input: (some_input, 1), assign: some_input, scope: 0 }{ id: 0, instruction: return, input: (some_input), scope: 0 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e31a0 - core::panicking::assert_failed::hc47178b1cef2029f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d213730 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5c695d215825 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_simplest_nested_scoping::hafcbb825598c6af6 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5c695d215867 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_simplest_nested_scoping::{{closure}}::h0d84aa4f6d9bbc69 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5c695d1cb566 - core::ops::function::FnOnce::call_once::h9edee09b09dfb6ab [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x758d8ce73aa4 - [INFO] [stdout] 46: 0x758d8cf00a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_cross_contract_b stdout ---- [INFO] [stdout] DTR Code: [Contract]: ContractB [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [add_with] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] contract: Address [INFO] [stdout] x: Integer [INFO] [stdout] y: Integer [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 18, instruction: evaluate, input: (contract_a::Client::new, env, contract), assign: client, scope: 0 } [INFO] [stdout] { id: 33, instruction: evaluate, input: (client.add, x, y), 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] [NonTranslatable]: [INFO] [stdout] [INFO] [stdout] mod contract_a { [INFO] [stdout] soroban_sdk::contractimport!( [INFO] [stdout] file = "../contract_a/target/wasm32-unknown-unknown/release/soroban_cross_contract_a_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_cross_contract_b' (80) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: ContractB[Interface]:-() [add_with]* Inputs:{env: Envcontract: Addressx: Integery: Integer}* Output: Integer* Instructions:${ id: 18, instruction: evaluate, input: (contract_a::Client::new, env, contract), assign: client, scope: 0 }{ id: 33, instruction: evaluate, input: (client.add, x, y), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][NonTranslatable]:mod contract_a {soroban_sdk::contractimport!(file = \"../contract_a/target/wasm32-unknown-unknown/release/soroban_cross_contract_a_contract.wasm\");}:[NonTranslatable]" [INFO] [stdout] right: "[Contract]: ContractB[Interface]:-() [add_with]* Inputs:{env: Envcontract: Addressx: Integery: Integer}* Output: Integer* Instructions:${ id: 6, instruction: evaluate, input: (contract_a::Client::new, env, contract), assign: client, scope: 0 }{ id: 13, instruction: evaluate, input: (client.add, x, y), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][NonTranslatable]:mod contract_a {soroban_sdk::contractimport!(file = \"../contract_a/target/wasm32-unknown-unknown/release/soroban_cross_contract_a_contract.wasm\");}:[NonTranslatable]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e31a0 - core::panicking::assert_failed::hc47178b1cef2029f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d213730 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5c695d215285 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_cross_contract_b::hdce9182a7a2d93f1 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5c695d2152c7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_cross_contract_b::{{closure}}::h3205a1ee91a29527 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5c695d1cc0a6 - core::ops::function::FnOnce::call_once::hd6778780cbeeb0a2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x758d8ce73aa4 - [INFO] [stdout] 46: 0x758d8cf00a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_liquidity_pool stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_liquidity_pool' (91) panicked at src/rust_to_dtr_c/mod.rs:15:49: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Error("expected square brackets") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46b096 - core::result::unwrap_failed::h3188dfca3824df71 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x5c695d1f0609 - core::result::Result::unwrap::h33c330773ab6f5b1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/result.rs:1223:23 [INFO] [stdout] 21: 0x5c695d1f0609 - rust_to_dtr::rust_to_dtr_c::parse_to_dtr::ha22b09ce20ef6048 [INFO] [stdout] at /opt/rustwide/workdir/src/rust_to_dtr_c/mod.rs:15:49 [INFO] [stdout] 22: 0x5c695d2133eb - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:21:15 [INFO] [stdout] 23: 0x5c695d214ce5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_liquidity_pool::h267e7b2d42b21207 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 24: 0x5c695d214d27 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_liquidity_pool::{{closure}}::hee344f6b7155ad57 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 25: 0x5c695d1cc6e6 - core::ops::function::FnOnce::call_once::hf4f061a274c89441 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x758d8ce73aa4 - [INFO] [stdout] 47: 0x758d8cf00a34 - clone [INFO] [stdout] 48: 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: 5, instruction: evaluate, input: (claimants.len), assign: BINARY_EXPRESSION_LEFT_1, scope: 0 } [INFO] [stdout] { id: 7, instruction: evaluate, input: (greater_than, BINARY_EXPRESSION_LEFT_1, 10), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 9, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 8), scope: 0 } [INFO] [stdout] { id: 10, instruction: exit_with_message, input: ("too many claimants"), scope: 8 } [INFO] [stdout] { id: 17, instruction: evaluate, input: (is_initialized, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_12, scope: 0 } [INFO] [stdout] { id: 19, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_12, 18), scope: 0 } [INFO] [stdout] { id: 20, instruction: exit_with_message, input: ("contract has been already initialized"), scope: 18 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (from.require_auth), scope: 0 } [INFO] [stdout] { id: 40, instruction: evaluate, input: (token::Client::new, env, token), assign: METHOD_CALL_EXPRESSION_33, scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_2_27, scope: 0 } [INFO] [stdout] { id: 41, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_33.transfer, from, METHOD_CALL_ARG_2_27, amount), scope: 0 } [INFO] [stdout] { id: 55, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_52, scope: 0 } [INFO] [stdout] { id: 56, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_52.instance), assign: METHOD_CALL_EXPRESSION_51, scope: 0 } [INFO] [stdout] { id: 49, instruction: instantiate_object, input: (UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_44, scope: 0 } [INFO] [stdout] { id: 57, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_51.set, DataKey::Balance, METHOD_CALL_ARG_2_44), scope: 0 } [INFO] [stdout] { id: 67, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_64, scope: 0 } [INFO] [stdout] { id: 68, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_64.instance), assign: METHOD_CALL_EXPRESSION_63, scope: 0 } [INFO] [stdout] { id: 61, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_60, scope: 0 } [INFO] [stdout] { id: 69, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_63.set, DataKey::Init, METHOD_CALL_ARG_2_60), 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: 79, instruction: evaluate, input: (claimant.require_auth), scope: 0 } [INFO] [stdout] { id: 87, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_84, scope: 0 } [INFO] [stdout] { id: 88, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_84.instance), assign: METHOD_CALL_EXPRESSION_83, scope: 0 } [INFO] [stdout] { id: 89, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_83.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_80, scope: 0 } [INFO] [stdout] { id: 90, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_80.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 } [INFO] [stdout] { id: 102, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_92, scope: 0 } [INFO] [stdout] { id: 103, instruction: evaluate, input: (!, UNARY_ARGUMENT_92), assign: CONDITIONAL_JUMP_ASSIGNMENT_91, scope: 0 } [INFO] [stdout] { id: 105, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_91, 104), scope: 0 } [INFO] [stdout] { id: 106, instruction: exit_with_message, input: ("time predicate is not fulfilled"), scope: 104 } [INFO] [stdout] { id: 118, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_113, scope: 0 } [INFO] [stdout] { id: 119, instruction: evaluate, input: (!, UNARY_ARGUMENT_113), assign: CONDITIONAL_JUMP_ASSIGNMENT_112, scope: 0 } [INFO] [stdout] { id: 121, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_112, 120), scope: 0 } [INFO] [stdout] { id: 122, instruction: exit_with_message, input: ("claimant is not allowed to claim this balance"), scope: 120 } [INFO] [stdout] { id: 145, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_135, scope: 0 } [INFO] [stdout] { id: 127, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_124, scope: 0 } [INFO] [stdout] { id: 146, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_135.transfer, METHOD_CALL_ARG_1_124, claimant, claimable_balance.amount), scope: 0 } [INFO] [stdout] { id: 153, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_150, scope: 0 } [INFO] [stdout] { id: 154, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_150.instance), assign: METHOD_CALL_EXPRESSION_149, scope: 0 } [INFO] [stdout] { id: 155, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_149.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: 13, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_10, 12), 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: 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: 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: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.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' (96) 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: 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: 17, instruction: evaluate, input: (is_initialized, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_12, scope: 0 }{ id: 19, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_12, 18), scope: 0 }{ id: 20, instruction: exit_with_message, input: (\"contract has been already initialized\"), scope: 18 }{ id: 24, instruction: evaluate, input: (from.require_auth), scope: 0 }{ id: 40, instruction: evaluate, input: (token::Client::new, env, token), assign: METHOD_CALL_EXPRESSION_33, scope: 0 }{ id: 30, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_2_27, scope: 0 }{ id: 41, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_33.transfer, from, METHOD_CALL_ARG_2_27, amount), scope: 0 }{ id: 55, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_52, scope: 0 }{ id: 56, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_52.instance), assign: METHOD_CALL_EXPRESSION_51, scope: 0 }{ id: 49, instruction: instantiate_object, input: (UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_44, scope: 0 }{ id: 57, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_51.set, DataKey::Balance, METHOD_CALL_ARG_2_44), scope: 0 }{ id: 67, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_64, scope: 0 }{ id: 68, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_64.instance), assign: METHOD_CALL_EXPRESSION_63, scope: 0 }{ id: 61, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_60, scope: 0 }{ id: 69, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_63.set, DataKey::Init, METHOD_CALL_ARG_2_60), scope: 0 }$-() [claim]* Inputs:{env: Envclaimant: Address}* Instructions:${ id: 79, instruction: evaluate, input: (claimant.require_auth), 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: 89, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_83.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_80, scope: 0 }{ id: 90, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_80.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 }{ id: 102, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_92, scope: 0 }{ id: 103, instruction: evaluate, input: (!, UNARY_ARGUMENT_92), assign: CONDITIONAL_JUMP_ASSIGNMENT_91, scope: 0 }{ id: 105, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_91, 104), scope: 0 }{ id: 106, instruction: exit_with_message, input: (\"time predicate is not fulfilled\"), scope: 104 }{ id: 118, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_113, scope: 0 }{ id: 119, instruction: evaluate, input: (!, UNARY_ARGUMENT_113), assign: CONDITIONAL_JUMP_ASSIGNMENT_112, scope: 0 }{ id: 121, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_112, 120), scope: 0 }{ id: 122, instruction: exit_with_message, input: (\"claimant is not allowed to claim this balance\"), scope: 120 }{ id: 145, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_135, scope: 0 }{ id: 127, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_124, scope: 0 }{ id: 146, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_135.transfer, METHOD_CALL_ARG_1_124, claimant, claimable_balance.amount), scope: 0 }{ id: 153, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_150, scope: 0 }{ id: 154, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_150.instance), assign: METHOD_CALL_EXPRESSION_149, scope: 0 }{ id: 155, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_149.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: 13, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_10, 12), scope: 0 }{ id: 24, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_5, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_23, 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: 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.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: 17, instruction: evaluate, input: (is_initialized, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_12, scope: 0 }{ id: 19, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_12, 18), scope: 0 }{ id: 20, instruction: exit_with_message, input: (\"contract has been already initialized\"), scope: 18 }{ id: 24, instruction: evaluate, input: (from.require_auth), scope: 0 }{ id: 40, instruction: evaluate, input: (token::Client::new, env, token), assign: METHOD_CALL_EXPRESSION_33, scope: 0 }{ id: 30, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_2_27, scope: 0 }{ id: 41, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_33.transfer, from, METHOD_CALL_ARG_2_27, amount), scope: 0 }{ id: 55, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_52, scope: 0 }{ id: 56, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_52.instance), assign: METHOD_CALL_EXPRESSION_51, scope: 0 }{ id: 49, instruction: instantiate_object, input: (UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_44, scope: 0 }{ id: 57, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_51.set, DataKey::Balance, METHOD_CALL_ARG_2_44), scope: 0 }{ id: 67, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_64, scope: 0 }{ id: 68, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_64.instance), assign: METHOD_CALL_EXPRESSION_63, scope: 0 }{ id: 61, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_60, scope: 0 }{ id: 69, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_63.set, DataKey::Init, METHOD_CALL_ARG_2_60), scope: 0 }$-() [claim]* Inputs:{env: Envclaimant: Address}* Instructions:${ id: 72, instruction: evaluate, input: (claimant.require_auth), scope: 0 }{ id: 80, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_77, scope: 0 }{ id: 81, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_77.instance), assign: METHOD_CALL_EXPRESSION_76, scope: 0 }{ id: 82, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_76.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_73, scope: 0 }{ id: 83, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_73.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 }{ id: 95, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_85, scope: 0 }{ id: 96, instruction: evaluate, input: (!, UNARY_ARGUMENT_85), assign: CONDITIONAL_JUMP_ASSIGNMENT_84, scope: 0 }{ id: 98, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_84, 97), scope: 0 }{ id: 99, instruction: exit_with_message, input: (\"time predicate is not fulfilled\"), scope: 97 }{ id: 111, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_106, scope: 0 }{ id: 112, instruction: evaluate, input: (!, UNARY_ARGUMENT_106), assign: CONDITIONAL_JUMP_ASSIGNMENT_105, scope: 0 }{ id: 114, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_105, 113), scope: 0 }{ id: 115, instruction: exit_with_message, input: (\"claimant is not allowed to claim this balance\"), scope: 113 }{ id: 138, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_128, scope: 0 }{ id: 120, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_117, scope: 0 }{ id: 139, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_128.transfer, METHOD_CALL_ARG_1_117, claimant, claimable_balance.amount), scope: 0 }{ id: 146, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_143, scope: 0 }{ id: 147, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_143.instance), assign: METHOD_CALL_EXPRESSION_142, scope: 0 }{ id: 148, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_142.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: 13, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_10, 12), scope: 0 }{ id: 24, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_5, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_23, 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: 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.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: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e31a0 - core::panicking::assert_failed::hc47178b1cef2029f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d213730 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5c695d214295 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_timelock::h6ea03f518413fbc0 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5c695d2142d7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_timelock::{{closure}}::h7c27e7d32ab8b394 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5c695d1c9f36 - core::ops::function::FnOnce::call_once::h3986e5eafc699ce4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x758d8ce73aa4 - [INFO] [stdout] 46: 0x758d8cf00a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_token stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_token' (97) panicked at src/tests.rs:14:39: [INFO] [stdout] Something went wrong reading the file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46b096 - core::result::unwrap_failed::h3188dfca3824df71 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/result.rs:1852:5 [INFO] [stdout] 20: 0x5c695d1ea5bc - core::result::Result::expect::hdedbafb5751a20b3 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/result.rs:1175:23 [INFO] [stdout] 21: 0x5c695d213142 - rust_to_dtr::tests::full_contract_tests::read_file_content::h36a45961ea850e5f [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:14:39 [INFO] [stdout] 22: 0x5c695d213249 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:18:33 [INFO] [stdout] 23: 0x5c695d213c05 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_token::hdca887083357c674 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 24: 0x5c695d213c47 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_token::{{closure}}::h19198fac320cbf1c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 25: 0x5c695d1cacc6 - core::ops::function::FnOnce::call_once::h6f911b7d7b1da900 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 45: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 46: 0x758d8ce73aa4 - [INFO] [stdout] 47: 0x758d8cf00a34 - clone [INFO] [stdout] 48: 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: 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::Owner), assign: CONDITIONAL_JUMP_ASSIGNMENT_1, scope: 0 } [INFO] [stdout] { id: 12, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_1, 11), scope: 0 } [INFO] [stdout] { id: 13, instruction: exit_with_message, input: ("owner is already set"), scope: 11 } [INFO] [stdout] { id: 74, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_71, scope: 0 } [INFO] [stdout] { id: 75, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_71.instance), assign: METHOD_CALL_EXPRESSION_70, scope: 0 } [INFO] [stdout] { id: 76, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_70.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: 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.get, DataKey::Owner), assign: METHOD_CALL_EXPRESSION_1, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_1.unwrap), assign: public_key|||ByteStringSmall, scope: 0 } [INFO] [stdout] { id: 23, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_20, scope: 0 } [INFO] [stdout] { id: 17, instruction: evaluate, input: (signature_payload.into), assign: METHOD_CALL_ARG_2_14, scope: 0 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.ed25519_verify, public_key, METHOD_CALL_ARG_2_14, 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' (94) 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: 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::Owner), assign: CONDITIONAL_JUMP_ASSIGNMENT_1, scope: 0 }{ id: 12, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_1, 11), scope: 0 }{ id: 13, instruction: exit_with_message, input: (\"owner is already set\"), scope: 11 }{ id: 74, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_71, scope: 0 }{ id: 75, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_71.instance), assign: METHOD_CALL_EXPRESSION_70, scope: 0 }{ id: 76, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_70.set, DataKey::Owner, public_key), scope: 0 }$-() [__check_auth]* Inputs:{env: Envsignature_payload: ByteStringSmallsignature: ByteStringLarge_auth_context: List}* 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.get, DataKey::Owner), assign: METHOD_CALL_EXPRESSION_1, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_1.unwrap), assign: public_key|||ByteStringSmall, scope: 0 }{ id: 23, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_20, scope: 0 }{ id: 17, instruction: evaluate, input: (signature_payload.into), assign: METHOD_CALL_ARG_2_14, scope: 0 }{ id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.ed25519_verify, public_key, METHOD_CALL_ARG_2_14, 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: 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::Owner), assign: CONDITIONAL_JUMP_ASSIGNMENT_1, scope: 0 }{ id: 12, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_1, 11), scope: 0 }{ id: 13, instruction: exit_with_message, input: (\"owner is already set\"), scope: 11 }{ id: 23, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_20, scope: 0 }{ id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.instance), assign: METHOD_CALL_EXPRESSION_19, scope: 0 }{ id: 25, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.set, DataKey::Owner, public_key), scope: 0 }$-() [__check_auth]* Inputs:{env: Envsignature_payload: ByteStringSmallsignature: ByteStringLarge_auth_context: List}* 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.get, DataKey::Owner), assign: METHOD_CALL_EXPRESSION_1, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_1.unwrap), assign: public_key|||ByteStringSmall, scope: 0 }{ id: 23, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_20, scope: 0 }{ id: 17, instruction: evaluate, input: (signature_payload.into), assign: METHOD_CALL_ARG_2_14, scope: 0 }{ id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.ed25519_verify, public_key, METHOD_CALL_ARG_2_14, signature), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Owner: ()}:[User Defined Types]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e31a0 - core::panicking::assert_failed::hc47178b1cef2029f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d213730 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5c695d214dd5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_simple_account::hd7eaa1fca6601d2f [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5c695d214e17 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_simple_account::{{closure}}::h5907279e65a7b23c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5c695d1cc806 - core::ops::function::FnOnce::call_once::hfb4f6f0c532619d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x758d8ce73aa4 - [INFO] [stdout] 46: 0x758d8cf00a34 - 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: 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.set, DataKey::MyKey, 0), 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.instance), assign: METHOD_CALL_EXPRESSION_15, scope: 0 } [INFO] [stdout] { id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.set, DataKey::MyKey, 1), scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_27, scope: 0 } [INFO] [stdout] { id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_27.temporary), assign: METHOD_CALL_EXPRESSION_26, scope: 0 } [INFO] [stdout] { id: 32, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_26.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: 11, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_8, scope: 0 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.persistent), assign: METHOD_CALL_EXPRESSION_7, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.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: 22, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_19, scope: 0 } [INFO] [stdout] { id: 23, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.instance), assign: METHOD_CALL_EXPRESSION_18, scope: 0 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_18.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: 35, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_32, scope: 0 } [INFO] [stdout] { id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_32.temporary), assign: METHOD_CALL_EXPRESSION_31, scope: 0 } [INFO] [stdout] { id: 37, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.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' (98) 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: 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.set, DataKey::MyKey, 0), 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.instance), assign: METHOD_CALL_EXPRESSION_15, scope: 0 }{ id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.set, DataKey::MyKey, 1), scope: 0 }{ id: 30, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_27, scope: 0 }{ id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_27.temporary), assign: METHOD_CALL_EXPRESSION_26, scope: 0 }{ id: 32, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_26.set, DataKey::MyKey, 2), scope: 0 }$-() [extend_persistent]* Inputs:{env: Env}* Instructions:${ id: 11, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_8, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.persistent), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.extend_ttl, DataKey::MyKey, 1000, 5000), scope: 0 }$-() [extend_instance]* Inputs:{env: Env}* Instructions:${ id: 22, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_19, scope: 0 }{ id: 23, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.instance), assign: METHOD_CALL_EXPRESSION_18, scope: 0 }{ id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_18.extend_ttl, 2000, 10000), scope: 0 }$-() [extend_temporary]* Inputs:{env: Env}* Instructions:${ id: 35, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_32, scope: 0 }{ id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_32.temporary), assign: METHOD_CALL_EXPRESSION_31, scope: 0 }{ id: 37, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.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: 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.set, DataKey::MyKey, 0), 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.instance), assign: METHOD_CALL_EXPRESSION_15, scope: 0 }{ id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.set, DataKey::MyKey, 1), scope: 0 }{ id: 30, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_27, scope: 0 }{ id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_27.temporary), assign: METHOD_CALL_EXPRESSION_26, scope: 0 }{ id: 32, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_26.set, DataKey::MyKey, 2), scope: 0 }$-() [extend_persistent]* Inputs:{env: Env}* Instructions:${ id: 43, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_40, scope: 0 }{ id: 44, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_40.persistent), assign: METHOD_CALL_EXPRESSION_39, scope: 0 }{ id: 45, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_39.extend_ttl, DataKey::MyKey, 1000, 5000), scope: 0 }$-() [extend_instance]* Inputs:{env: Env}* 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.extend_ttl, 2000, 10000), scope: 0 }$-() [extend_temporary]* Inputs:{env: Env}* Instructions:${ id: 67, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_64, scope: 0 }{ id: 68, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_64.temporary), assign: METHOD_CALL_EXPRESSION_63, scope: 0 }{ id: 69, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_63.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: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e31a0 - core::panicking::assert_failed::hc47178b1cef2029f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d213730 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5c695d213935 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_ttl::h6041efeebfc40abb [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5c695d213977 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_ttl::{{closure}}::h11d2b10965172da4 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5c695d1c9f76 - core::ops::function::FnOnce::call_once::h3aa7ea5dcc864d51 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x758d8ce73aa4 - [INFO] [stdout] 46: 0x758d8cf00a34 - clone [INFO] [stdout] 47: 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: 23, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_20, scope: 8 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.instance), assign: METHOD_CALL_EXPRESSION_19, scope: 8 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (DataKey::Signer, signer), assign: METHOD_CALL_ARG_1_10, scope: 8 } [INFO] [stdout] { id: 17, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_16, scope: 8 } [INFO] [stdout] { id: 25, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.set, METHOD_CALL_ARG_1_10, METHOD_CALL_ARG_2_16), scope: 8 } [INFO] [stdout] { id: 26, instruction: increment, input: (signer), scope: 8 } [INFO] [stdout] { id: 27, instruction: goto, input: (7), scope: 8 } [INFO] [stdout] { id: 38, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_35, scope: 0 } [INFO] [stdout] { id: 39, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_35.instance), assign: METHOD_CALL_EXPRESSION_34, scope: 0 } [INFO] [stdout] { id: 33, instruction: evaluate, input: (signers.len), assign: METHOD_CALL_ARG_2_30, scope: 0 } [INFO] [stdout] { id: 40, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_34.set, DataKey::SignerCnt, METHOD_CALL_ARG_2_30), 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: 3, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_EXPRESSION_0, scope: 0 } [INFO] [stdout] { id: 4, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.require_auth), scope: 0 } [INFO] [stdout] { id: 26, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_21, scope: 0 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_21.instance), assign: METHOD_CALL_EXPRESSION_20, scope: 0 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (DataKey::SpendLimit, token), assign: METHOD_CALL_ARG_1_6, scope: 0 } [INFO] [stdout] { id: 29, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.set, METHOD_CALL_ARG_1_6, 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: 76, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_73, scope: 12 } [INFO] [stdout] { id: 77, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_73.instance), assign: METHOD_CALL_EXPRESSION_72, scope: 12 } [INFO] [stdout] { id: 68, instruction: evaluate, input: (signature.public_key.clone), assign: CALL_EXPRESSION_ARG_1_62, scope: 12 } [INFO] [stdout] { id: 71, instruction: evaluate, input: (DataKey::Signer, CALL_EXPRESSION_ARG_1_62), assign: METHOD_CALL_ARG_1_61, scope: 12 } [INFO] [stdout] { id: 78, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_72.has, METHOD_CALL_ARG_1_61), assign: UNARY_ARGUMENT_60, scope: 12 } [INFO] [stdout] { id: 79, instruction: evaluate, input: (!, UNARY_ARGUMENT_60), assign: CONDITIONAL_JUMP_ASSIGNMENT_59, scope: 12 } [INFO] [stdout] { id: 81, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_59, 80), scope: 12 } [INFO] [stdout] { id: 87, instruction: evaluate, input: (Err, AccError::UnknownSigner), assign: RETURN_VALUE_LABEL_82, scope: 80 } [INFO] [stdout] { id: 88, instruction: return, input: (RETURN_VALUE_LABEL_82), scope: 80 } [INFO] [stdout] { id: 109, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_106, scope: 12 } [INFO] [stdout] { id: 99, instruction: evaluate, input: (signature_payload.clone), assign: METHOD_CALL_EXPRESSION_96, scope: 12 } [INFO] [stdout] { id: 100, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_96.into), assign: METHOD_CALL_ARG_2_95, scope: 12 } [INFO] [stdout] { id: 110, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_106.ed25519_verify, signature.public_key, METHOD_CALL_ARG_2_95, signature.signature), assign: Thing_to_return, scope: 12 } [INFO] [stdout] { id: 111, instruction: increment, input: (i), scope: 12 } [INFO] [stdout] { id: 112, instruction: goto, input: (11), scope: 12 } [INFO] [stdout] { id: 114, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_113, scope: 0 } [INFO] [stdout] { id: 118, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_113), 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: 5, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_2, 4), scope: 0 } [INFO] [stdout] { id: 35, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, Context::CreateContractHostFn(_)), assign: CONDITIONAL_JUMP_CHECK_34, scope: 0 } [INFO] [stdout] { id: 37, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_34, 36), scope: 0 } [INFO] [stdout] { id: 14, instruction: evaluate, input: (equal_to, c.contract, curr_contract), assign: CONDITIONAL_JUMP_ASSIGNMENT_6, scope: 4 } [INFO] [stdout] { id: 16, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_6, 15), scope: 4 } [INFO] [stdout] { id: 20, instruction: evaluate, input: (!, all_signed), assign: CONDITIONAL_JUMP_ASSIGNMENT_17, scope: 15 } [INFO] [stdout] { id: 22, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_17, 21), scope: 15 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_23, scope: 21 } [INFO] [stdout] { id: 29, instruction: return, input: (RETURN_VALUE_LABEL_23), scope: 21 } [INFO] [stdout] { id: 30, instruction: jump, input: (15), scope: 21 } [INFO] [stdout] { id: 31, instruction: jump, input: (4), scope: 15 } [INFO] [stdout] { id: 33, instruction: jump, input: (0), scope: 4 } [INFO] [stdout] { id: 17, instruction: evaluate, input: (Err, AccError::InvalidContext), assign: RETURN_VALUE_LABEL_38, scope: 36 } [INFO] [stdout] { id: 19, instruction: return, input: (RETURN_VALUE_LABEL_38), scope: 36 } [INFO] [stdout] { id: 50, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, TRANSFER_FN), assign: BINARY_EXPRESSION_LEFT_33, scope: 0 } [INFO] [stdout] { id: 67, instruction: evaluate, input: (Symbol::new, env, "approve"), assign: BINARY_EXPRESSION_RIGHT_53, scope: 0 } [INFO] [stdout] { id: 68, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, BINARY_EXPRESSION_RIGHT_53), assign: BINARY_EXPRESSION_RIGHT_34, scope: 0 } [INFO] [stdout] { id: 69, instruction: and, input: (BINARY_EXPRESSION_LEFT_33, BINARY_EXPRESSION_RIGHT_34), assign: CONDITIONAL_JUMP_ASSIGNMENT_32, scope: 0 } [INFO] [stdout] { id: 71, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_32, 70), scope: 0 } [INFO] [stdout] { id: 74, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_73, scope: 70 } [INFO] [stdout] { id: 78, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_73), assign: RETURN_VALUE_LABEL_72, scope: 70 } [INFO] [stdout] { id: 79, instruction: return, input: (RETURN_VALUE_LABEL_72), scope: 70 } [INFO] [stdout] { id: 105, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_99, scope: 0 } [INFO] [stdout] { id: 108, instruction: evaluate, input: (spend_left_per_token.get, METHOD_CALL_ARG_1_99), assign: INPUT_VALUE_NAME_FOR_LET_98, scope: 0 } [INFO] [stdout] { id: 109, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_98, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_97, scope: 0 } [INFO] [stdout] { id: 111, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_97, 110), scope: 0 } [INFO] [stdout] { id: 119, instruction: jump, input: (118), scope: 0 } [INFO] [stdout] { id: 116, instruction: evaluate, input: (Some, spend_left), assign: spend_left|||Option, scope: 110 } [INFO] [stdout] { id: 117, instruction: jump, input: (0), scope: 110 } [INFO] [stdout] { id: 137, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_134, scope: 118 } [INFO] [stdout] { id: 138, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_134.instance), assign: METHOD_CALL_EXPRESSION_133, scope: 118 } [INFO] [stdout] { id: 129, instruction: evaluate, input: (contract_context.contract.clone), assign: CALL_EXPRESSION_ARG_1_123, scope: 118 } [INFO] [stdout] { id: 132, instruction: evaluate, input: (DataKey::SpendLimit, CALL_EXPRESSION_ARG_1_123), assign: METHOD_CALL_ARG_1_122, scope: 118 } [INFO] [stdout] { id: 139, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_133.get, METHOD_CALL_ARG_1_122), assign: INPUT_VALUE_NAME_FOR_LET_121, scope: 118 } [INFO] [stdout] { id: 140, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_121, Some(limit_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_120, scope: 118 } [INFO] [stdout] { id: 142, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_120, 141), scope: 118 } [INFO] [stdout] { id: 150, instruction: jump, input: (149), scope: 118 } [INFO] [stdout] { id: 147, instruction: evaluate, input: (Some, limit_left), assign: spend_left|||Option, scope: 141 } [INFO] [stdout] { id: 148, instruction: jump, input: (118), scope: 141 } [INFO] [stdout] { id: 151, instruction: assign, input: (None), assign: spend_left|||Option, scope: 149 } [INFO] [stdout] { id: 152, instruction: jump, input: (118), scope: 149 } [INFO] [stdout] { id: 153, instruction: jump, input: (0), scope: 118 } [INFO] [stdout] { id: 157, instruction: try_assign, input: (spend_left, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_154, scope: 0 } [INFO] [stdout] { id: 159, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_154, 158), scope: 0 } [INFO] [stdout] { id: 172, instruction: evaluate, input: (contract_context.args.get, 2), assign: METHOD_CALL_EXPRESSION_164, scope: 158 } [INFO] [stdout] { id: 173, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_164.unwrap), assign: METHOD_CALL_EXPRESSION_163, scope: 158 } [INFO] [stdout] { id: 174, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_163.try_into_val, env), assign: METHOD_CALL_EXPRESSION_160, scope: 158 } [INFO] [stdout] { id: 175, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_160.unwrap), assign: spent|||BigInteger, scope: 158 } [INFO] [stdout] { id: 181, instruction: evaluate, input: (less_than, spent, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_176, scope: 158 } [INFO] [stdout] { id: 183, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_176, 182), scope: 158 } [INFO] [stdout] { id: 189, instruction: evaluate, input: (Err, AccError::NegativeAmount), assign: RETURN_VALUE_LABEL_184, scope: 182 } [INFO] [stdout] { id: 0, instruction: return, input: (RETURN_VALUE_LABEL_184), scope: 182 } [INFO] [stdout] { id: 1, instruction: jump, input: (158), scope: 182 } [INFO] [stdout] { id: 7, instruction: evaluate, input: (!, all_signed), assign: BINARY_EXPRESSION_LEFT_3, scope: 158 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (greater_than, spent, spend_left), assign: BINARY_EXPRESSION_RIGHT_4, scope: 158 } [INFO] [stdout] { id: 13, instruction: and, input: (BINARY_EXPRESSION_LEFT_3, BINARY_EXPRESSION_RIGHT_4), assign: CONDITIONAL_JUMP_ASSIGNMENT_2, scope: 158 } [INFO] [stdout] { id: 15, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_2, 14), scope: 158 } [INFO] [stdout] { id: 21, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_16, scope: 14 } [INFO] [stdout] { id: 22, instruction: return, input: (RETURN_VALUE_LABEL_16), scope: 14 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_24, scope: 158 } [INFO] [stdout] { id: 36, instruction: subtract, input: (spend_left, spent), assign: METHOD_CALL_ARG_2_31, scope: 158 } [INFO] [stdout] { id: 39, instruction: evaluate, input: (spend_left_per_token.set, METHOD_CALL_ARG_1_24, METHOD_CALL_ARG_2_31), assign: Thing_to_return, scope: 158 } [INFO] [stdout] { id: 40, instruction: jump, input: (0), scope: 158 } [INFO] [stdout] { id: 42, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_41, scope: 0 } [INFO] [stdout] { id: 46, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_41), 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: 9, instruction: evaluate, input: (authenticate, env, signature_payload, signatures), scope: 0 } [INFO] [stdout] { id: 17, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_14, scope: 0 } [INFO] [stdout] { id: 18, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_14.instance), assign: METHOD_CALL_EXPRESSION_13, scope: 0 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.get, DataKey::SignerCnt), assign: METHOD_CALL_EXPRESSION_10, scope: 0 } [INFO] [stdout] { id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.unwrap), assign: tot_signers|||Integer, scope: 0 } [INFO] [stdout] { id: 26, instruction: evaluate, input: (signatures.len), assign: BINARY_EXPRESSION_RIGHT_22, scope: 0 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (equal_to, tot_signers, BINARY_EXPRESSION_RIGHT_22), assign: all_signed, scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (env.current_contract_address), assign: curr_contract, scope: 0 } [INFO] [stdout] { id: 35, instruction: evaluate, input: (Map::new, env), assign: spend_left_per_token, scope: 0 } [INFO] [stdout] { id: 40, instruction: evaluate, input: (auth_context.iter), assign: ITERATOR_36, scope: 0 } [INFO] [stdout] { id: 41, instruction: evaluate, input: (start, ITERATOR_36), assign: context, scope: 0 } [INFO] [stdout] { id: 42, instruction: end_of_iteration_check, input: (context, ITERATOR_36), assign: CHECK_CONDITION_ASSIGNMENT_37, scope: 0 } [INFO] [stdout] { id: 44, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_37, 43), scope: 0 } [INFO] [stdout] { id: 57, instruction: evaluate, input: (verify_authorization_policy, env, context, curr_contract, all_signed, spend_left_per_token), assign: Thing_to_return, scope: 43 } [INFO] [stdout] { id: 58, instruction: increment, input: (context), scope: 43 } [INFO] [stdout] { id: 59, instruction: goto, input: (42), scope: 43 } [INFO] [stdout] { id: 61, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_60, scope: 0 } [INFO] [stdout] { id: 65, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_60), 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' (74) 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: 23, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_20, scope: 8 }{ id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.instance), assign: METHOD_CALL_EXPRESSION_19, scope: 8 }{ id: 15, instruction: evaluate, input: (DataKey::Signer, signer), assign: METHOD_CALL_ARG_1_10, scope: 8 }{ id: 17, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_16, scope: 8 }{ id: 25, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.set, METHOD_CALL_ARG_1_10, METHOD_CALL_ARG_2_16), scope: 8 }{ id: 26, instruction: increment, input: (signer), scope: 8 }{ id: 27, instruction: goto, input: (7), scope: 8 }{ id: 38, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_35, scope: 0 }{ id: 39, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_35.instance), assign: METHOD_CALL_EXPRESSION_34, scope: 0 }{ id: 33, instruction: evaluate, input: (signers.len), assign: METHOD_CALL_ARG_2_30, scope: 0 }{ id: 40, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_34.set, DataKey::SignerCnt, METHOD_CALL_ARG_2_30), scope: 0 }$-() [add_limit]* Inputs:{env: Envtoken: Addresslimit: BigInteger}* Instructions:${ id: 3, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_EXPRESSION_0, scope: 0 }{ id: 4, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.require_auth), scope: 0 }{ id: 26, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_21, scope: 0 }{ id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_21.instance), assign: METHOD_CALL_EXPRESSION_20, scope: 0 }{ id: 15, instruction: evaluate, input: (DataKey::SpendLimit, token), assign: METHOD_CALL_ARG_1_6, scope: 0 }{ id: 29, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.set, METHOD_CALL_ARG_1_6, 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: 76, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_73, scope: 12 }{ id: 77, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_73.instance), assign: METHOD_CALL_EXPRESSION_72, scope: 12 }{ id: 68, instruction: evaluate, input: (signature.public_key.clone), assign: CALL_EXPRESSION_ARG_1_62, scope: 12 }{ id: 71, instruction: evaluate, input: (DataKey::Signer, CALL_EXPRESSION_ARG_1_62), assign: METHOD_CALL_ARG_1_61, scope: 12 }{ id: 78, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_72.has, METHOD_CALL_ARG_1_61), assign: UNARY_ARGUMENT_60, scope: 12 }{ id: 79, instruction: evaluate, input: (!, UNARY_ARGUMENT_60), assign: CONDITIONAL_JUMP_ASSIGNMENT_59, scope: 12 }{ id: 81, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_59, 80), scope: 12 }{ id: 87, instruction: evaluate, input: (Err, AccError::UnknownSigner), assign: RETURN_VALUE_LABEL_82, scope: 80 }{ id: 88, instruction: return, input: (RETURN_VALUE_LABEL_82), scope: 80 }{ id: 109, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_106, scope: 12 }{ id: 99, instruction: evaluate, input: (signature_payload.clone), assign: METHOD_CALL_EXPRESSION_96, scope: 12 }{ id: 100, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_96.into), assign: METHOD_CALL_ARG_2_95, scope: 12 }{ id: 110, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_106.ed25519_verify, signature.public_key, METHOD_CALL_ARG_2_95, signature.signature), assign: Thing_to_return, scope: 12 }{ id: 111, instruction: increment, input: (i), scope: 12 }{ id: 112, instruction: goto, input: (11), scope: 12 }{ id: 114, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_113, scope: 0 }{ id: 118, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_113), 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: 5, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_2, 4), scope: 0 }{ id: 35, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, Context::CreateContractHostFn(_)), assign: CONDITIONAL_JUMP_CHECK_34, scope: 0 }{ id: 37, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_34, 36), scope: 0 }{ id: 14, instruction: evaluate, input: (equal_to, c.contract, curr_contract), assign: CONDITIONAL_JUMP_ASSIGNMENT_6, scope: 4 }{ id: 16, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_6, 15), scope: 4 }{ id: 20, instruction: evaluate, input: (!, all_signed), assign: CONDITIONAL_JUMP_ASSIGNMENT_17, scope: 15 }{ id: 22, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_17, 21), scope: 15 }{ id: 28, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_23, scope: 21 }{ id: 29, instruction: return, input: (RETURN_VALUE_LABEL_23), scope: 21 }{ id: 30, instruction: jump, input: (15), scope: 21 }{ id: 31, instruction: jump, input: (4), scope: 15 }{ id: 33, instruction: jump, input: (0), scope: 4 }{ id: 17, instruction: evaluate, input: (Err, AccError::InvalidContext), assign: RETURN_VALUE_LABEL_38, scope: 36 }{ id: 19, instruction: return, input: (RETURN_VALUE_LABEL_38), scope: 36 }{ id: 50, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, TRANSFER_FN), assign: BINARY_EXPRESSION_LEFT_33, scope: 0 }{ id: 67, instruction: evaluate, input: (Symbol::new, env, \"approve\"), assign: BINARY_EXPRESSION_RIGHT_53, scope: 0 }{ id: 68, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, BINARY_EXPRESSION_RIGHT_53), assign: BINARY_EXPRESSION_RIGHT_34, scope: 0 }{ id: 69, instruction: and, input: (BINARY_EXPRESSION_LEFT_33, BINARY_EXPRESSION_RIGHT_34), assign: CONDITIONAL_JUMP_ASSIGNMENT_32, scope: 0 }{ id: 71, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_32, 70), scope: 0 }{ id: 74, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_73, scope: 70 }{ id: 78, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_73), assign: RETURN_VALUE_LABEL_72, scope: 70 }{ id: 79, instruction: return, input: (RETURN_VALUE_LABEL_72), scope: 70 }{ id: 105, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_99, scope: 0 }{ id: 108, instruction: evaluate, input: (spend_left_per_token.get, METHOD_CALL_ARG_1_99), assign: INPUT_VALUE_NAME_FOR_LET_98, scope: 0 }{ id: 109, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_98, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_97, scope: 0 }{ id: 111, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_97, 110), scope: 0 }{ id: 119, instruction: jump, input: (118), scope: 0 }{ id: 116, instruction: evaluate, input: (Some, spend_left), assign: spend_left|||Option, scope: 110 }{ id: 117, instruction: jump, input: (0), scope: 110 }{ id: 137, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_134, scope: 118 }{ id: 138, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_134.instance), assign: METHOD_CALL_EXPRESSION_133, scope: 118 }{ id: 129, instruction: evaluate, input: (contract_context.contract.clone), assign: CALL_EXPRESSION_ARG_1_123, scope: 118 }{ id: 132, instruction: evaluate, input: (DataKey::SpendLimit, CALL_EXPRESSION_ARG_1_123), assign: METHOD_CALL_ARG_1_122, scope: 118 }{ id: 139, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_133.get, METHOD_CALL_ARG_1_122), assign: INPUT_VALUE_NAME_FOR_LET_121, scope: 118 }{ id: 140, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_121, Some(limit_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_120, scope: 118 }{ id: 142, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_120, 141), scope: 118 }{ id: 150, instruction: jump, input: (149), scope: 118 }{ id: 147, instruction: evaluate, input: (Some, limit_left), assign: spend_left|||Option, scope: 141 }{ id: 148, instruction: jump, input: (118), scope: 141 }{ id: 151, instruction: assign, input: (None), assign: spend_left|||Option, scope: 149 }{ id: 152, instruction: jump, input: (118), scope: 149 }{ id: 153, instruction: jump, input: (0), scope: 118 }{ id: 157, instruction: try_assign, input: (spend_left, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_154, scope: 0 }{ id: 159, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_154, 158), scope: 0 }{ id: 172, instruction: evaluate, input: (contract_context.args.get, 2), assign: METHOD_CALL_EXPRESSION_164, scope: 158 }{ id: 173, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_164.unwrap), assign: METHOD_CALL_EXPRESSION_163, scope: 158 }{ id: 174, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_163.try_into_val, env), assign: METHOD_CALL_EXPRESSION_160, scope: 158 }{ id: 175, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_160.unwrap), assign: spent|||BigInteger, scope: 158 }{ id: 181, instruction: evaluate, input: (less_than, spent, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_176, scope: 158 }{ id: 183, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_176, 182), scope: 158 }{ id: 189, instruction: evaluate, input: (Err, AccError::NegativeAmount), assign: RETURN_VALUE_LABEL_184, scope: 182 }{ id: 0, instruction: return, input: (RETURN_VALUE_LABEL_184), scope: 182 }{ id: 1, instruction: jump, input: (158), scope: 182 }{ id: 7, instruction: evaluate, input: (!, all_signed), assign: BINARY_EXPRESSION_LEFT_3, scope: 158 }{ id: 12, instruction: evaluate, input: (greater_than, spent, spend_left), assign: BINARY_EXPRESSION_RIGHT_4, scope: 158 }{ id: 13, instruction: and, input: (BINARY_EXPRESSION_LEFT_3, BINARY_EXPRESSION_RIGHT_4), assign: CONDITIONAL_JUMP_ASSIGNMENT_2, scope: 158 }{ id: 15, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_2, 14), scope: 158 }{ id: 21, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_16, scope: 14 }{ id: 22, instruction: return, input: (RETURN_VALUE_LABEL_16), scope: 14 }{ id: 30, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_24, scope: 158 }{ id: 36, instruction: subtract, input: (spend_left, spent), assign: METHOD_CALL_ARG_2_31, scope: 158 }{ id: 39, instruction: evaluate, input: (spend_left_per_token.set, METHOD_CALL_ARG_1_24, METHOD_CALL_ARG_2_31), assign: Thing_to_return, scope: 158 }{ id: 40, instruction: jump, input: (0), scope: 158 }{ id: 42, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_41, scope: 0 }{ id: 46, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_41), 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: 9, instruction: evaluate, input: (authenticate, env, signature_payload, signatures), scope: 0 }{ id: 17, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_14, scope: 0 }{ id: 18, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_14.instance), assign: METHOD_CALL_EXPRESSION_13, scope: 0 }{ id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.get, DataKey::SignerCnt), assign: METHOD_CALL_EXPRESSION_10, scope: 0 }{ id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.unwrap), assign: tot_signers|||Integer, scope: 0 }{ id: 26, instruction: evaluate, input: (signatures.len), assign: BINARY_EXPRESSION_RIGHT_22, scope: 0 }{ id: 27, instruction: evaluate, input: (equal_to, tot_signers, BINARY_EXPRESSION_RIGHT_22), assign: all_signed, scope: 0 }{ id: 30, instruction: evaluate, input: (env.current_contract_address), assign: curr_contract, scope: 0 }{ id: 35, instruction: evaluate, input: (Map::new, env), assign: spend_left_per_token, scope: 0 }{ id: 40, instruction: evaluate, input: (auth_context.iter), assign: ITERATOR_36, scope: 0 }{ id: 41, instruction: evaluate, input: (start, ITERATOR_36), assign: context, scope: 0 }{ id: 42, instruction: end_of_iteration_check, input: (context, ITERATOR_36), assign: CHECK_CONDITION_ASSIGNMENT_37, scope: 0 }{ id: 44, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_37, 43), scope: 0 }{ id: 57, instruction: evaluate, input: (verify_authorization_policy, env, context, curr_contract, all_signed, spend_left_per_token), assign: Thing_to_return, scope: 43 }{ id: 58, instruction: increment, input: (context), scope: 43 }{ id: 59, instruction: goto, input: (42), scope: 43 }{ id: 61, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_60, scope: 0 }{ id: 65, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_60), 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: 23, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_20, scope: 8 }{ id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.instance), assign: METHOD_CALL_EXPRESSION_19, scope: 8 }{ id: 15, instruction: evaluate, input: (DataKey::Signer, signer), assign: METHOD_CALL_ARG_1_10, scope: 8 }{ id: 17, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_16, scope: 8 }{ id: 25, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.set, METHOD_CALL_ARG_1_10, METHOD_CALL_ARG_2_16), scope: 8 }{ id: 26, instruction: increment, input: (signer), scope: 8 }{ id: 27, instruction: goto, input: (7), scope: 8 }{ id: 38, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_35, scope: 0 }{ id: 39, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_35.instance), assign: METHOD_CALL_EXPRESSION_34, scope: 0 }{ id: 33, instruction: evaluate, input: (signers.len), assign: METHOD_CALL_ARG_2_30, scope: 0 }{ id: 40, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_34.set, DataKey::SignerCnt, METHOD_CALL_ARG_2_30), scope: 0 }$-() [add_limit]* Inputs:{env: Envtoken: Addresslimit: BigInteger}* Instructions:${ id: 44, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_EXPRESSION_41, scope: 0 }{ id: 45, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.require_auth), scope: 0 }{ id: 58, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_55, scope: 0 }{ id: 59, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_55.instance), assign: METHOD_CALL_EXPRESSION_54, scope: 0 }{ id: 51, instruction: evaluate, input: (DataKey::SpendLimit, token), assign: METHOD_CALL_ARG_1_46, scope: 0 }{ id: 60, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_54.set, METHOD_CALL_ARG_1_46, 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: 76, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_73, scope: 12 }{ id: 77, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_73.instance), assign: METHOD_CALL_EXPRESSION_72, scope: 12 }{ id: 68, instruction: evaluate, input: (signature.public_key.clone), assign: CALL_EXPRESSION_ARG_1_62, scope: 12 }{ id: 71, instruction: evaluate, input: (DataKey::Signer, CALL_EXPRESSION_ARG_1_62), assign: METHOD_CALL_ARG_1_61, scope: 12 }{ id: 78, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_72.has, METHOD_CALL_ARG_1_61), assign: UNARY_ARGUMENT_60, scope: 12 }{ id: 79, instruction: evaluate, input: (!, UNARY_ARGUMENT_60), assign: CONDITIONAL_JUMP_ASSIGNMENT_59, scope: 12 }{ id: 81, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_59, 80), scope: 12 }{ id: 87, instruction: evaluate, input: (Err, AccError::UnknownSigner), assign: RETURN_VALUE_LABEL_82, scope: 80 }{ id: 88, instruction: return, input: (RETURN_VALUE_LABEL_82), scope: 80 }{ id: 109, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_106, scope: 12 }{ id: 99, instruction: evaluate, input: (signature_payload.clone), assign: METHOD_CALL_EXPRESSION_96, scope: 12 }{ id: 100, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_96.into), assign: METHOD_CALL_ARG_2_95, scope: 12 }{ id: 110, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_106.ed25519_verify, signature.public_key, METHOD_CALL_ARG_2_95, signature.signature), assign: Thing_to_return, scope: 12 }{ id: 111, instruction: increment, input: (i), scope: 12 }{ id: 112, instruction: goto, input: (11), scope: 12 }{ id: 114, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_113, scope: 0 }{ id: 118, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_113), 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: 5, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_2, 4), scope: 0 }{ id: 35, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, Context::CreateContractHostFn(_)), assign: CONDITIONAL_JUMP_CHECK_34, scope: 0 }{ id: 37, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_34, 36), scope: 0 }{ id: 14, instruction: evaluate, input: (equal_to, c.contract, curr_contract), assign: CONDITIONAL_JUMP_ASSIGNMENT_6, scope: 4 }{ id: 16, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_6, 15), scope: 4 }{ id: 20, instruction: evaluate, input: (!, all_signed), assign: CONDITIONAL_JUMP_ASSIGNMENT_17, scope: 15 }{ id: 22, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_17, 21), scope: 15 }{ id: 28, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_23, scope: 21 }{ id: 29, instruction: return, input: (RETURN_VALUE_LABEL_23), scope: 21 }{ id: 31, instruction: jump, input: (4), scope: 15 }{ id: 33, instruction: jump, input: (0), scope: 4 }{ id: 43, instruction: evaluate, input: (Err, AccError::InvalidContext), assign: RETURN_VALUE_LABEL_38, scope: 36 }{ id: 44, instruction: return, input: (RETURN_VALUE_LABEL_38), scope: 36 }{ id: 56, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, TRANSFER_FN), assign: BINARY_EXPRESSION_LEFT_47, scope: 0 }{ id: 69, instruction: evaluate, input: (Symbol::new, env, \"approve\"), assign: BINARY_EXPRESSION_RIGHT_58, scope: 0 }{ id: 70, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, BINARY_EXPRESSION_RIGHT_58), assign: BINARY_EXPRESSION_RIGHT_48, scope: 0 }{ id: 71, instruction: and, input: (BINARY_EXPRESSION_LEFT_47, BINARY_EXPRESSION_RIGHT_48), assign: CONDITIONAL_JUMP_ASSIGNMENT_46, scope: 0 }{ id: 73, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_46, 72), scope: 0 }{ id: 76, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_75, scope: 72 }{ id: 80, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_75), assign: RETURN_VALUE_LABEL_74, scope: 72 }{ id: 81, instruction: return, input: (RETURN_VALUE_LABEL_74), scope: 72 }{ id: 91, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_85, scope: 0 }{ id: 94, instruction: evaluate, input: (spend_left_per_token.get, METHOD_CALL_ARG_1_85), assign: INPUT_VALUE_NAME_FOR_LET_84, scope: 0 }{ id: 95, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_84, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_83, scope: 0 }{ id: 97, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_83, 96), scope: 0 }{ id: 105, instruction: jump, input: (104), scope: 0 }{ id: 102, instruction: evaluate, input: (Some, spend_left), assign: spend_left|||Option, scope: 96 }{ id: 103, instruction: jump, input: (0), scope: 96 }{ id: 123, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_120, scope: 104 }{ id: 124, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_120.instance), assign: METHOD_CALL_EXPRESSION_119, scope: 104 }{ id: 115, instruction: evaluate, input: (contract_context.contract.clone), assign: CALL_EXPRESSION_ARG_1_109, scope: 104 }{ id: 118, instruction: evaluate, input: (DataKey::SpendLimit, CALL_EXPRESSION_ARG_1_109), assign: METHOD_CALL_ARG_1_108, scope: 104 }{ id: 125, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_119.get, METHOD_CALL_ARG_1_108), assign: INPUT_VALUE_NAME_FOR_LET_107, scope: 104 }{ id: 126, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_107, Some(limit_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_106, scope: 104 }{ id: 128, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_106, 127), scope: 104 }{ id: 136, instruction: jump, input: (135), scope: 104 }{ id: 133, instruction: evaluate, input: (Some, limit_left), assign: spend_left|||Option, scope: 127 }{ id: 134, instruction: jump, input: (104), scope: 127 }{ id: 137, instruction: assign, input: (None), assign: spend_left|||Option, scope: 135 }{ id: 138, instruction: jump, input: (104), scope: 135 }{ id: 139, instruction: jump, input: (0), scope: 104 }{ id: 143, instruction: try_assign, input: (spend_left, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_140, scope: 0 }{ id: 145, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_140, 144), scope: 0 }{ id: 158, instruction: evaluate, input: (contract_context.args.get, 2), assign: METHOD_CALL_EXPRESSION_150, scope: 144 }{ id: 159, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_150.unwrap), assign: METHOD_CALL_EXPRESSION_149, scope: 144 }{ id: 160, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_149.try_into_val, env), assign: METHOD_CALL_EXPRESSION_146, scope: 144 }{ id: 161, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_146.unwrap), assign: spent|||BigInteger, scope: 144 }{ id: 167, instruction: evaluate, input: (less_than, spent, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_162, scope: 144 }{ id: 169, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_162, 168), scope: 144 }{ id: 175, instruction: evaluate, input: (Err, AccError::NegativeAmount), assign: RETURN_VALUE_LABEL_170, scope: 168 }{ id: 176, instruction: return, input: (RETURN_VALUE_LABEL_170), scope: 168 }{ id: 183, instruction: evaluate, input: (!, all_signed), assign: BINARY_EXPRESSION_LEFT_179, scope: 144 }{ id: 188, instruction: evaluate, input: (greater_than, spent, spend_left), assign: BINARY_EXPRESSION_RIGHT_180, scope: 144 }{ id: 189, instruction: and, input: (BINARY_EXPRESSION_LEFT_179, BINARY_EXPRESSION_RIGHT_180), assign: CONDITIONAL_JUMP_ASSIGNMENT_178, scope: 144 }{ id: 191, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_178, 190), scope: 144 }{ id: 197, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_192, scope: 190 }{ id: 198, instruction: return, input: (RETURN_VALUE_LABEL_192), scope: 190 }{ id: 206, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_200, scope: 144 }{ id: 212, instruction: subtract, input: (spend_left, spent), assign: METHOD_CALL_ARG_2_207, scope: 144 }{ id: 215, instruction: evaluate, input: (spend_left_per_token.set, METHOD_CALL_ARG_1_200, METHOD_CALL_ARG_2_207), assign: Thing_to_return, scope: 144 }{ id: 216, instruction: jump, input: (0), scope: 144 }{ id: 218, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_217, scope: 0 }{ id: 222, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_217), 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: 9, instruction: evaluate, input: (authenticate, env, signature_payload, signatures), scope: 0 }{ id: 17, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_14, scope: 0 }{ id: 18, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_14.instance), assign: METHOD_CALL_EXPRESSION_13, scope: 0 }{ id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.get, DataKey::SignerCnt), assign: METHOD_CALL_EXPRESSION_10, scope: 0 }{ id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.unwrap), assign: tot_signers|||Integer, scope: 0 }{ id: 26, instruction: evaluate, input: (signatures.len), assign: BINARY_EXPRESSION_RIGHT_22, scope: 0 }{ id: 27, instruction: evaluate, input: (equal_to, tot_signers, BINARY_EXPRESSION_RIGHT_22), assign: all_signed, scope: 0 }{ id: 30, instruction: evaluate, input: (env.current_contract_address), assign: curr_contract, scope: 0 }{ id: 35, instruction: evaluate, input: (Map::new, env), assign: spend_left_per_token, scope: 0 }{ id: 40, instruction: evaluate, input: (auth_context.iter), assign: ITERATOR_36, scope: 0 }{ id: 41, instruction: evaluate, input: (start, ITERATOR_36), assign: context, scope: 0 }{ id: 42, instruction: end_of_iteration_check, input: (context, ITERATOR_36), assign: CHECK_CONDITION_ASSIGNMENT_37, scope: 0 }{ id: 44, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_37, 43), scope: 0 }{ id: 57, instruction: evaluate, input: (verify_authorization_policy, env, context, curr_contract, all_signed, spend_left_per_token), assign: Thing_to_return, scope: 43 }{ id: 58, instruction: increment, input: (context), scope: 43 }{ id: 59, instruction: goto, input: (42), scope: 43 }{ id: 61, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_60, scope: 0 }{ id: 65, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_60), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Implementations]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e31a0 - core::panicking::assert_failed::hc47178b1cef2029f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d213730 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5c695d213ed5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_account::h27a5ed310e10fd2c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5c695d213f17 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_account::{{closure}}::hebb76b3e8e473b58 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5c695d1ca0f6 - core::ops::function::FnOnce::call_once::h3e2ed37d7563e05c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x758d8ce73aa4 - [INFO] [stdout] 46: 0x758d8cf00a34 - 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: 7, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 0 } [INFO] [stdout] { id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.instance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.has, DataKey::Admin), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 11, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 10), scope: 0 } [INFO] [stdout] { id: 17, instruction: evaluate, input: (Err, Error::AlreadyInitialized), assign: RETURN_VALUE_LABEL_12, scope: 10 } [INFO] [stdout] { id: 18, instruction: return, input: (RETURN_VALUE_LABEL_12), scope: 10 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_25, scope: 0 } [INFO] [stdout] { id: 29, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.instance), assign: METHOD_CALL_EXPRESSION_24, scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.set, DataKey::Admin, admin), scope: 0 } [INFO] [stdout] { id: 32, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_31, scope: 0 } [INFO] [stdout] { id: 36, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_31), 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: 7, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 0 } [INFO] [stdout] { id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.instance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.get, DataKey::Admin), assign: METHOD_CALL_EXPRESSION_0, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.unwrap), assign: admin|||Address, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (admin.require_auth), scope: 0 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (e.deployer), assign: METHOD_CALL_EXPRESSION_16, scope: 0 } [INFO] [stdout] { id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_16.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' (99) 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: 7, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.instance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.has, DataKey::Admin), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 11, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 10), scope: 0 }{ id: 17, instruction: evaluate, input: (Err, Error::AlreadyInitialized), assign: RETURN_VALUE_LABEL_12, scope: 10 }{ id: 18, instruction: return, input: (RETURN_VALUE_LABEL_12), scope: 10 }{ id: 28, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_25, scope: 0 }{ id: 29, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.instance), assign: METHOD_CALL_EXPRESSION_24, scope: 0 }{ id: 30, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.set, DataKey::Admin, admin), scope: 0 }{ id: 32, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_31, scope: 0 }{ id: 36, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_31), 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: 7, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.instance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.get, DataKey::Admin), assign: METHOD_CALL_EXPRESSION_0, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.unwrap), assign: admin|||Address, scope: 0 }{ id: 13, instruction: evaluate, input: (admin.require_auth), scope: 0 }{ id: 19, instruction: evaluate, input: (e.deployer), assign: METHOD_CALL_EXPRESSION_16, scope: 0 }{ id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_16.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: 7, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.instance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.has, DataKey::Admin), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 11, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 10), scope: 0 }{ id: 17, instruction: evaluate, input: (Err, Error::AlreadyInitialized), assign: RETURN_VALUE_LABEL_12, scope: 10 }{ id: 18, instruction: return, input: (RETURN_VALUE_LABEL_12), scope: 10 }{ id: 28, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_25, scope: 0 }{ id: 29, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.instance), assign: METHOD_CALL_EXPRESSION_24, scope: 0 }{ id: 30, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.set, DataKey::Admin, admin), scope: 0 }{ id: 32, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_31, scope: 0 }{ id: 36, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_31), 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: 8, instruction: evaluate, input: (e.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.get, DataKey::Admin), assign: METHOD_CALL_EXPRESSION_1, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_1.unwrap), assign: admin|||Address, scope: 0 }{ id: 14, instruction: evaluate, input: (admin.require_auth), scope: 0 }{ id: 20, instruction: evaluate, input: (e.deployer), assign: METHOD_CALL_EXPRESSION_17, scope: 0 }{ id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_17.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: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e31a0 - core::panicking::assert_failed::hc47178b1cef2029f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d213730 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5c695d216385 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract::h07826633dc23cf9d [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5c695d2163c7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract::{{closure}}::hf00740e4c1df2510 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5c695d1cc846 - core::ops::function::FnOnce::call_once::hfbf74a853acc4847 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x758d8ce73aa4 - [INFO] [stdout] 46: 0x758d8cf00a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::array_expression::tests::test_handle_array_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::array_expression::tests::test_handle_array_expression' (104) panicked at src/translate/expression/array_expression.rs:64:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 3, name: "assign", input: ["0"], assign: "ARRAY_EXPRESSION_ELEMENT_0_0", scope: 0 }, Instruction { id: 6, name: "assign", input: ["1"], assign: "ARRAY_EXPRESSION_ELEMENT_1_0", scope: 0 }, Instruction { id: 7, name: "assign", input: ["2"], assign: "ARRAY_EXPRESSION_ELEMENT_2_0", scope: 0 }, Instruction { id: 8, name: "instantiate_object", input: ["Array", "ARRAY_EXPRESSION_ELEMENT_0_0", "ARRAY_EXPRESSION_ELEMENT_1_0", "ARRAY_EXPRESSION_ELEMENT_2_0"], assign: "", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 0, name: "assign", input: ["0"], assign: "ARRAY_EXPRESSION_ELEMENT_0_0", scope: 0 }, Instruction { id: 1, name: "assign", input: ["1"], assign: "ARRAY_EXPRESSION_ELEMENT_1_0", scope: 0 }, Instruction { id: 2, name: "assign", input: ["2"], assign: "ARRAY_EXPRESSION_ELEMENT_2_0", scope: 0 }, Instruction { id: 3, name: "instantiate_object", input: ["Array", "ARRAY_EXPRESSION_ELEMENT_0_0", "ARRAY_EXPRESSION_ELEMENT_1_0", "ARRAY_EXPRESSION_ELEMENT_2_0"], assign: "", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e2fe7 - core::panicking::assert_failed::h53793c26c4c96fe4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d20ea03 - rust_to_dtr::translate::expression::array_expression::tests::test_handle_array_expression::h80c6c944141a9055 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/array_expression.rs:64:9 [INFO] [stdout] 22: 0x5c695d20eb37 - rust_to_dtr::translate::expression::array_expression::tests::test_handle_array_expression::{{closure}}::h91ebd681a0cfe291 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/array_expression.rs:60:38 [INFO] [stdout] 23: 0x5c695d1c9bb6 - core::ops::function::FnOnce::call_once::h25fe7c5c1e00710f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x758d8ce73aa4 - [INFO] [stdout] 45: 0x758d8cf00a34 - 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' (107) panicked at src/translate/expression/binary_expression.rs:151:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Ok([Instruction { id: 2, 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: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e3026 - core::panicking::assert_failed::h548b338506c0ae7b [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d1dd141 - rust_to_dtr::translate::expression::binary_expression::tests::test_binary_expression_simple_subtraction_and_assignment::h18a6ae3507f27db7 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/binary_expression.rs:151:9 [INFO] [stdout] 22: 0x5c695d1dd237 - rust_to_dtr::translate::expression::binary_expression::tests::test_binary_expression_simple_subtraction_and_assignment::{{closure}}::h93b46de86df6aaa6 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/binary_expression.rs:117:66 [INFO] [stdout] 23: 0x5c695d1cbc46 - core::ops::function::FnOnce::call_once::hbf094125fcf88c5c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x758d8ce73aa4 - [INFO] [stdout] 45: 0x758d8cf00a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::block_expression::tests::test_handle_block_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::block_expression::tests::test_handle_block_expression' (108) panicked at src/translate/expression/block_expression.rs:137:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 2, name: "assign", input: ["1"], assign: "x", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 0, name: "assign", input: ["1"], assign: "x", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e2fe7 - core::panicking::assert_failed::h53793c26c4c96fe4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d258a04 - rust_to_dtr::translate::expression::block_expression::tests::test_handle_block_expression::h13ab10f743b24a89 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/block_expression.rs:137:9 [INFO] [stdout] 22: 0x5c695d258ab7 - rust_to_dtr::translate::expression::block_expression::tests::test_handle_block_expression::{{closure}}::h52fddb3b900a8b43 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/block_expression.rs:133:38 [INFO] [stdout] 23: 0x5c695d1cad66 - core::ops::function::FnOnce::call_once::h73df244d22a4f864 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x758d8ce73aa4 - [INFO] [stdout] 45: 0x758d8cf00a34 - clone [INFO] [stdout] 46: 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: 25, instruction: evaluate, input: (is_initialized, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_20, scope: 0 } [INFO] [stdout] { id: 27, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_20, 26), scope: 0 } [INFO] [stdout] { id: 28, instruction: exit_with_message, input: ("contract has been already initialized"), scope: 26 } [INFO] [stdout] { id: 32, instruction: evaluate, input: (from.require_auth), scope: 0 } [INFO] [stdout] { id: 48, instruction: evaluate, input: (token::Client::new, env, token), assign: METHOD_CALL_EXPRESSION_41, scope: 0 } [INFO] [stdout] { id: 38, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_2_35, scope: 0 } [INFO] [stdout] { id: 49, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.transfer, from, METHOD_CALL_ARG_2_35, amount), scope: 0 } [INFO] [stdout] { id: 63, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_60, scope: 0 } [INFO] [stdout] { id: 64, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_60.persistent), assign: METHOD_CALL_EXPRESSION_59, scope: 0 } [INFO] [stdout] { id: 57, instruction: instantiate_object, input: (UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_52, scope: 0 } [INFO] [stdout] { id: 65, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_59.set, DataKey::Balance, METHOD_CALL_ARG_2_52), scope: 0 } [INFO] [stdout] { id: 75, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_72, scope: 0 } [INFO] [stdout] { id: 76, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_72.persistent), assign: METHOD_CALL_EXPRESSION_71, scope: 0 } [INFO] [stdout] { id: 69, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_68, scope: 0 } [INFO] [stdout] { id: 77, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_71.set, DataKey::Init, METHOD_CALL_ARG_2_68), 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: 27, instruction: evaluate, input: (claimant.require_auth), scope: 0 } [INFO] [stdout] { id: 35, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_32, scope: 0 } [INFO] [stdout] { id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_32.persistent), assign: METHOD_CALL_EXPRESSION_31, scope: 0 } [INFO] [stdout] { id: 37, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_28, scope: 0 } [INFO] [stdout] { id: 38, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_28.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_40, scope: 0 } [INFO] [stdout] { id: 31, instruction: evaluate, input: (!, UNARY_ARGUMENT_40), assign: CONDITIONAL_JUMP_ASSIGNMENT_39, scope: 0 } [INFO] [stdout] { id: 33, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_39, 32), scope: 0 } [INFO] [stdout] { id: 34, instruction: exit_with_message, input: ("time predicate is not fulfilled"), scope: 32 } [INFO] [stdout] { id: 35, instruction: jump, input: (0), scope: 32 } [INFO] [stdout] { id: 46, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_41, scope: 0 } [INFO] [stdout] { id: 47, instruction: evaluate, input: (!, UNARY_ARGUMENT_41), assign: CONDITIONAL_JUMP_ASSIGNMENT_40, scope: 0 } [INFO] [stdout] { id: 49, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_40, 48), scope: 0 } [INFO] [stdout] { id: 50, instruction: exit_with_message, input: ("claimant is not allowed to claim this balance"), scope: 48 } [INFO] [stdout] { id: 60, instruction: evaluate, input: (greater_than, amount, claimable_balance.amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_52, scope: 0 } [INFO] [stdout] { id: 62, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_52, 61), scope: 0 } [INFO] [stdout] { id: 63, instruction: exit_with_message, input: ("claimed amount greater than balance"), scope: 61 } [INFO] [stdout] { id: 83, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_73, scope: 0 } [INFO] [stdout] { id: 68, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_65, scope: 0 } [INFO] [stdout] { id: 84, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_73.transfer, METHOD_CALL_ARG_1_65, claimant, amount), scope: 0 } [INFO] [stdout] { id: 92, instruction: subtract, input: (claimable_balance.amount, amount), assign: new_balance, scope: 0 } [INFO] [stdout] { id: 98, instruction: evaluate, input: (greater_than, new_balance, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_93, scope: 0 } [INFO] [stdout] { id: 100, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_93, 99), scope: 0 } [INFO] [stdout] { id: 10, instruction: jump, input: (9), scope: 0 } [INFO] [stdout] { id: 108, instruction: assign, input: (new_balance), assign: claimable_balance.amount, scope: 99 } [INFO] [stdout] { id: 5, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_2, scope: 99 } [INFO] [stdout] { id: 6, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.persistent), assign: METHOD_CALL_EXPRESSION_1, scope: 99 } [INFO] [stdout] { id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_1.set, DataKey::Balance, claimable_balance), scope: 99 } [INFO] [stdout] { id: 8, instruction: jump, input: (0), scope: 99 } [INFO] [stdout] { id: 17, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_14, scope: 9 } [INFO] [stdout] { id: 18, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_14.persistent), assign: METHOD_CALL_EXPRESSION_13, scope: 9 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.remove, DataKey::Balance), scope: 9 } [INFO] [stdout] { id: 20, instruction: jump, input: (0), scope: 9 } [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: 9, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_6, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.timestamp), assign: ledger_timestamp, scope: 0 } [INFO] [stdout] { id: 14, instruction: assign, input: (time_bound, kind), assign: THING_TO_COMPARE_AGAINST_11, scope: 0 } [INFO] [stdout] { id: 17, instruction: evaluate, input: (equal_to, time_bound.kind, TimeBoundKind::Before), assign: CONDITIONAL_JUMP_CHECK_16, scope: 0 } [INFO] [stdout] { id: 19, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_16, 18), scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_11, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_29, scope: 0 } [INFO] [stdout] { id: 32, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_29, 31), scope: 0 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (less_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 18 } [INFO] [stdout] { id: 28, instruction: jump, input: (0), scope: 18 } [INFO] [stdout] { id: 40, instruction: evaluate, input: (greater_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 31 } [INFO] [stdout] { id: 41, instruction: jump, input: (0), scope: 31 } [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: 6, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_3, scope: 0 } [INFO] [stdout] { id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.persistent), assign: METHOD_CALL_EXPRESSION_2, scope: 0 } [INFO] [stdout] { id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.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' (88) 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: 25, instruction: evaluate, input: (is_initialized, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_20, scope: 0 }{ id: 27, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_20, 26), scope: 0 }{ id: 28, instruction: exit_with_message, input: (\"contract has been already initialized\"), scope: 26 }{ id: 32, instruction: evaluate, input: (from.require_auth), scope: 0 }{ id: 48, instruction: evaluate, input: (token::Client::new, env, token), assign: METHOD_CALL_EXPRESSION_41, scope: 0 }{ id: 38, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_2_35, scope: 0 }{ id: 49, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.transfer, from, METHOD_CALL_ARG_2_35, amount), scope: 0 }{ id: 63, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_60, scope: 0 }{ id: 64, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_60.persistent), assign: METHOD_CALL_EXPRESSION_59, scope: 0 }{ id: 57, instruction: instantiate_object, input: (UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_52, scope: 0 }{ id: 65, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_59.set, DataKey::Balance, METHOD_CALL_ARG_2_52), 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: 69, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_68, scope: 0 }{ id: 77, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_71.set, DataKey::Init, METHOD_CALL_ARG_2_68), scope: 0 }$-() [claim]* Inputs:{env: Envclaimant: Addressamount: BigInteger}* Instructions:${ id: 27, instruction: evaluate, input: (claimant.require_auth), 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.persistent), assign: METHOD_CALL_EXPRESSION_31, scope: 0 }{ id: 37, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_28, scope: 0 }{ id: 38, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_28.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 }{ id: 30, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_40, scope: 0 }{ id: 31, instruction: evaluate, input: (!, UNARY_ARGUMENT_40), assign: CONDITIONAL_JUMP_ASSIGNMENT_39, scope: 0 }{ id: 33, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_39, 32), scope: 0 }{ id: 34, instruction: exit_with_message, input: (\"time predicate is not fulfilled\"), scope: 32 }{ id: 35, instruction: jump, input: (0), scope: 32 }{ id: 46, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_41, scope: 0 }{ id: 47, instruction: evaluate, input: (!, UNARY_ARGUMENT_41), assign: CONDITIONAL_JUMP_ASSIGNMENT_40, scope: 0 }{ id: 49, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_40, 48), scope: 0 }{ id: 50, instruction: exit_with_message, input: (\"claimant is not allowed to claim this balance\"), scope: 48 }{ id: 60, instruction: evaluate, input: (greater_than, amount, claimable_balance.amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_52, scope: 0 }{ id: 62, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_52, 61), scope: 0 }{ id: 63, instruction: exit_with_message, input: (\"claimed amount greater than balance\"), scope: 61 }{ id: 83, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_73, scope: 0 }{ id: 68, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_65, scope: 0 }{ id: 84, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_73.transfer, METHOD_CALL_ARG_1_65, claimant, amount), scope: 0 }{ id: 92, instruction: subtract, input: (claimable_balance.amount, amount), assign: new_balance, scope: 0 }{ id: 98, instruction: evaluate, input: (greater_than, new_balance, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_93, scope: 0 }{ id: 100, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_93, 99), scope: 0 }{ id: 10, instruction: jump, input: (9), scope: 0 }{ id: 108, instruction: assign, input: (new_balance), assign: claimable_balance.amount, scope: 99 }{ id: 5, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_2, scope: 99 }{ id: 6, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.persistent), assign: METHOD_CALL_EXPRESSION_1, scope: 99 }{ id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_1.set, DataKey::Balance, claimable_balance), scope: 99 }{ id: 8, instruction: jump, input: (0), scope: 99 }{ id: 17, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_14, scope: 9 }{ id: 18, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_14.persistent), assign: METHOD_CALL_EXPRESSION_13, scope: 9 }{ id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.remove, DataKey::Balance), scope: 9 }{ id: 20, instruction: jump, input: (0), scope: 9 }$:[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: 9, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.timestamp), assign: ledger_timestamp, scope: 0 }{ id: 14, instruction: assign, input: (time_bound, kind), assign: THING_TO_COMPARE_AGAINST_11, scope: 0 }{ id: 17, instruction: evaluate, input: (equal_to, time_bound.kind, TimeBoundKind::Before), assign: CONDITIONAL_JUMP_CHECK_16, scope: 0 }{ id: 19, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_16, 18), scope: 0 }{ id: 30, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_11, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_29, scope: 0 }{ id: 32, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_29, 31), scope: 0 }{ id: 27, instruction: evaluate, input: (less_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 18 }{ id: 28, instruction: jump, input: (0), scope: 18 }{ id: 40, instruction: evaluate, input: (greater_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 31 }{ id: 41, instruction: jump, input: (0), scope: 31 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [is_initialized]* Inputs:{env: &Env}* Output: Boolean* Instructions:${ id: 6, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.persistent), assign: METHOD_CALL_EXPRESSION_2, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.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: 25, instruction: evaluate, input: (is_initialized, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_20, scope: 0 }{ id: 27, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_20, 26), scope: 0 }{ id: 28, instruction: exit_with_message, input: (\"contract has been already initialized\"), scope: 26 }{ id: 32, instruction: evaluate, input: (from.require_auth), scope: 0 }{ id: 48, instruction: evaluate, input: (token::Client::new, env, token), assign: METHOD_CALL_EXPRESSION_41, scope: 0 }{ id: 38, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_2_35, scope: 0 }{ id: 49, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.transfer, from, METHOD_CALL_ARG_2_35, amount), scope: 0 }{ id: 63, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_60, scope: 0 }{ id: 64, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_60.persistent), assign: METHOD_CALL_EXPRESSION_59, scope: 0 }{ id: 57, instruction: instantiate_object, input: (UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_52, scope: 0 }{ id: 65, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_59.set, DataKey::Balance, METHOD_CALL_ARG_2_52), 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: 69, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_68, scope: 0 }{ id: 77, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_71.set, DataKey::Init, METHOD_CALL_ARG_2_68), scope: 0 }$-() [claim]* Inputs:{env: Envclaimant: Addressamount: BigInteger}* Instructions:${ id: 80, instruction: evaluate, input: (claimant.require_auth), scope: 0 }{ id: 88, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_85, scope: 0 }{ id: 89, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_85.persistent), assign: METHOD_CALL_EXPRESSION_84, scope: 0 }{ id: 90, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_84.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_81, scope: 0 }{ id: 91, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_81.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 }{ id: 103, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_93, scope: 0 }{ id: 104, instruction: evaluate, input: (!, UNARY_ARGUMENT_93), assign: CONDITIONAL_JUMP_ASSIGNMENT_92, scope: 0 }{ id: 106, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_92, 105), scope: 0 }{ id: 107, instruction: exit_with_message, input: (\"time predicate is not fulfilled\"), scope: 105 }{ id: 119, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_114, scope: 0 }{ id: 120, instruction: evaluate, input: (!, UNARY_ARGUMENT_114), assign: CONDITIONAL_JUMP_ASSIGNMENT_113, scope: 0 }{ id: 122, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_113, 121), scope: 0 }{ id: 123, instruction: exit_with_message, input: (\"claimant is not allowed to claim this balance\"), scope: 121 }{ id: 133, instruction: evaluate, input: (greater_than, amount, claimable_balance.amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_125, scope: 0 }{ id: 135, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_125, 134), scope: 0 }{ id: 136, instruction: exit_with_message, input: (\"claimed amount greater than balance\"), scope: 134 }{ id: 156, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_146, scope: 0 }{ id: 141, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_138, scope: 0 }{ id: 157, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_146.transfer, METHOD_CALL_ARG_1_138, claimant, amount), scope: 0 }{ id: 165, instruction: subtract, input: (claimable_balance.amount, amount), assign: new_balance, scope: 0 }{ id: 171, instruction: evaluate, input: (greater_than, new_balance, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_166, scope: 0 }{ id: 173, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_166, 172), scope: 0 }{ id: 195, instruction: jump, input: (194), scope: 0 }{ id: 181, instruction: assign, input: (new_balance), assign: claimable_balance.amount, scope: 172 }{ id: 190, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_187, scope: 172 }{ id: 191, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_187.persistent), assign: METHOD_CALL_EXPRESSION_186, scope: 172 }{ id: 192, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_186.set, DataKey::Balance, claimable_balance), scope: 172 }{ id: 193, instruction: jump, input: (0), scope: 172 }{ id: 202, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_199, scope: 194 }{ id: 203, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_199.persistent), assign: METHOD_CALL_EXPRESSION_198, scope: 194 }{ id: 204, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_198.remove, DataKey::Balance), scope: 194 }{ id: 205, instruction: jump, input: (0), scope: 194 }$:[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: 13, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_10, 12), scope: 0 }{ id: 24, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_5, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_23, 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: 6, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.persistent), assign: METHOD_CALL_EXPRESSION_2, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.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: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e31a0 - core::panicking::assert_failed::hc47178b1cef2029f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d213730 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5c695d2140b5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing::h66dd2d120d138a54 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5c695d2140f7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing::{{closure}}::he8b7587a5b796091 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5c695d1cb0a6 - core::ops::function::FnOnce::call_once::h83d232901a583961 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x758d8ce73aa4 - [INFO] [stdout] 46: 0x758d8cf00a34 - 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: 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.get, StorageKey::Admin), assign: INPUT_VALUE_NAME_FOR_LET_1, scope: 0 } [INFO] [stdout] { id: 11, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_1, Some(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: 16, instruction: evaluate, input: (admin.require_auth), scope: 12 } [INFO] [stdout] { id: 17, instruction: jump, input: (0), scope: 12 } [INFO] [stdout] { id: 26, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_23, scope: 0 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_23.instance), assign: METHOD_CALL_EXPRESSION_22, scope: 0 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_22.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: 28, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_25, scope: 0 } [INFO] [stdout] { id: 29, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.instance), assign: METHOD_CALL_EXPRESSION_24, scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.get, StorageKey::Admin), assign: METHOD_CALL_EXPRESSION_21, scope: 0 } [INFO] [stdout] { id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_21.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: 36, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_33, scope: 0 } [INFO] [stdout] { id: 39, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_33), assign: METHOD_CALL_EXPRESSION_32, scope: 0 } [INFO] [stdout] { id: 40, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_32.require_auth), scope: 0 } [INFO] [stdout] { id: 55, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_52, scope: 0 } [INFO] [stdout] { id: 56, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_52.persistent), assign: METHOD_CALL_EXPRESSION_51, scope: 0 } [INFO] [stdout] { id: 48, instruction: evaluate, input: (StorageKey::Minter, contract, minter), assign: METHOD_CALL_ARG_1_41, scope: 0 } [INFO] [stdout] { id: 57, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_51.set, METHOD_CALL_ARG_1_41, 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: 55, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_52, scope: 0 } [INFO] [stdout] { id: 56, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_52.persistent), assign: METHOD_CALL_EXPRESSION_51, scope: 0 } [INFO] [stdout] { id: 43, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_40, scope: 0 } [INFO] [stdout] { id: 47, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_44, scope: 0 } [INFO] [stdout] { id: 50, instruction: evaluate, input: (StorageKey::Minter, CALL_EXPRESSION_ARG_1_40, CALL_EXPRESSION_ARG_2_44), assign: METHOD_CALL_ARG_1_39, scope: 0 } [INFO] [stdout] { id: 57, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_51.get, METHOD_CALL_ARG_1_39), assign: METHOD_CALL_EXPRESSION_38, scope: 0 } [INFO] [stdout] { id: 58, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_38.ok_or, Error::NotAuthorizedMinter), assign: config, scope: 0 } [INFO] [stdout] { id: 64, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_61, scope: 0 } [INFO] [stdout] { id: 65, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_61.sequence), assign: BINARY_EXPRESSION_LEFT_59, scope: 0 } [INFO] [stdout] { id: 70, instruction: divide, input: (BINARY_EXPRESSION_LEFT_59, config.epoch_length), assign: epoch, scope: 0 } [INFO] [stdout] { id: 95, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_92, scope: 0 } [INFO] [stdout] { id: 96, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_92.temporary), assign: METHOD_CALL_EXPRESSION_91, scope: 0 } [INFO] [stdout] { id: 76, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_73, scope: 0 } [INFO] [stdout] { id: 80, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_77, scope: 0 } [INFO] [stdout] { id: 90, instruction: evaluate, input: (StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_73, CALL_EXPRESSION_ARG_2_77, config.epoch_length, epoch), assign: METHOD_CALL_ARG_1_72, scope: 0 } [INFO] [stdout] { id: 97, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_91.get, METHOD_CALL_ARG_1_72), assign: METHOD_CALL_EXPRESSION_71, scope: 0 } [INFO] [stdout] { id: 98, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_71.unwrap_or_default), assign: stats, scope: 0 } [INFO] [stdout] { id: 103, instruction: instantiate_object, input: (Tuple, config, epoch, stats), assign: CALL_EXPRESSION_ARG_1_99, scope: 0 } [INFO] [stdout] { id: 107, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_99), 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: 115, instruction: instantiate_object, input: (Tuple, contract, to, amount), assign: METHOD_CALL_EXPRESSION_111, scope: 0 } [INFO] [stdout] { id: 117, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_111.into_val, env), assign: METHOD_CALL_ARG_1_108, scope: 0 } [INFO] [stdout] { id: 120, instruction: evaluate, input: (minter.require_auth_for_args, METHOD_CALL_ARG_1_108), scope: 0 } [INFO] [stdout] { id: 126, instruction: evaluate, input: (less_than, amount, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_121, scope: 0 } [INFO] [stdout] { id: 128, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_121, 127), scope: 0 } [INFO] [stdout] { id: 134, instruction: evaluate, input: (Err, Error::NegativeAmount), assign: RETURN_VALUE_LABEL_129, scope: 127 } [INFO] [stdout] { id: 135, instruction: return, input: (RETURN_VALUE_LABEL_129), scope: 127 } [INFO] [stdout] { id: 140, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_137, scope: 0 } [INFO] [stdout] { id: 143, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_137), assign: admin, scope: 0 } [INFO] [stdout] { id: 149, instruction: evaluate, input: (not_equal_to, admin, minter), assign: CONDITIONAL_JUMP_ASSIGNMENT_144, scope: 0 } [INFO] [stdout] { id: 151, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_144, 150), scope: 0 } [INFO] [stdout] { id: 7, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 150 } [INFO] [stdout] { id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.persistent), assign: METHOD_CALL_EXPRESSION_3, scope: 150 } [INFO] [stdout] { id: 158, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_155, scope: 150 } [INFO] [stdout] { id: 162, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_159, scope: 150 } [INFO] [stdout] { id: 2, instruction: evaluate, input: (StorageKey::Minter, CALL_EXPRESSION_ARG_1_155, CALL_EXPRESSION_ARG_2_159), assign: METHOD_CALL_ARG_1_154, scope: 150 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.get, METHOD_CALL_ARG_1_154), assign: TRY_ASSIGN_RESULT_152, scope: 150 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (try_assign, Some(config), TRY_ASSIGN_RESULT_152), assign: TRY_ASSIGN_RESULT_CONDITIONAL_153, scope: 150 } [INFO] [stdout] { id: 12, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_153, 11), scope: 150 } [INFO] [stdout] { id: 14, instruction: jump, input: (13), scope: 150 } [INFO] [stdout] { id: 15, instruction: jump, input: (150), scope: 11 } [INFO] [stdout] { id: 21, instruction: evaluate, input: (Err, Error::NotAuthorizedMinter), assign: RETURN_VALUE_LABEL_16, scope: 13 } [INFO] [stdout] { id: 22, instruction: return, input: (RETURN_VALUE_LABEL_16), scope: 13 } [INFO] [stdout] { id: 29, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_26, scope: 150 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_26.sequence), assign: BINARY_EXPRESSION_LEFT_24, scope: 150 } [INFO] [stdout] { id: 35, instruction: divide, input: (BINARY_EXPRESSION_LEFT_24, config.epoch_length), assign: epoch, scope: 150 } [INFO] [stdout] { id: 39, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_36, scope: 150 } [INFO] [stdout] { id: 43, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_40, scope: 150 } [INFO] [stdout] { id: 53, instruction: evaluate, input: (StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_36, CALL_EXPRESSION_ARG_2_40, config.epoch_length, epoch), assign: minter_stats_key, scope: 150 } [INFO] [stdout] { id: 61, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_58, scope: 150 } [INFO] [stdout] { id: 62, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_58.temporary), assign: METHOD_CALL_EXPRESSION_57, scope: 150 } [INFO] [stdout] { id: 63, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_57.get, minter_stats_key), assign: METHOD_CALL_EXPRESSION_54, scope: 150 } [INFO] [stdout] { id: 64, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_54.unwrap_or_default), assign: minter_stats, scope: 150 } [INFO] [stdout] { id: 72, instruction: add, input: (minter_stats.consumed_limit, amount), assign: consumed_limit, scope: 150 } [INFO] [stdout] { id: 73, instruction: instantiate_object, input: (UDT, MinterStats, consumed_limit), assign: new_minter_stats, scope: 150 } [INFO] [stdout] { id: 86, instruction: evaluate, input: (greater_than, new_minter_stats.consumed_limit, config.limit), assign: CONDITIONAL_JUMP_ASSIGNMENT_75, scope: 150 } [INFO] [stdout] { id: 88, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_75, 87), scope: 150 } [INFO] [stdout] { id: 94, instruction: evaluate, input: (Err, Error::DailyLimitInsufficient), assign: RETURN_VALUE_LABEL_89, scope: 87 } [INFO] [stdout] { id: 95, instruction: return, input: (RETURN_VALUE_LABEL_89), scope: 87 } [INFO] [stdout] { id: 105, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_102, scope: 150 } [INFO] [stdout] { id: 106, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_102.temporary), assign: METHOD_CALL_EXPRESSION_101, scope: 150 } [INFO] [stdout] { id: 107, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_101.set, minter_stats_key, new_minter_stats), scope: 150 } [INFO] [stdout] { id: 125, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_122, scope: 150 } [INFO] [stdout] { id: 126, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_122.temporary), assign: METHOD_CALL_EXPRESSION_121, scope: 150 } [INFO] [stdout] { id: 120, instruction: multiply, input: (epoch, config.epoch_length), assign: METHOD_CALL_ARG_3_112, scope: 150 } [INFO] [stdout] { id: 127, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_121.extend_ttl, minter_stats_key, 0, METHOD_CALL_ARG_3_112), assign: Thing_to_return, scope: 150 } [INFO] [stdout] { id: 128, instruction: jump, input: (0), scope: 150 } [INFO] [stdout] { id: 135, instruction: evaluate, input: (MintClient::new, env, contract), assign: client, scope: 0 } [INFO] [stdout] { id: 142, instruction: evaluate, input: (client.mint, to, amount), scope: 0 } [INFO] [stdout] { id: 144, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_143, scope: 0 } [INFO] [stdout] { id: 148, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_143), 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] * (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' (93) 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: 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.get, StorageKey::Admin), assign: INPUT_VALUE_NAME_FOR_LET_1, scope: 0 }{ id: 11, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_1, Some(admin)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 13, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 12), scope: 0 }{ id: 16, instruction: evaluate, input: (admin.require_auth), scope: 12 }{ id: 17, instruction: jump, input: (0), scope: 12 }{ id: 26, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_23, scope: 0 }{ id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_23.instance), assign: METHOD_CALL_EXPRESSION_22, scope: 0 }{ id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_22.set, StorageKey::Admin, new_admin), scope: 0 }$-() [admin]* Inputs:{env: Env}* Output: Address* Instructions:${ id: 28, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_25, scope: 0 }{ id: 29, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.instance), assign: METHOD_CALL_EXPRESSION_24, scope: 0 }{ id: 30, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.get, StorageKey::Admin), assign: METHOD_CALL_EXPRESSION_21, scope: 0 }{ id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_21.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: 36, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_33, scope: 0 }{ id: 39, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_33), assign: METHOD_CALL_EXPRESSION_32, scope: 0 }{ id: 40, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_32.require_auth), scope: 0 }{ id: 55, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_52, scope: 0 }{ id: 56, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_52.persistent), assign: METHOD_CALL_EXPRESSION_51, scope: 0 }{ id: 48, instruction: evaluate, input: (StorageKey::Minter, contract, minter), assign: METHOD_CALL_ARG_1_41, scope: 0 }{ id: 57, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_51.set, METHOD_CALL_ARG_1_41, config), scope: 0 }$-() [minter]* Inputs:{env: Envcontract: Addressminter: Address}* Output: Result<(MinterConfig, Integer, MinterStats), Error>* Instructions:${ id: 55, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_52, scope: 0 }{ id: 56, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_52.persistent), assign: METHOD_CALL_EXPRESSION_51, scope: 0 }{ id: 43, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_40, scope: 0 }{ id: 47, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_44, scope: 0 }{ id: 50, instruction: evaluate, input: (StorageKey::Minter, CALL_EXPRESSION_ARG_1_40, CALL_EXPRESSION_ARG_2_44), assign: METHOD_CALL_ARG_1_39, scope: 0 }{ id: 57, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_51.get, METHOD_CALL_ARG_1_39), assign: METHOD_CALL_EXPRESSION_38, scope: 0 }{ id: 58, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_38.ok_or, Error::NotAuthorizedMinter), assign: config, scope: 0 }{ id: 64, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_61, scope: 0 }{ id: 65, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_61.sequence), assign: BINARY_EXPRESSION_LEFT_59, scope: 0 }{ id: 70, instruction: divide, input: (BINARY_EXPRESSION_LEFT_59, config.epoch_length), assign: epoch, 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.temporary), assign: METHOD_CALL_EXPRESSION_91, scope: 0 }{ id: 76, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_73, scope: 0 }{ id: 80, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_77, scope: 0 }{ id: 90, instruction: evaluate, input: (StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_73, CALL_EXPRESSION_ARG_2_77, config.epoch_length, epoch), assign: METHOD_CALL_ARG_1_72, scope: 0 }{ id: 97, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_91.get, METHOD_CALL_ARG_1_72), assign: METHOD_CALL_EXPRESSION_71, scope: 0 }{ id: 98, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_71.unwrap_or_default), assign: stats, scope: 0 }{ id: 103, instruction: instantiate_object, input: (Tuple, config, epoch, stats), assign: CALL_EXPRESSION_ARG_1_99, scope: 0 }{ id: 107, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_99), 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: 115, instruction: instantiate_object, input: (Tuple, contract, to, amount), assign: METHOD_CALL_EXPRESSION_111, scope: 0 }{ id: 117, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_111.into_val, env), assign: METHOD_CALL_ARG_1_108, scope: 0 }{ id: 120, instruction: evaluate, input: (minter.require_auth_for_args, METHOD_CALL_ARG_1_108), scope: 0 }{ id: 126, instruction: evaluate, input: (less_than, amount, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_121, scope: 0 }{ id: 128, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_121, 127), scope: 0 }{ id: 134, instruction: evaluate, input: (Err, Error::NegativeAmount), assign: RETURN_VALUE_LABEL_129, scope: 127 }{ id: 135, instruction: return, input: (RETURN_VALUE_LABEL_129), scope: 127 }{ id: 140, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_137, scope: 0 }{ id: 143, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_137), assign: admin, scope: 0 }{ id: 149, instruction: evaluate, input: (not_equal_to, admin, minter), assign: CONDITIONAL_JUMP_ASSIGNMENT_144, scope: 0 }{ id: 151, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_144, 150), scope: 0 }{ id: 7, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 150 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.persistent), assign: METHOD_CALL_EXPRESSION_3, scope: 150 }{ id: 158, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_155, scope: 150 }{ id: 162, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_159, scope: 150 }{ id: 2, instruction: evaluate, input: (StorageKey::Minter, CALL_EXPRESSION_ARG_1_155, CALL_EXPRESSION_ARG_2_159), assign: METHOD_CALL_ARG_1_154, scope: 150 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.get, METHOD_CALL_ARG_1_154), assign: TRY_ASSIGN_RESULT_152, scope: 150 }{ id: 10, instruction: evaluate, input: (try_assign, Some(config), TRY_ASSIGN_RESULT_152), assign: TRY_ASSIGN_RESULT_CONDITIONAL_153, scope: 150 }{ id: 12, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_153, 11), scope: 150 }{ id: 14, instruction: jump, input: (13), scope: 150 }{ id: 15, instruction: jump, input: (150), scope: 11 }{ id: 21, instruction: evaluate, input: (Err, Error::NotAuthorizedMinter), assign: RETURN_VALUE_LABEL_16, scope: 13 }{ id: 22, instruction: return, input: (RETURN_VALUE_LABEL_16), scope: 13 }{ id: 29, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_26, scope: 150 }{ id: 30, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_26.sequence), assign: BINARY_EXPRESSION_LEFT_24, scope: 150 }{ id: 35, instruction: divide, input: (BINARY_EXPRESSION_LEFT_24, config.epoch_length), assign: epoch, scope: 150 }{ id: 39, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_36, scope: 150 }{ id: 43, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_40, scope: 150 }{ id: 53, instruction: evaluate, input: (StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_36, CALL_EXPRESSION_ARG_2_40, config.epoch_length, epoch), assign: minter_stats_key, scope: 150 }{ id: 61, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_58, scope: 150 }{ id: 62, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_58.temporary), assign: METHOD_CALL_EXPRESSION_57, scope: 150 }{ id: 63, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_57.get, minter_stats_key), assign: METHOD_CALL_EXPRESSION_54, scope: 150 }{ id: 64, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_54.unwrap_or_default), assign: minter_stats, scope: 150 }{ id: 72, instruction: add, input: (minter_stats.consumed_limit, amount), assign: consumed_limit, scope: 150 }{ id: 73, instruction: instantiate_object, input: (UDT, MinterStats, consumed_limit), assign: new_minter_stats, scope: 150 }{ id: 86, instruction: evaluate, input: (greater_than, new_minter_stats.consumed_limit, config.limit), assign: CONDITIONAL_JUMP_ASSIGNMENT_75, scope: 150 }{ id: 88, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_75, 87), scope: 150 }{ id: 94, instruction: evaluate, input: (Err, Error::DailyLimitInsufficient), assign: RETURN_VALUE_LABEL_89, scope: 87 }{ id: 95, instruction: return, input: (RETURN_VALUE_LABEL_89), scope: 87 }{ id: 105, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_102, scope: 150 }{ id: 106, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_102.temporary), assign: METHOD_CALL_EXPRESSION_101, scope: 150 }{ id: 107, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_101.set, minter_stats_key, new_minter_stats), scope: 150 }{ id: 125, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_122, scope: 150 }{ id: 126, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_122.temporary), assign: METHOD_CALL_EXPRESSION_121, scope: 150 }{ id: 120, instruction: multiply, input: (epoch, config.epoch_length), assign: METHOD_CALL_ARG_3_112, scope: 150 }{ id: 127, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_121.extend_ttl, minter_stats_key, 0, METHOD_CALL_ARG_3_112), assign: Thing_to_return, scope: 150 }{ id: 128, instruction: jump, input: (0), scope: 150 }{ id: 135, instruction: evaluate, input: (MintClient::new, env, contract), assign: client, scope: 0 }{ id: 142, instruction: evaluate, input: (client.mint, to, amount), scope: 0 }{ id: 144, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_143, scope: 0 }{ id: 148, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_143), 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] right: "[Contract]: Contract[Interface]:-() [set_admin]* Inputs:{env: Envnew_admin: Address}* 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.get, StorageKey::Admin), assign: INPUT_VALUE_NAME_FOR_LET_1, scope: 0 }{ id: 11, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_1, Some(admin)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 13, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 12), scope: 0 }{ id: 16, instruction: evaluate, input: (admin.require_auth), scope: 12 }{ id: 17, instruction: jump, input: (0), scope: 12 }{ id: 26, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_23, scope: 0 }{ id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_23.instance), assign: METHOD_CALL_EXPRESSION_22, scope: 0 }{ id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_22.set, StorageKey::Admin, new_admin), scope: 0 }$-() [admin]* Inputs:{env: Env}* Output: Address* Instructions:${ id: 36, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_33, scope: 0 }{ id: 37, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_33.instance), assign: METHOD_CALL_EXPRESSION_32, scope: 0 }{ id: 38, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_32.get, StorageKey::Admin), assign: METHOD_CALL_EXPRESSION_29, scope: 0 }{ id: 39, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_29.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: 44, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_41, scope: 0 }{ id: 47, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_41), assign: METHOD_CALL_EXPRESSION_40, scope: 0 }{ id: 48, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_40.require_auth), scope: 0 }{ id: 63, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_60, scope: 0 }{ id: 64, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_60.persistent), assign: METHOD_CALL_EXPRESSION_59, scope: 0 }{ id: 56, instruction: evaluate, input: (StorageKey::Minter, contract, minter), assign: METHOD_CALL_ARG_1_49, scope: 0 }{ id: 65, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_59.set, METHOD_CALL_ARG_1_49, config), scope: 0 }$-() [minter]* Inputs:{env: Envcontract: Addressminter: Address}* Output: Result<(MinterConfig, Integer, MinterStats), Error>* Instructions:${ 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: 73, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_70, scope: 0 }{ id: 77, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_74, scope: 0 }{ id: 80, instruction: evaluate, input: (StorageKey::Minter, CALL_EXPRESSION_ARG_1_70, CALL_EXPRESSION_ARG_2_74), assign: METHOD_CALL_ARG_1_69, scope: 0 }{ id: 87, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_81.get, METHOD_CALL_ARG_1_69), assign: METHOD_CALL_EXPRESSION_68, scope: 0 }{ id: 88, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_68.ok_or, Error::NotAuthorizedMinter), assign: config, scope: 0 }{ id: 94, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_91, scope: 0 }{ id: 95, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_91.sequence), assign: BINARY_EXPRESSION_LEFT_89, scope: 0 }{ id: 100, instruction: divide, input: (BINARY_EXPRESSION_LEFT_89, config.epoch_length), assign: epoch, scope: 0 }{ id: 125, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_122, scope: 0 }{ id: 126, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_122.temporary), assign: METHOD_CALL_EXPRESSION_121, scope: 0 }{ id: 106, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_103, scope: 0 }{ id: 110, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_107, scope: 0 }{ id: 120, instruction: evaluate, input: (StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_103, CALL_EXPRESSION_ARG_2_107, config.epoch_length, epoch), assign: METHOD_CALL_ARG_1_102, scope: 0 }{ id: 127, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_121.get, METHOD_CALL_ARG_1_102), assign: METHOD_CALL_EXPRESSION_101, scope: 0 }{ id: 128, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_101.unwrap_or_default), assign: stats, scope: 0 }{ id: 133, instruction: instantiate_object, input: (Tuple, config, epoch, stats), assign: CALL_EXPRESSION_ARG_1_129, scope: 0 }{ id: 137, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_129), 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: 145, instruction: instantiate_object, input: (Tuple, contract, to, amount), assign: METHOD_CALL_EXPRESSION_141, scope: 0 }{ id: 147, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_141.into_val, env), assign: METHOD_CALL_ARG_1_138, scope: 0 }{ id: 150, instruction: evaluate, input: (minter.require_auth_for_args, METHOD_CALL_ARG_1_138), scope: 0 }{ id: 156, instruction: evaluate, input: (less_than, amount, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_151, scope: 0 }{ id: 158, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_151, 157), scope: 0 }{ id: 164, instruction: evaluate, input: (Err, Error::NegativeAmount), assign: RETURN_VALUE_LABEL_159, scope: 157 }{ id: 165, instruction: return, input: (RETURN_VALUE_LABEL_159), scope: 157 }{ id: 170, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_167, scope: 0 }{ id: 173, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_167), assign: admin, scope: 0 }{ id: 179, instruction: evaluate, input: (not_equal_to, admin, minter), assign: CONDITIONAL_JUMP_ASSIGNMENT_174, scope: 0 }{ id: 181, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_174, 180), scope: 0 }{ id: 200, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_197, scope: 180 }{ id: 201, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_197.persistent), assign: METHOD_CALL_EXPRESSION_196, scope: 180 }{ id: 188, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_185, scope: 180 }{ id: 192, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_189, scope: 180 }{ id: 195, instruction: evaluate, input: (StorageKey::Minter, CALL_EXPRESSION_ARG_1_185, CALL_EXPRESSION_ARG_2_189), assign: METHOD_CALL_ARG_1_184, scope: 180 }{ id: 202, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_196.get, METHOD_CALL_ARG_1_184), assign: TRY_ASSIGN_RESULT_182, scope: 180 }{ id: 203, instruction: evaluate, input: (try_assign, Some(config), TRY_ASSIGN_RESULT_182), assign: TRY_ASSIGN_RESULT_CONDITIONAL_183, scope: 180 }{ id: 205, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_183, 204), scope: 180 }{ id: 207, instruction: jump, input: (206), scope: 180 }{ id: 208, instruction: jump, input: (180), scope: 204 }{ id: 214, instruction: evaluate, input: (Err, Error::NotAuthorizedMinter), assign: RETURN_VALUE_LABEL_209, scope: 206 }{ id: 215, instruction: return, input: (RETURN_VALUE_LABEL_209), scope: 206 }{ id: 222, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_219, scope: 180 }{ id: 223, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_219.sequence), assign: BINARY_EXPRESSION_LEFT_217, scope: 180 }{ id: 228, instruction: divide, input: (BINARY_EXPRESSION_LEFT_217, config.epoch_length), assign: epoch, scope: 180 }{ id: 232, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_229, scope: 180 }{ id: 236, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_233, scope: 180 }{ id: 246, instruction: evaluate, input: (StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_229, CALL_EXPRESSION_ARG_2_233, config.epoch_length, epoch), assign: minter_stats_key, scope: 180 }{ id: 254, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_251, scope: 180 }{ id: 255, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_251.temporary), assign: METHOD_CALL_EXPRESSION_250, scope: 180 }{ id: 256, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_250.get, minter_stats_key), assign: METHOD_CALL_EXPRESSION_247, scope: 180 }{ id: 257, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_247.unwrap_or_default), assign: minter_stats, scope: 180 }{ id: 265, instruction: add, input: (minter_stats.consumed_limit, amount), assign: consumed_limit, scope: 180 }{ id: 266, instruction: instantiate_object, input: (UDT, MinterStats, consumed_limit), assign: new_minter_stats, scope: 180 }{ id: 279, instruction: evaluate, input: (greater_than, new_minter_stats.consumed_limit, config.limit), assign: CONDITIONAL_JUMP_ASSIGNMENT_268, scope: 180 }{ id: 281, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_268, 280), scope: 180 }{ id: 287, instruction: evaluate, input: (Err, Error::DailyLimitInsufficient), assign: RETURN_VALUE_LABEL_282, scope: 280 }{ id: 288, instruction: return, input: (RETURN_VALUE_LABEL_282), scope: 280 }{ id: 298, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_295, scope: 180 }{ id: 299, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_295.temporary), assign: METHOD_CALL_EXPRESSION_294, scope: 180 }{ id: 300, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_294.set, minter_stats_key, new_minter_stats), scope: 180 }{ id: 318, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_315, scope: 180 }{ id: 319, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_315.temporary), assign: METHOD_CALL_EXPRESSION_314, scope: 180 }{ id: 313, instruction: multiply, input: (epoch, config.epoch_length), assign: METHOD_CALL_ARG_3_305, scope: 180 }{ id: 320, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_314.extend_ttl, minter_stats_key, 0, METHOD_CALL_ARG_3_305), assign: Thing_to_return, scope: 180 }{ id: 321, instruction: jump, input: (0), scope: 180 }{ id: 328, instruction: evaluate, input: (MintClient::new, env, contract), assign: client, scope: 0 }{ id: 335, instruction: evaluate, input: (client.mint, to, amount), scope: 0 }{ id: 337, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_336, scope: 0 }{ id: 341, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_336), 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: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e31a0 - core::panicking::assert_failed::hc47178b1cef2029f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d213730 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5c695d214565 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock::h9cf97cd275154b49 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5c695d2145a7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock::{{closure}}::hea9a37765d498040 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5c695d1cb456 - core::ops::function::FnOnce::call_once::h9c49cdbb40d84eba [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x758d8ce73aa4 - [INFO] [stdout] 46: 0x758d8cf00a34 - clone [INFO] [stdout] 47: 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' (124) 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: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e2fe7 - core::panicking::assert_failed::h53793c26c4c96fe4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d24dc48 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_let_expression::h70b37e0c1d8321e6 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:475:9 [INFO] [stdout] 22: 0x5c695d24de17 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_let_expression::{{closure}}::hd78f1d8a23baaa9f [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:470:39 [INFO] [stdout] 23: 0x5c695d1c99f6 - core::ops::function::FnOnce::call_once::h1e909a8a38076519 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x758d8ce73aa4 - [INFO] [stdout] 45: 0x758d8cf00a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::if_expression::tests::test_handle_if_true_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::if_expression::tests::test_handle_if_true_expression' (125) panicked at src/translate/expression/if_expression.rs:109:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 2, name: "assign", input: ["true"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_0", scope: 0 }, Instruction { id: 4, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "3"], assign: "", scope: 0 }, Instruction { id: 5, name: "jump", input: ["0"], assign: "", scope: 3 }] [INFO] [stdout] right: [Instruction { id: 1, name: "assign", input: ["true"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_0", scope: 0 }, Instruction { id: 3, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "2"], assign: "", scope: 0 }, Instruction { id: 4, name: "jump", input: ["0"], assign: "", scope: 2 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e2fe7 - core::panicking::assert_failed::h53793c26c4c96fe4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d25043e - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_true_expression::h60f452236e51b071 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:109:9 [INFO] [stdout] 22: 0x5c695d250547 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_true_expression::{{closure}}::h1aea6a914df7f406 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:104:40 [INFO] [stdout] 23: 0x5c695d1ca8c6 - core::ops::function::FnOnce::call_once::h594c1687ae4f682f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x758d8ce73aa4 - [INFO] [stdout] 45: 0x758d8cf00a34 - clone [INFO] [stdout] 46: 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' (105) panicked at src/translate/expression/assign_expression.rs:64:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 3, name: "assign", input: ["a"], assign: "ASSIGN_EXPRESSION_LEFT_0", scope: 0 }, Instruction { id: 4, name: "assign", input: ["1"], assign: "ASSIGN_EXPRESSION_RIGHT_1", scope: 0 }, Instruction { id: 5, name: "assign", input: ["ASSIGN_EXPRESSION_RIGHT_1"], assign: "ASSIGN_EXPRESSION_LEFT_0", 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: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e2fe7 - core::panicking::assert_failed::h53793c26c4c96fe4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d2118ef - rust_to_dtr::translate::expression::assign_expression::tests::test_handle_assign_expression::h531e95026a21c9da [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/assign_expression.rs:64:9 [INFO] [stdout] 22: 0x5c695d2119f7 - rust_to_dtr::translate::expression::assign_expression::tests::test_handle_assign_expression::{{closure}}::hed6a1bf8c4c53cdf [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/assign_expression.rs:60:39 [INFO] [stdout] 23: 0x5c695d1ca886 - core::ops::function::FnOnce::call_once::h592da19d5335dac1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x758d8ce73aa4 - [INFO] [stdout] 45: 0x758d8cf00a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::if_expression::tests::test_handle_if_true_nested_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::if_expression::tests::test_handle_if_true_nested_expression' (126) panicked at src/translate/expression/if_expression.rs:149:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 1, name: "assign", input: ["true"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_0", scope: 0 }, Instruction { id: 3, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "2"], assign: "", scope: 0 }, Instruction { id: 3, name: "assign", input: ["true"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_4", scope: 2 }, Instruction { id: 5, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_4", "4"], assign: "", scope: 2 }, Instruction { id: 6, name: "print", input: ["\"nested_if\""], assign: "", scope: 4 }, Instruction { id: 7, name: "jump", input: ["2"], assign: "", scope: 4 }, Instruction { id: 8, name: "print", input: ["\"after_nested_if\""], assign: "", scope: 2 }, Instruction { id: 9, name: "jump", input: ["0"], assign: "", scope: 2 }] [INFO] [stdout] right: [Instruction { id: 1, name: "assign", input: ["true"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_0", scope: 0 }, Instruction { id: 3, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "2"], assign: "", scope: 0 }, Instruction { id: 5, name: "assign", input: ["true"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_4", scope: 2 }, Instruction { id: 7, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_4", "6"], assign: "", scope: 2 }, Instruction { id: 8, name: "print", input: ["\"nested_if\""], assign: "", scope: 6 }, Instruction { id: 9, name: "jump", input: ["2"], assign: "", scope: 6 }, Instruction { id: 10, name: "print", input: ["\"after_nested_if\""], assign: "", scope: 2 }, Instruction { id: 11, name: "jump", input: ["0"], assign: "", scope: 2 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e2fe7 - core::panicking::assert_failed::h53793c26c4c96fe4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d256b15 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_true_nested_expression::hb8988f092d1601c7 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:149:9 [INFO] [stdout] 22: 0x5c695d256cf7 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_true_nested_expression::{{closure}}::hcf58d9a6bee2c3a8 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:138:47 [INFO] [stdout] 23: 0x5c695d1cc5e6 - core::ops::function::FnOnce::call_once::hf16057f41c5f672d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x758d8ce73aa4 - [INFO] [stdout] 45: 0x758d8cf00a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::return_expression::tests::test_return_expression_int stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::return_expression::tests::test_return_expression_int' (144) panicked at src/translate/expression/return_expression.rs:80:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Ok([Instruction { id: 2, name: "assign", input: ["1"], assign: "RETURN_VALUE_LABEL_0", scope: 0 }, Instruction { id: 3, name: "return", input: ["RETURN_VALUE_LABEL_0"], assign: "", scope: 0 }]) [INFO] [stdout] right: Ok([Instruction { id: 1, name: "assign", input: ["1"], assign: "RETURN_VALUE_LABEL_0", scope: 0 }, Instruction { id: 2, name: "return", input: ["RETURN_VALUE_LABEL_0"], assign: "", scope: 0 }]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e3026 - core::panicking::assert_failed::h548b338506c0ae7b [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d1ddacf - rust_to_dtr::translate::expression::return_expression::tests::test_return_expression_int::hffa9690d21a7b759 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/return_expression.rs:80:9 [INFO] [stdout] 22: 0x5c695d1ddb97 - rust_to_dtr::translate::expression::return_expression::tests::test_return_expression_int::{{closure}}::hee0c27a54c5aa58a [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/return_expression.rs:54:36 [INFO] [stdout] 23: 0x5c695d1cb366 - core::ops::function::FnOnce::call_once::h962725f34edad081 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x758d8ce73aa4 - [INFO] [stdout] 45: 0x758d8cf00a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::struct_expression::tests::test_handle_struct_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::struct_expression::tests::test_handle_struct_expression' (146) panicked at src/translate/expression/struct_expression.rs:68:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 2, name: "assign", input: ["1"], assign: "a", scope: 0 }, Instruction { id: 3, name: "assign", input: ["2"], assign: "b", scope: 0 }, Instruction { id: 4, name: "instantiate_object", input: ["UDT", "Struct", "a", "b"], assign: "STRUCT_EXPRESSION_RESULT_5", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 0, name: "assign", input: ["1"], assign: "a", scope: 0 }, Instruction { id: 1, name: "assign", input: ["2"], assign: "b", scope: 0 }, Instruction { id: 2, name: "instantiate_object", input: ["UDT", "Struct", "a", "b"], assign: "STRUCT_EXPRESSION_RESULT_3", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e2fe7 - core::panicking::assert_failed::h53793c26c4c96fe4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d1f97e4 - rust_to_dtr::translate::expression::struct_expression::tests::test_handle_struct_expression::hc8d72d51b3bd132b [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/struct_expression.rs:68:9 [INFO] [stdout] 22: 0x5c695d1f98e7 - rust_to_dtr::translate::expression::struct_expression::tests::test_handle_struct_expression::{{closure}}::hbd95a60e9b18a7e8 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/struct_expression.rs:64:39 [INFO] [stdout] 23: 0x5c695d1caea6 - core::ops::function::FnOnce::call_once::h7742de0eba39af28 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x758d8ce73aa4 - [INFO] [stdout] 45: 0x758d8cf00a34 - 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' (137) panicked at src/translate/expression/match_expression.rs:101: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: 11, name: "evaluate", input: ["equal_to", "THING_TO_COMPARE_AGAINST_1", "Struct::Variant1"], assign: "CONDITIONAL_JUMP_CHECK_10", scope: 0 }, Instruction { id: 13, name: "jump", input: ["CONDITIONAL_JUMP_CHECK_10", "12"], assign: "", scope: 0 }, Instruction { id: 5, name: "evaluate", input: ["equal_to", "THING_TO_COMPARE_AGAINST_1", "Struct::Variant2"], assign: "CONDITIONAL_JUMP_CHECK_4", scope: 0 }, Instruction { id: 7, name: "jump", input: ["CONDITIONAL_JUMP_CHECK_4", "6"], assign: "", scope: 0 }, Instruction { id: 14, name: "print", input: ["\"Variant1\""], assign: "", scope: 12 }, Instruction { id: 1, name: "jump", input: ["0"], assign: "", scope: 12 }, Instruction { id: 0, name: "print", input: ["\"Variant2\""], assign: "", scope: 6 }, Instruction { id: 1, name: "jump", input: ["0"], assign: "", scope: 6 }] [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: 5, name: "jump", input: ["CONDITIONAL_JUMP_CHECK_2", "4"], assign: "", 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: 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: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e2fe7 - core::panicking::assert_failed::h53793c26c4c96fe4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d210b62 - rust_to_dtr::translate::expression::match_expression::tests::test_handle_match_expression::h7dd2a9169377634d [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/match_expression.rs:101:9 [INFO] [stdout] 22: 0x5c695d210d77 - rust_to_dtr::translate::expression::match_expression::tests::test_handle_match_expression::{{closure}}::h3be9a5dbc41599d8 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/match_expression.rs:93:38 [INFO] [stdout] 23: 0x5c695d1cabe6 - core::ops::function::FnOnce::call_once::h6cdb14c017524a47 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 44: 0x758d8ce73aa4 - [INFO] [stdout] 45: 0x758d8cf00a34 - 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: 11, instruction: evaluate, input: (e.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.has, DataKey::Offer), assign: CONDITIONAL_JUMP_ASSIGNMENT_4, scope: 0 } [INFO] [stdout] { id: 15, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_4, 14), scope: 0 } [INFO] [stdout] { id: 16, instruction: exit_with_message, input: ("offer is already created"), scope: 14 } [INFO] [stdout] { id: 25, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_19, scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_20, scope: 0 } [INFO] [stdout] { id: 31, instruction: or, input: (BINARY_EXPRESSION_LEFT_19, BINARY_EXPRESSION_RIGHT_20), assign: CONDITIONAL_JUMP_ASSIGNMENT_18, scope: 0 } [INFO] [stdout] { id: 33, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_18, 32), scope: 0 } [INFO] [stdout] { id: 34, instruction: exit_with_message, input: ("zero price is not allowed"), scope: 32 } [INFO] [stdout] { id: 38, instruction: evaluate, input: (seller.require_auth), scope: 0 } [INFO] [stdout] { id: 6, 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: 10, 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: 13, instruction: evaluate, input: (buyer.require_auth), scope: 0 } [INFO] [stdout] { id: 18, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (token::Client::new, e, offer.sell_token), assign: sell_token_client, scope: 0 } [INFO] [stdout] { id: 38, instruction: evaluate, input: (token::Client::new, e, offer.buy_token), assign: buy_token_client, scope: 0 } [INFO] [stdout] { id: 49, instruction: evaluate, input: (buy_token_amount.checked_mul, offer.sell_price), assign: METHOD_CALL_EXPRESSION_41, scope: 0 } [INFO] [stdout] { id: 50, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.unwrap_optimized), assign: BINARY_EXPRESSION_LEFT_39, scope: 0 } [INFO] [stdout] { id: 55, instruction: divide, input: (BINARY_EXPRESSION_LEFT_39, offer.buy_price), assign: sell_token_amount, scope: 0 } [INFO] [stdout] { id: 61, instruction: evaluate, input: (less_than, sell_token_amount, min_sell_token_amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_56, scope: 0 } [INFO] [stdout] { id: 63, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_56, 62), scope: 0 } [INFO] [stdout] { id: 64, instruction: exit_with_message, input: ("price is too low"), scope: 62 } [INFO] [stdout] { id: 68, instruction: evaluate, input: (e.current_contract_address), assign: contract, scope: 0 } [INFO] [stdout] { id: 77, instruction: evaluate, input: (buy_token_client.transfer, buyer, contract, buy_token_amount), scope: 0 } [INFO] [stdout] { id: 86, instruction: evaluate, input: (sell_token_client.transfer, contract, buyer, sell_token_amount), scope: 0 } [INFO] [stdout] { id: 98, 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: 5, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (token::Client::new, e, token), assign: METHOD_CALL_EXPRESSION_23, scope: 0 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (e.current_contract_address), assign: METHOD_CALL_ARG_1_12, scope: 0 } [INFO] [stdout] { id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_23.transfer, METHOD_CALL_ARG_1_12, 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: 10, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_4, scope: 0 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_5, scope: 0 } [INFO] [stdout] { id: 16, instruction: or, input: (BINARY_EXPRESSION_LEFT_4, BINARY_EXPRESSION_RIGHT_5), assign: CONDITIONAL_JUMP_ASSIGNMENT_3, scope: 0 } [INFO] [stdout] { id: 18, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_3, 17), scope: 0 } [INFO] [stdout] { id: 19, instruction: exit_with_message, input: ("zero price is not allowed"), scope: 17 } [INFO] [stdout] { id: 25, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 } [INFO] [stdout] { id: 31, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 } [INFO] [stdout] { id: 39, instruction: assign, input: (sell_price), assign: offer.sell_price, scope: 0 } [INFO] [stdout] { id: 47, instruction: assign, input: (buy_price), assign: offer.buy_price, scope: 0 } [INFO] [stdout] { id: 54, 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: 59, 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: 7, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 0 } [INFO] [stdout] { id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.instance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.get, DataKey::Offer), assign: METHOD_CALL_EXPRESSION_0, scope: 0 } [INFO] [stdout] { id: 10, 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: 8, instruction: evaluate, input: (e.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.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' (95) 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: 11, instruction: evaluate, input: (e.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.has, DataKey::Offer), assign: CONDITIONAL_JUMP_ASSIGNMENT_4, scope: 0 }{ id: 15, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_4, 14), scope: 0 }{ id: 16, instruction: exit_with_message, input: (\"offer is already created\"), scope: 14 }{ id: 25, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_19, scope: 0 }{ id: 30, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_20, scope: 0 }{ id: 31, instruction: or, input: (BINARY_EXPRESSION_LEFT_19, BINARY_EXPRESSION_RIGHT_20), assign: CONDITIONAL_JUMP_ASSIGNMENT_18, scope: 0 }{ id: 33, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_18, 32), scope: 0 }{ id: 34, instruction: exit_with_message, input: (\"zero price is not allowed\"), scope: 32 }{ id: 38, instruction: evaluate, input: (seller.require_auth), scope: 0 }{ id: 6, instruction: instantiate_object, input: (UDT, Offer, seller, sell_token, buy_token, sell_price, buy_price), assign: CALL_EXPRESSION_ARG_2_41, scope: 0 }{ id: 10, 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: 13, instruction: evaluate, input: (buyer.require_auth), scope: 0 }{ id: 18, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 }{ id: 28, instruction: evaluate, input: (token::Client::new, e, offer.sell_token), assign: sell_token_client, scope: 0 }{ id: 38, instruction: evaluate, input: (token::Client::new, e, offer.buy_token), assign: buy_token_client, scope: 0 }{ id: 49, instruction: evaluate, input: (buy_token_amount.checked_mul, offer.sell_price), assign: METHOD_CALL_EXPRESSION_41, scope: 0 }{ id: 50, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.unwrap_optimized), assign: BINARY_EXPRESSION_LEFT_39, scope: 0 }{ id: 55, instruction: divide, input: (BINARY_EXPRESSION_LEFT_39, offer.buy_price), assign: sell_token_amount, scope: 0 }{ id: 61, instruction: evaluate, input: (less_than, sell_token_amount, min_sell_token_amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_56, scope: 0 }{ id: 63, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_56, 62), scope: 0 }{ id: 64, instruction: exit_with_message, input: (\"price is too low\"), scope: 62 }{ id: 68, instruction: evaluate, input: (e.current_contract_address), assign: contract, scope: 0 }{ id: 77, instruction: evaluate, input: (buy_token_client.transfer, buyer, contract, buy_token_amount), scope: 0 }{ id: 86, instruction: evaluate, input: (sell_token_client.transfer, contract, buyer, sell_token_amount), scope: 0 }{ id: 98, instruction: evaluate, input: (buy_token_client.transfer, contract, offer.seller, buy_token_amount), scope: 0 }$-() [withdraw]* Inputs:{e: Envtoken: Addressamount: BigInteger}* Instructions:${ id: 5, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 }{ id: 11, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 }{ id: 30, instruction: evaluate, input: (token::Client::new, e, token), assign: METHOD_CALL_EXPRESSION_23, scope: 0 }{ id: 15, instruction: evaluate, input: (e.current_contract_address), assign: METHOD_CALL_ARG_1_12, scope: 0 }{ id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_23.transfer, METHOD_CALL_ARG_1_12, offer.seller, amount), scope: 0 }$-() [updt_price]* Inputs:{e: Envsell_price: Integerbuy_price: Integer}* Instructions:${ id: 10, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_4, scope: 0 }{ id: 15, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_5, scope: 0 }{ id: 16, instruction: or, input: (BINARY_EXPRESSION_LEFT_4, BINARY_EXPRESSION_RIGHT_5), assign: CONDITIONAL_JUMP_ASSIGNMENT_3, scope: 0 }{ id: 18, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_3, 17), scope: 0 }{ id: 19, instruction: exit_with_message, input: (\"zero price is not allowed\"), scope: 17 }{ id: 25, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 }{ id: 31, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 }{ id: 39, instruction: assign, input: (sell_price), assign: offer.sell_price, scope: 0 }{ id: 47, instruction: assign, input: (buy_price), assign: offer.buy_price, scope: 0 }{ id: 54, instruction: evaluate, input: (write_offer, e, offer), scope: 0 }$-() [get_offer]* Inputs:{e: Env}* Output: Offer* Instructions:${ id: 59, 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: 7, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.instance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.get, DataKey::Offer), assign: METHOD_CALL_EXPRESSION_0, scope: 0 }{ id: 10, 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: 8, instruction: evaluate, input: (e.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.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: 7, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.instance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.has, DataKey::Offer), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 11, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 10), scope: 0 }{ id: 12, instruction: exit_with_message, input: (\"offer is already created\"), scope: 10 }{ id: 21, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_15, scope: 0 }{ id: 26, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_16, scope: 0 }{ id: 27, instruction: or, input: (BINARY_EXPRESSION_LEFT_15, BINARY_EXPRESSION_RIGHT_16), assign: CONDITIONAL_JUMP_ASSIGNMENT_14, scope: 0 }{ id: 29, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_14, 28), scope: 0 }{ id: 30, instruction: exit_with_message, input: (\"zero price is not allowed\"), scope: 28 }{ id: 34, instruction: evaluate, input: (seller.require_auth), scope: 0 }{ id: 43, instruction: instantiate_object, input: (UDT, Offer, seller, sell_token, buy_token, sell_price, buy_price), assign: CALL_EXPRESSION_ARG_2_37, scope: 0 }{ id: 47, instruction: evaluate, input: (write_offer, e, CALL_EXPRESSION_ARG_2_37), scope: 0 }$-() [trade]* Inputs:{e: Envbuyer: Addressbuy_token_amount: BigIntegermin_sell_token_amount: BigInteger}* Instructions:${ id: 50, instruction: evaluate, input: (buyer.require_auth), scope: 0 }{ id: 55, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 }{ id: 65, instruction: evaluate, input: (token::Client::new, e, offer.sell_token), assign: sell_token_client, scope: 0 }{ id: 75, instruction: evaluate, input: (token::Client::new, e, offer.buy_token), assign: buy_token_client, scope: 0 }{ id: 86, instruction: evaluate, input: (buy_token_amount.checked_mul, offer.sell_price), assign: METHOD_CALL_EXPRESSION_78, scope: 0 }{ id: 87, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_78.unwrap_optimized), assign: BINARY_EXPRESSION_LEFT_76, scope: 0 }{ id: 92, instruction: divide, input: (BINARY_EXPRESSION_LEFT_76, offer.buy_price), assign: sell_token_amount, scope: 0 }{ id: 98, instruction: evaluate, input: (less_than, sell_token_amount, min_sell_token_amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_93, scope: 0 }{ id: 100, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_93, 99), scope: 0 }{ id: 101, instruction: exit_with_message, input: (\"price is too low\"), scope: 99 }{ id: 105, instruction: evaluate, input: (e.current_contract_address), assign: contract, scope: 0 }{ id: 114, instruction: evaluate, input: (buy_token_client.transfer, buyer, contract, buy_token_amount), scope: 0 }{ id: 123, instruction: evaluate, input: (sell_token_client.transfer, contract, buyer, sell_token_amount), scope: 0 }{ id: 135, instruction: evaluate, input: (buy_token_client.transfer, contract, offer.seller, buy_token_amount), scope: 0 }$-() [withdraw]* Inputs:{e: Envtoken: Addressamount: BigInteger}* Instructions:${ id: 140, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 }{ id: 146, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 }{ id: 165, instruction: evaluate, input: (token::Client::new, e, token), assign: METHOD_CALL_EXPRESSION_158, scope: 0 }{ id: 150, instruction: evaluate, input: (e.current_contract_address), assign: METHOD_CALL_ARG_1_147, scope: 0 }{ id: 166, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_158.transfer, METHOD_CALL_ARG_1_147, offer.seller, amount), scope: 0 }$-() [updt_price]* Inputs:{e: Envsell_price: Integerbuy_price: Integer}* Instructions:${ id: 174, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_168, scope: 0 }{ id: 179, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_169, scope: 0 }{ id: 180, instruction: or, input: (BINARY_EXPRESSION_LEFT_168, BINARY_EXPRESSION_RIGHT_169), assign: CONDITIONAL_JUMP_ASSIGNMENT_167, scope: 0 }{ id: 182, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_167, 181), scope: 0 }{ id: 183, instruction: exit_with_message, input: (\"zero price is not allowed\"), scope: 181 }{ id: 189, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 }{ id: 195, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 }{ id: 203, instruction: assign, input: (sell_price), assign: offer.sell_price, scope: 0 }{ id: 211, instruction: assign, input: (buy_price), assign: offer.buy_price, scope: 0 }{ id: 218, instruction: evaluate, input: (write_offer, e, offer), scope: 0 }$-() [get_offer]* Inputs:{e: Env}* Output: Offer* Instructions:${ id: 223, 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: 7, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.instance), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.get, DataKey::Offer), assign: METHOD_CALL_EXPRESSION_0, scope: 0 }{ id: 10, 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: 8, instruction: evaluate, input: (e.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.set, DataKey::Offer, offer), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e31a0 - core::panicking::assert_failed::hc47178b1cef2029f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d213730 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5c695d214a15 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_single_offer::hb7b2b4e02a1eb161 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5c695d214a57 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_single_offer::{{closure}}::hbe7bc89661a161d4 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5c695d1ca446 - core::ops::function::FnOnce::call_once::h470c9d1cc96b0c9c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x758d8ce73aa4 - [INFO] [stdout] 46: 0x758d8cf00a34 - clone [INFO] [stdout] 47: 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: 7, instruction: evaluate, input: (atomic_swap::Client::new, env, swap_contract), assign: swap_client, scope: 0 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (swaps_a.iter), assign: ITERATOR_8, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (start, ITERATOR_8), assign: acc_a, scope: 0 } [INFO] [stdout] { id: 14, instruction: end_of_iteration_check, input: (acc_a, ITERATOR_8), assign: CHECK_CONDITION_ASSIGNMENT_9, scope: 0 } [INFO] [stdout] { id: 16, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_9, 15), scope: 0 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (swaps_b.len), assign: RANGE_END_20, scope: 15 } [INFO] [stdout] { id: 25, instruction: instantiate_object, input: (Range, 0, RANGE_END_20), assign: ITERATOR_17, scope: 15 } [INFO] [stdout] { id: 26, instruction: evaluate, input: (start, ITERATOR_17), assign: i, scope: 15 } [INFO] [stdout] { id: 27, instruction: end_of_iteration_check, input: (i, ITERATOR_17), assign: CHECK_CONDITION_ASSIGNMENT_18, scope: 15 } [INFO] [stdout] { id: 29, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_18, 28), scope: 15 } [INFO] [stdout] { id: 35, instruction: evaluate, input: (swaps_b.get, i), assign: METHOD_CALL_EXPRESSION_30, scope: 28 } [INFO] [stdout] { id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.unwrap), assign: acc_b, scope: 28 } [INFO] [stdout] { id: 50, instruction: evaluate, input: (greater_than_or_equal_to, acc_a.amount, acc_b.min_recv), assign: BINARY_EXPRESSION_LEFT_38, scope: 28 } [INFO] [stdout] { id: 61, instruction: evaluate, input: (less_than_or_equal_to, acc_a.min_recv, acc_b.amount), assign: BINARY_EXPRESSION_RIGHT_39, scope: 28 } [INFO] [stdout] { id: 62, instruction: and, input: (BINARY_EXPRESSION_LEFT_38, BINARY_EXPRESSION_RIGHT_39), assign: CONDITIONAL_JUMP_ASSIGNMENT_37, scope: 28 } [INFO] [stdout] { id: 64, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_37, 63), scope: 28 } [INFO] [stdout] { id: 103, 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_66, scope: 63 } [INFO] [stdout] { id: 104, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_66.is_ok), assign: CONDITIONAL_JUMP_ASSIGNMENT_65, scope: 63 } [INFO] [stdout] { id: 106, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_65, 105), scope: 63 } [INFO] [stdout] { id: 111, instruction: evaluate, input: (swaps_b.remove, i), scope: 105 } [INFO] [stdout] { id: 112, instruction: jump, input: (0), scope: 105 } [INFO] [stdout] { id: 114, instruction: jump, input: (28), scope: 63 } [INFO] [stdout] { id: 0, instruction: increment, input: (i), scope: 28 } [INFO] [stdout] { id: 1, instruction: goto, input: (27), scope: 28 } [INFO] [stdout] { id: 2, instruction: increment, input: (acc_a), scope: 15 } [INFO] [stdout] { id: 3, instruction: goto, input: (14), scope: 15 } [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' (76) 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: 7, instruction: evaluate, input: (atomic_swap::Client::new, env, swap_contract), assign: swap_client, scope: 0 }{ id: 12, instruction: evaluate, input: (swaps_a.iter), assign: ITERATOR_8, scope: 0 }{ id: 13, instruction: evaluate, input: (start, ITERATOR_8), assign: acc_a, scope: 0 }{ id: 14, instruction: end_of_iteration_check, input: (acc_a, ITERATOR_8), assign: CHECK_CONDITION_ASSIGNMENT_9, scope: 0 }{ id: 16, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_9, 15), scope: 0 }{ id: 24, instruction: evaluate, input: (swaps_b.len), assign: RANGE_END_20, scope: 15 }{ id: 25, instruction: instantiate_object, input: (Range, 0, RANGE_END_20), assign: ITERATOR_17, scope: 15 }{ id: 26, instruction: evaluate, input: (start, ITERATOR_17), assign: i, scope: 15 }{ id: 27, instruction: end_of_iteration_check, input: (i, ITERATOR_17), assign: CHECK_CONDITION_ASSIGNMENT_18, scope: 15 }{ id: 29, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_18, 28), scope: 15 }{ id: 35, instruction: evaluate, input: (swaps_b.get, i), assign: METHOD_CALL_EXPRESSION_30, scope: 28 }{ id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.unwrap), assign: acc_b, scope: 28 }{ id: 50, instruction: evaluate, input: (greater_than_or_equal_to, acc_a.amount, acc_b.min_recv), assign: BINARY_EXPRESSION_LEFT_38, scope: 28 }{ id: 61, instruction: evaluate, input: (less_than_or_equal_to, acc_a.min_recv, acc_b.amount), assign: BINARY_EXPRESSION_RIGHT_39, scope: 28 }{ id: 62, instruction: and, input: (BINARY_EXPRESSION_LEFT_38, BINARY_EXPRESSION_RIGHT_39), assign: CONDITIONAL_JUMP_ASSIGNMENT_37, scope: 28 }{ id: 64, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_37, 63), scope: 28 }{ id: 103, 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_66, scope: 63 }{ id: 104, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_66.is_ok), assign: CONDITIONAL_JUMP_ASSIGNMENT_65, scope: 63 }{ id: 106, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_65, 105), scope: 63 }{ id: 111, instruction: evaluate, input: (swaps_b.remove, i), scope: 105 }{ id: 112, instruction: jump, input: (0), scope: 105 }{ id: 114, instruction: jump, input: (28), scope: 63 }{ id: 0, instruction: increment, input: (i), scope: 28 }{ id: 1, instruction: goto, input: (27), scope: 28 }{ id: 2, instruction: increment, input: (acc_a), scope: 15 }{ id: 3, instruction: goto, input: (14), scope: 15 }$:[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: 7, instruction: evaluate, input: (atomic_swap::Client::new, env, swap_contract), assign: swap_client, scope: 0 }{ id: 12, instruction: evaluate, input: (swaps_a.iter), assign: ITERATOR_8, scope: 0 }{ id: 13, instruction: evaluate, input: (start, ITERATOR_8), assign: acc_a, scope: 0 }{ id: 14, instruction: end_of_iteration_check, input: (acc_a, ITERATOR_8), assign: CHECK_CONDITION_ASSIGNMENT_9, scope: 0 }{ id: 16, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_9, 15), scope: 0 }{ id: 24, instruction: evaluate, input: (swaps_b.len), assign: RANGE_END_20, scope: 15 }{ id: 25, instruction: instantiate_object, input: (Range, 0, RANGE_END_20), assign: ITERATOR_17, scope: 15 }{ id: 26, instruction: evaluate, input: (start, ITERATOR_17), assign: i, scope: 15 }{ id: 27, instruction: end_of_iteration_check, input: (i, ITERATOR_17), assign: CHECK_CONDITION_ASSIGNMENT_18, scope: 15 }{ id: 29, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_18, 28), scope: 15 }{ id: 35, instruction: evaluate, input: (swaps_b.get, i), assign: METHOD_CALL_EXPRESSION_30, scope: 28 }{ id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.unwrap), assign: acc_b, scope: 28 }{ id: 50, instruction: evaluate, input: (greater_than_or_equal_to, acc_a.amount, acc_b.min_recv), assign: BINARY_EXPRESSION_LEFT_38, scope: 28 }{ id: 61, instruction: evaluate, input: (less_than_or_equal_to, acc_a.min_recv, acc_b.amount), assign: BINARY_EXPRESSION_RIGHT_39, scope: 28 }{ id: 62, instruction: and, input: (BINARY_EXPRESSION_LEFT_38, BINARY_EXPRESSION_RIGHT_39), assign: CONDITIONAL_JUMP_ASSIGNMENT_37, scope: 28 }{ id: 64, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_37, 63), scope: 28 }{ id: 103, 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_66, scope: 63 }{ id: 104, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_66.is_ok), assign: CONDITIONAL_JUMP_ASSIGNMENT_65, scope: 63 }{ id: 106, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_65, 105), scope: 63 }{ id: 111, instruction: evaluate, input: (swaps_b.remove, i), scope: 105 }{ id: 112, instruction: jump, input: (0), scope: 105 }{ id: 114, instruction: jump, input: (28), scope: 63 }{ id: 115, instruction: increment, input: (i), scope: 28 }{ id: 116, instruction: goto, input: (27), scope: 28 }{ id: 117, instruction: increment, input: (acc_a), scope: 15 }{ id: 118, instruction: goto, input: (14), scope: 15 }$:[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: 0x5c695d451cf2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c695d451cf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c695d451cf2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c695d451cf2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c695d463a6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c695d463a6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c695d41f4f3 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c695d41f4f3 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c695d42b2b2 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c695d42fcff - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c695d42fb91 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c695d27f77e - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c695d27f77e - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c695d43044e - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c695d43044e - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c695d43016a - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5c695d42b3e9 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c695d41300d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c695d46bc00 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c695d46ba03 - core::panicking::assert_failed_inner::h9da7317f574242f4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5c695d1e31a0 - core::panicking::assert_failed::hc47178b1cef2029f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5c695d213730 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h13ab084c46dc20f8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5c695d2150a5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap::hbed9b1121445eb89 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5c695d2150e7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap::{{closure}}::hab1093e567b58c47 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5c695d1c9e76 - core::ops::function::FnOnce::call_once::h3694fcc66c434817 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5c695d27f5eb - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5c695d27f5eb - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5c695d295045 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5c695d295045 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x5c695d295045 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5c695d295045 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5c695d295045 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5c695d295045 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5c695d295045 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5c695d26ba14 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5c695d26ba14 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5c695d26f2fa - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x5c695d26f2fa - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5c695d26f2fa - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5c695d26f2fa - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5c695d26f2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5c695d26f2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x5c695d42566f - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5c695d42566f - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 45: 0x758d8ce73aa4 - [INFO] [stdout] 46: 0x758d8cf00a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_non_range_for_loop [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_return_error [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_simplest_nested_scoping [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_cross_contract_b [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_custom_types [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_deep_contract_auth [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_liquidity_pool [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_token [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] translate::expression::array_expression::tests::test_handle_array_expression [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::block_expression::tests::test_handle_block_expression [INFO] [stdout] translate::expression::if_expression::tests::test_handle_if_let_expression [INFO] [stdout] translate::expression::if_expression::tests::test_handle_if_true_expression [INFO] [stdout] translate::expression::if_expression::tests::test_handle_if_true_nested_expression [INFO] [stdout] translate::expression::match_expression::tests::test_handle_match_expression [INFO] [stdout] translate::expression::return_expression::tests::test_return_expression_int [INFO] [stdout] translate::expression::struct_expression::tests::test_handle_struct_expression [INFO] [stdout] [INFO] [stdout] test result: FAILED. 115 passed; 29 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0f91a9d4f4cfc258fcb1cad874168e606ab8cc37f0f3aa13ab8f9dd20624167e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f91a9d4f4cfc258fcb1cad874168e606ab8cc37f0f3aa13ab8f9dd20624167e", kill_on_drop: false }` [INFO] [stdout] 0f91a9d4f4cfc258fcb1cad874168e606ab8cc37f0f3aa13ab8f9dd20624167e