[INFO] fetching crate rust_to_dtr 0.16.0... [INFO] testing rust_to_dtr-0.16.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rust_to_dtr 0.16.0 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_to_dtr 0.16.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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 deranged v0.5.3 (available: v0.5.4) [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 indexmap v2.11.1 (available: v2.11.4) [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.41) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding serde v1.0.192 (available: v1.0.228) [INFO] [stderr] Adding serde_derive v1.0.192 (available: v1.0.228) [INFO] [stderr] Adding serde_json v1.0.108 (available: v1.0.145) [INFO] [stderr] Adding serde_with v3.12.0 (available: v3.14.1) [INFO] [stderr] Adding serde_with_macros v3.12.0 (available: v3.14.1) [INFO] [stderr] Adding sha2 v0.10.8 (available: v0.10.9) [INFO] [stderr] Adding soroban-sdk v20.5.0 (available: v23.0.2) [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-integer v0.1.45 [INFO] [stderr] Downloaded time-core v0.1.6 [INFO] [stderr] Downloaded zeroize v1.8.2 [INFO] [stderr] Downloaded platforms v3.6.0 [INFO] [stderr] Downloaded indexmap-nostd v0.4.0 [INFO] [stderr] Downloaded getrandom v0.2.11 [INFO] [stderr] Downloaded bytes-lit v0.0.5 [INFO] [stderr] Downloaded itertools v0.11.0 [INFO] [stderr] Downloaded num-bigint v0.4.4 [INFO] [stderr] Downloaded fiat-crypto v0.2.9 [INFO] [stderr] Downloaded soroban-env-guest v20.3.0 [INFO] [stderr] Downloaded time v0.3.44 [INFO] [stderr] Downloaded soroban-ledger-snapshot v20.5.0 [INFO] [stderr] Downloaded ed25519-dalek v2.0.0 [INFO] [stderr] Downloaded serde_derive v1.0.192 [INFO] [stderr] Downloaded thiserror-impl v1.0.55 [INFO] [stderr] Downloaded wasmparser v0.88.0 [INFO] [stderr] Downloaded soroban-env-macros v20.3.0 [INFO] [stderr] Downloaded wasmparser-nostd v0.100.2 [INFO] [stderr] Downloaded soroban-wasmi v0.31.1-soroban.20.0.1 [INFO] [stderr] Downloaded soroban-spec v20.5.0 [INFO] [stderr] Downloaded serde v1.0.192 [INFO] [stderr] Downloaded k256 v0.13.1 [INFO] [stderr] Downloaded curve25519-dalek v4.1.2 [INFO] [stderr] Downloaded syn v2.0.39 [INFO] [stderr] Downloaded stellar-strkey v0.0.8 [INFO] [stderr] Downloaded wasmi_arena v0.4.1 [INFO] [stderr] Downloaded stellar-xdr v20.1.0 [INFO] [stderr] Downloaded soroban-env-common v20.3.0 [INFO] [stderr] Downloaded soroban-spec-rust v20.5.0 [INFO] [stderr] Downloaded deranged v0.5.3 [INFO] [stderr] Downloaded time-macros v0.2.24 [INFO] [stderr] Downloaded thiserror v1.0.55 [INFO] [stderr] Downloaded curve25519-dalek-derive v0.1.1 [INFO] [stderr] Downloaded ed25519 v2.2.3 [INFO] [stderr] Downloaded hex-literal v0.4.1 [INFO] [stderr] Downloaded soroban-builtin-sdk-macros v20.3.0 [INFO] [stderr] Downloaded ethnum v1.5.0 [INFO] [stderr] Downloaded num-derive v0.4.1 [INFO] [stderr] Downloaded downcast-rs v1.2.1 [INFO] [stderr] Downloaded wasmi_core v0.13.0 [INFO] [stderr] Downloaded prettyplease v0.2.15 [INFO] [stderr] Downloaded escape-bytes v0.1.1 [INFO] [stderr] Downloaded soroban-sdk-macros v20.5.0 [INFO] [stderr] Downloaded serde_json v1.0.108 [INFO] [stderr] Downloaded soroban-sdk v20.5.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.69 [INFO] [stderr] Downloaded quote v1.0.33 [INFO] [stderr] Downloaded soroban-env-host v20.3.0 [INFO] [stderr] Downloaded crate-git-revision v0.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdb67c0e463ea3e5e21c083f7aed3aa0722219a875c8895ecdd8ae5136d4895d [INFO] running `Command { std: "docker" "start" "-a" "cdb67c0e463ea3e5e21c083f7aed3aa0722219a875c8895ecdd8ae5136d4895d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdb67c0e463ea3e5e21c083f7aed3aa0722219a875c8895ecdd8ae5136d4895d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdb67c0e463ea3e5e21c083f7aed3aa0722219a875c8895ecdd8ae5136d4895d", kill_on_drop: false }` [INFO] [stdout] cdb67c0e463ea3e5e21c083f7aed3aa0722219a875c8895ecdd8ae5136d4895d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7a3735076f71a5b3576dc9cc0340b6972d2f6f0116b4002c129000a05df5be6 [INFO] running `Command { std: "docker" "start" "-a" "a7a3735076f71a5b3576dc9cc0340b6972d2f6f0116b4002c129000a05df5be6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.55 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling escape-bytes v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling platforms v3.6.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling ethnum v1.5.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling indexmap-nostd v0.4.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling wasmi_arena v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling wasmparser-nostd v0.100.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling soroban-env-host v20.3.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling wasmparser v0.88.0 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling wasmi_core v0.13.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling soroban-wasmi v0.31.1-soroban.20.0.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling k256 v0.13.1 [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 soroban-builtin-sdk-macros v20.3.0 [INFO] [stderr] Compiling bytes-lit v0.0.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [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 1m 41s [INFO] running `Command { std: "docker" "inspect" "a7a3735076f71a5b3576dc9cc0340b6972d2f6f0116b4002c129000a05df5be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7a3735076f71a5b3576dc9cc0340b6972d2f6f0116b4002c129000a05df5be6", kill_on_drop: false }` [INFO] [stdout] a7a3735076f71a5b3576dc9cc0340b6972d2f6f0116b4002c129000a05df5be6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b01c77fed9e41842abd08c489d28728ff39a0d1f22f6c939d43224f31b4b8fc5 [INFO] running `Command { std: "docker" "start" "-a" "b01c77fed9e41842abd08c489d28728ff39a0d1f22f6c939d43224f31b4b8fc5", 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.65s [INFO] running `Command { std: "docker" "inspect" "b01c77fed9e41842abd08c489d28728ff39a0d1f22f6c939d43224f31b4b8fc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b01c77fed9e41842abd08c489d28728ff39a0d1f22f6c939d43224f31b4b8fc5", kill_on_drop: false }` [INFO] [stdout] b01c77fed9e41842abd08c489d28728ff39a0d1f22f6c939d43224f31b4b8fc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e5154284cd0f2bebd177c5954b37e92ad2a83ce6900ece1d1bb4a7d5b6db57b4 [INFO] running `Command { std: "docker" "start" "-a" "e5154284cd0f2bebd177c5954b37e92ad2a83ce6900ece1d1bb4a7d5b6db57b4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_to_dtr-c8886d6ae62dd5cc) [INFO] [stdout] [INFO] [stdout] running 144 tests [INFO] [stdout] test optimize::and_assign_elimination::tests::transform_and_assign_to_normal_op_with_assign_transforms_subtract_and_assign ... ok [INFO] [stdout] test common::compilation_state::test_scope_nary_tree ... ok [INFO] [stdout] test common::compilation_state::tests::test_compilation_state ... ok [INFO] [stdout] test common::compilation_state::tests::test_stack ... ok [INFO] [stdout] test common::compilation_state::tests::test_unique_number_generator ... ok [INFO] [stdout] test optimize::and_assign_elimination::tests::transform_and_assign_to_normal_op_with_assign_does_not_change_normal_op ... ok [INFO] [stdout] test optimize::and_assign_elimination::tests::transform_and_assign_to_normal_op_with_assign_transforms_add_and_assign ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_does_not_propagate_after_evaluate_reassignment ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_does_not_violate_scope ... 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_latest_value ... 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_propagates_same_value_multiple_times ... 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_works_for_method_call_base_object ... ok [INFO] [stdout] test optimize::constant_propagation::tests::rewrite_field_instruction_as_assign_works ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::do_a_thing ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::does_not_remove_assigns_when_defined_in_other_scope_and_used_later ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::remove_unused_assigns_due_to_eval_after ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::remove_unused_assigns_removes_unused_assigns_simple ... 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_exit_with_message ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::remove_unused_assigns_removes_unused_assigns_complex ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_jump_goto_and_return ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_jump_goto_return_and_assigns ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_unreachable_goto_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_unreachable_jump_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_unreachable_return_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::test_unreachable_jump_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::multi_scope_unreachable_return_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::handles_goto ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::conditional_jumps ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::handles_simple_for_loop ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::simple_one_scope_dead_code_after_jump ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::simple_one_scope_dead_code_after_return ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::simple_one_scope_goto_skips_instruction ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::simple_sequential ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_closure_around_answer_to_life ... 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_count_zero_to_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_log_if_answer_to_life ... 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_more_complex_if_conditional ... 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_non_range_for_loop ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_return_error ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_simple_sum_in_for_loop ... 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_simplest_nested_scoping ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_cross_contract_b ... ok [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_cross_contract_a ... 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_alloc ... ok [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_eth_abi ... 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_events ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_simple_account ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_increment_answer_to_life ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_return_if_expression_assignment ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_get_force_type_answer_to_life ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_custom_types ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_deep_contract_auth ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_token ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_various_result_handling_tactics ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_deployer_contract ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_liquidity_pool ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_a ... ok [INFO] [stdout] test translate::expression::assign_expression::tests::test_handle_assign_expression ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_atomic_swap ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_a_interface ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing ... FAILED [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_single_offer ... FAILED [INFO] [stdout] test translate::expression::binary_expression::tests::test_binary_expression_simple_subtraction_and_assignment ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_logging ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_b ... 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_errors ... FAILED [INFO] [stdout] test translate::expression::break_expression::tests::test_handle_break_expression ... ok [INFO] [stdout] test translate::expression::block_expression::tests::test_handle_block_expression ... ok [INFO] [stdout] test translate::expression::block_expression::tests::test_parse_block_stmt ... ok [INFO] [stdout] test translate::expression::cast_expression::tests::test_handle_cast_expression ... ok [INFO] [stdout] test translate::expression::binary_expression::tests::test_binary_expression_simple_addition ... ok [INFO] [stdout] test translate::expression::call_expression::tests::test_handle_call_expression_with_struct_init_as_input ... ok [INFO] [stdout] test translate::expression::closure_expression::tests::test_handle_closure_expression ... ok [INFO] [stdout] test translate::expression::call_expression::tests::test_handle_call_expression ... 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_else_expression ... ok [INFO] [stdout] test translate::expression::for_loop_expression::tests::test_handle_for_loop_expression ... ok [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_elseif_else_expression ... ok [INFO] [stdout] test translate::expression::field_expression::tests::test_handle_field_expression ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_ttl ... FAILED [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_let_expression ... ok [INFO] [stdout] test translate::expression::for_loop_expression::tests::test_handle_for_loop_non_range_iterator_expression ... ok [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_true_expression ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract ... FAILED [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_condition_expression ... FAILED [INFO] [stdout] test translate::expression::field_expression::tests::test_handle_field_expression_index ... 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_upgradable_contract_old_contract ... FAILED [INFO] [stdout] test translate::expression::call_expression::tests::test_handle_call_expression_with_path ... ok [INFO] [stdout] test translate::expression::index_expression::tests::test_handle_index_expression ... FAILED [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_true_nested_expression ... FAILED [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::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::lit_expression::tests::lit_expression::test_lit_expression_byte ... ok [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_int ... 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_char ... ok [INFO] [stdout] test translate::expression::method_call_expression::tests::test_handle_method_call_expression ... ok [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_byte_str ... 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::path_expression::tests::test_handle_path_expression ... ok [INFO] [stdout] test translate::expression::paren_expression::tests::test_handle_paren_expression ... ok [INFO] [stdout] test translate::expression::tuple_expression::tests::test_handle_tuple ... FAILED [INFO] [stdout] test translate::expression::range_expression::test::test_handle_create_full_range ... FAILED [INFO] [stdout] test translate::expression::return_expression::tests::test_return_expression_int ... ok [INFO] [stdout] test translate::expression::repeat_expression::tests::test_handle_repeat_expression ... ok [INFO] [stdout] test translate::expression::unary_expression::tests::test_handle_unary_negation_expression ... ok [INFO] [stdout] test translate::expression::unary_expression::tests::test_handle_unary_minus_expression ... FAILED [INFO] [stdout] test translate::type_name::tests::collections::test_figure_out_type_hash_map ... ok [INFO] [stdout] test translate::expression::match_expression::tests::test_handle_match_expression ... FAILED [INFO] [stdout] test translate::expression::struct_expression::tests::test_handle_struct_expression ... FAILED [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_vec_i32 ... 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_pointer ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_enum ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_primitive_f32 ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_primitive_bool ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_primitive_char ... 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] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_increment_answer_to_life stdout ---- [INFO] [stdout] DTR Code: [Contract]: IncrementAnswerToLifeContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [fourty_two_and_then_some] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] and_then_some: Integer [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 5, instruction: add, input: (42, and_then_some), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_increment_answer_to_life' (69) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: IncrementAnswerToLifeContract[Interface]:-() [fourty_two_and_then_some]* Inputs:{env: Envand_then_some: Integer}* Output: Integer* Instructions:${ id: 5, instruction: add, input: (42, and_then_some), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface]" [INFO] [stdout] right: "[Contract]: IncrementAnswerToLifeContract[Interface]:-() [fourty_two_and_then_some]* Inputs:{env: Envand_then_some: Integer}* Output: Integer* Instructions:${ id: 4, instruction: add, input: (42, and_then_some), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764f065 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_increment_answer_to_life::h3d36124c0be3b63e [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764f0a7 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_increment_answer_to_life::{{closure}}::h3237fd47421e35fb [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b4176665a6 - core::ops::function::FnOnce::call_once::hb9fd5b49c62f1969 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression stdout ---- [INFO] [stdout] DTR Code: [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [if_let_example] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] letter: Option [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 3, instruction: try_assign, input: (letter, Some(i)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 } [INFO] [stdout] { id: 9, instruction: jump, input: (8), scope: 0 } [INFO] [stdout] { id: 6, instruction: print, input: ("Matched {:?}!", i), scope: 4 } [INFO] [stdout] { id: 7, instruction: jump, input: (0), scope: 4 } [INFO] [stdout] { id: 10, instruction: print, input: ("Didn't match a number. Let's go with a letter!"), scope: 8 } [INFO] [stdout] { id: 11, instruction: jump, input: (0), scope: 8 } [INFO] [stdout] { id: 15, instruction: try_assign, input: (ok_foobar, Ok(foobar)), assign: CONDITIONAL_JUMP_ASSIGNMENT_12, scope: 0 } [INFO] [stdout] { id: 17, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_12, 16), scope: 0 } [INFO] [stdout] { id: 20, instruction: return, input: (foobar), scope: 16 } [INFO] [stdout] { id: 0, instruction: exit_with_message, input: ("This is a panic!"), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression' (68) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Helpers]:-() [if_let_example]* Inputs:{letter: Option}* Instructions:${ id: 3, instruction: try_assign, input: (letter, Some(i)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 }{ id: 9, instruction: jump, input: (8), scope: 0 }{ id: 6, instruction: print, input: (\"Matched {:?}!\", i), scope: 4 }{ id: 7, instruction: jump, input: (0), scope: 4 }{ id: 10, instruction: print, input: (\"Didn't match a number. Let's go with a letter!\"), scope: 8 }{ id: 11, instruction: jump, input: (0), scope: 8 }{ id: 15, instruction: try_assign, input: (ok_foobar, Ok(foobar)), assign: CONDITIONAL_JUMP_ASSIGNMENT_12, scope: 0 }{ id: 17, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_12, 16), scope: 0 }{ id: 20, instruction: return, input: (foobar), scope: 16 }{ id: 0, instruction: exit_with_message, input: (\"This is a panic!\"), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Helpers]:-() [if_let_example]* Inputs:{letter: Option}* Instructions:${ id: 3, instruction: try_assign, input: (letter, Some(i)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 }{ id: 9, instruction: jump, input: (8), scope: 0 }{ id: 6, instruction: print, input: (\"Matched {:?}!\", i), scope: 4 }{ id: 7, instruction: jump, input: (0), scope: 4 }{ id: 10, instruction: print, input: (\"Didn't match a number. Let's go with a letter!\"), scope: 8 }{ id: 11, instruction: jump, input: (0), scope: 8 }{ id: 15, instruction: try_assign, input: (ok_foobar, Ok(foobar)), assign: CONDITIONAL_JUMP_ASSIGNMENT_12, scope: 0 }{ id: 17, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_12, 16), scope: 0 }{ id: 20, instruction: return, input: (foobar), scope: 16 }{ id: 22, instruction: exit_with_message, input: (\"This is a panic!\"), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764e165 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression::had3a700fac128b09 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764e1a7 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression::{{closure}}::ha3cd10f2a1aba25f [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b417664666 - core::ops::function::FnOnce::call_once::h17ecc8f51c648332 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_return_if_expression_assignment stdout ---- [INFO] [stdout] DTR Code: [Contract]: NestedScoping [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [fourty_two_and_then_some] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] is_answer_to_life: Boolean [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 6, instruction: jump, input: (is_answer_to_life, 5), scope: 0 } [INFO] [stdout] { id: 10, instruction: jump, input: (9), scope: 0 } [INFO] [stdout] { id: 7, instruction: assign, input: (42), assign: RETURN_VALUE_LABEL_2, scope: 5 } [INFO] [stdout] { id: 8, instruction: jump, input: (0), scope: 5 } [INFO] [stdout] { id: 11, instruction: assign, input: (40), assign: RETURN_VALUE_LABEL_2, scope: 9 } [INFO] [stdout] { id: 12, instruction: jump, input: (0), scope: 9 } [INFO] [stdout] { id: 13, instruction: return, input: (RETURN_VALUE_LABEL_2), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_return_if_expression_assignment' (77) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: NestedScoping[Interface]:-() [fourty_two_and_then_some]* Inputs:{is_answer_to_life: Boolean}* Output: Integer* Instructions:${ id: 6, instruction: jump, input: (is_answer_to_life, 5), scope: 0 }{ id: 10, instruction: jump, input: (9), scope: 0 }{ id: 7, instruction: assign, input: (42), assign: RETURN_VALUE_LABEL_2, scope: 5 }{ id: 8, instruction: jump, input: (0), scope: 5 }{ id: 11, instruction: assign, input: (40), assign: RETURN_VALUE_LABEL_2, scope: 9 }{ id: 12, instruction: jump, input: (0), scope: 9 }{ id: 13, instruction: return, input: (RETURN_VALUE_LABEL_2), scope: 0 }$:[Interface]" [INFO] [stdout] right: "[Contract]: NestedScoping[Interface]:-() [fourty_two_and_then_some]* Inputs:{is_answer_to_life: Boolean}* Output: Integer* Instructions:${ id: 4, instruction: jump, input: (is_answer_to_life, 3), scope: 0 }{ id: 8, instruction: jump, input: (7), scope: 0 }{ id: 5, instruction: assign, input: (42), assign: RETURN_VALUE_LABEL_0, scope: 3 }{ id: 6, instruction: jump, input: (0), scope: 3 }{ id: 9, instruction: assign, input: (40), assign: RETURN_VALUE_LABEL_0, scope: 7 }{ id: 10, instruction: jump, input: (0), scope: 7 }{ id: 11, instruction: return, input: (RETURN_VALUE_LABEL_0), scope: 0 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764f625 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_return_if_expression_assignment::h761c648073af4017 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764f667 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_return_if_expression_assignment::{{closure}}::h53e7448157795a62 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b417664236 - core::ops::function::FnOnce::call_once::h090584b4f09c786b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_get_force_type_answer_to_life stdout ---- [INFO] [stdout] DTR Code: [Contract]: GetForceTypeAnswerToLife [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [fourty_two_and_then_some] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 5, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_2, scope: 0 } [INFO] [stdout] { id: 6, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.instance), assign: METHOD_CALL_EXPRESSION_1, scope: 0 } [INFO] [stdout] { id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_1.get, 42), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_get_force_type_answer_to_life' (66) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: GetForceTypeAnswerToLife[Interface]:-() [fourty_two_and_then_some]* Inputs:{env: Env}* Instructions:${ id: 5, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_2, scope: 0 }{ id: 6, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.instance), assign: METHOD_CALL_EXPRESSION_1, scope: 0 }{ id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_1.get, 42), scope: 0 }$:[Interface]" [INFO] [stdout] right: "[Contract]: GetForceTypeAnswerToLife[Interface]:-() [fourty_two_and_then_some]* Inputs:{env: Env}* Instructions:${ id: 6, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.instance), assign: METHOD_CALL_EXPRESSION_2, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.get, 42), scope: 0 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764f445 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_get_force_type_answer_to_life::hc80973a06dc00017 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764f487 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_get_force_type_answer_to_life::{{closure}}::h4e2b4e04989fd961 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b417666d66 - core::ops::function::FnOnce::call_once::he5f842902a57caea [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - 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: 14, instruction: add, input: (state.count, incr), assign: state.count, scope: 0 } [INFO] [stdout] { id: 22, instruction: assign, input: (incr), assign: state.last_incr, scope: 0 } [INFO] [stdout] { id: 31, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_28, scope: 0 } [INFO] [stdout] { id: 32, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_28.instance), assign: METHOD_CALL_EXPRESSION_27, scope: 0 } [INFO] [stdout] { id: 33, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_27.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: 53, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_50, scope: 0 } [INFO] [stdout] { id: 54, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_50.instance), assign: METHOD_CALL_EXPRESSION_49, scope: 0 } [INFO] [stdout] { id: 55, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_49.get, STATE), assign: METHOD_CALL_EXPRESSION_46, scope: 0 } [INFO] [stdout] { id: 44, instruction: instantiate_object, input: (UDT, State, 0, 0), assign: METHOD_CALL_ARG_1_41, scope: 0 } [INFO] [stdout] { id: 56, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_46.unwrap_or, METHOD_CALL_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] :[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' (88) 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: 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: 53, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_50, scope: 0 }{ id: 54, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_50.instance), assign: METHOD_CALL_EXPRESSION_49, scope: 0 }{ id: 55, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_49.get, STATE), assign: METHOD_CALL_EXPRESSION_46, scope: 0 }{ id: 44, instruction: instantiate_object, input: (UDT, State, 0, 0), assign: METHOD_CALL_ARG_1_41, scope: 0 }{ id: 56, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_46.unwrap_or, METHOD_CALL_ARG_1_41), 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: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764de95 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_custom_types::hb5b885c91a4d48c5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764ded7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_custom_types::{{closure}}::h2332a3ef86c51952 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b417666ca6 - core::ops::function::FnOnce::call_once::hdf4cca8d52e06e6c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - 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' (89) 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: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764ebb5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_deep_contract_auth::h0d627d243eef359b [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764ebf7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_deep_contract_auth::{{closure}}::h9d1b4b36c586337a [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b417665626 - core::ops::function::FnOnce::call_once::h6ee3b67415b3c472 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - 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' (104) 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: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b4179047e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x61b4176a7f4c - core::result::Result::expect::hbd22501475c285d1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1178:23 [INFO] [stdout] 21: 0x61b41764c6b2 - rust_to_dtr::tests::full_contract_tests::read_file_content::h1bc0bccc96dcd200 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:14:39 [INFO] [stdout] 22: 0x61b41764c7b9 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:18:33 [INFO] [stdout] 23: 0x61b41764d175 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_token::h7d71fc28115850c4 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 24: 0x61b41764d1b7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_token::{{closure}}::h88a367d032bda8b9 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 25: 0x61b417663fe6 - core::ops::function::FnOnce::call_once::h00ac527917413b69 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7218d0239aa4 - [INFO] [stdout] 47: 0x7218d02c6a34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_various_result_handling_tactics stdout ---- [INFO] [stdout] DTR Code: [Contract]: VariousResultHandlingTacticsContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [return_some_thing] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 4, instruction: evaluate, input: (Some, 42), assign: some_thing|||Option, scope: 0 } [INFO] [stdout] { id: 8, instruction: try_assign, input: (some_thing, Some(some_thing)), assign: CONDITIONAL_JUMP_ASSIGNMENT_5, scope: 0 } [INFO] [stdout] { id: 10, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_5, 9), scope: 0 } [INFO] [stdout] { id: 11, instruction: print, input: ("Doing a thing"), scope: 9 } [INFO] [stdout] { id: 0, instruction: jump, input: (0), scope: 9 } [INFO] [stdout] { id: 0, instruction: return, input: (some_thing), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_various_result_handling_tactics' (80) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: VariousResultHandlingTacticsContract[Interface]:-() [return_some_thing]* Inputs:{}* Output: Integer* Instructions:${ id: 4, instruction: evaluate, input: (Some, 42), assign: some_thing|||Option, scope: 0 }{ id: 8, instruction: try_assign, input: (some_thing, Some(some_thing)), assign: CONDITIONAL_JUMP_ASSIGNMENT_5, scope: 0 }{ id: 10, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_5, 9), scope: 0 }{ id: 11, instruction: print, input: (\"Doing a thing\"), scope: 9 }{ id: 0, instruction: jump, input: (0), scope: 9 }{ id: 0, instruction: return, input: (some_thing), scope: 0 }$:[Interface]" [INFO] [stdout] right: "[Contract]: VariousResultHandlingTacticsContract[Interface]:-() [return_some_thing]* Inputs:{}* Output: Integer* Instructions:${ id: 4, instruction: evaluate, input: (Some, 42), assign: some_thing|||Option, scope: 0 }{ id: 8, instruction: try_assign, input: (some_thing, Some(some_thing)), assign: CONDITIONAL_JUMP_ASSIGNMENT_5, scope: 0 }{ id: 10, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_5, 9), scope: 0 }{ id: 11, instruction: print, input: (\"Doing a thing\"), scope: 9 }{ id: 12, instruction: jump, input: (0), scope: 9 }{ id: 0, instruction: return, input: (some_thing), scope: 0 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764f715 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_various_result_handling_tactics::h7a4f3134701d18f3 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764f757 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_various_result_handling_tactics::{{closure}}::hbc46fd6a0e501a05 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b417666376 - core::ops::function::FnOnce::call_once::hb6e1d1529046ec21 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_deployer_contract stdout ---- [INFO] [stdout] DTR Code: [Contract]: Contract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [init] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] value: Integer [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 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.set, KEY, value), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [value] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 7, instruction: evaluate, input: (env.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, KEY), 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] :[Interface] [INFO] [stdout] [State]: [INFO] [stdout] * [KEY] [INFO] [stdout] * Type: String [INFO] [stdout] * Initial Value: "value" [INFO] [stdout] :[State] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_deployer_contract' (90) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: Contract[Interface]:-() [init]* Inputs:{env: Envvalue: Integer}* Instructions:${ id: 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.set, KEY, value), scope: 0 }$-() [value]* Inputs:{env: Env}* Output: Integer* Instructions:${ id: 7, instruction: evaluate, input: (env.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, KEY), 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 }$:[Interface][State]:* [KEY]* Type: String* Initial Value: \"value\":[State]" [INFO] [stdout] right: "[Contract]: Contract[Interface]:-() [init]* Inputs:{env: Envvalue: Integer}* 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.set, KEY, value), scope: 0 }$-() [value]* Inputs:{env: Env}* Output: Integer* Instructions:${ id: 18, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_15, scope: 0 }{ id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.instance), assign: METHOD_CALL_EXPRESSION_14, scope: 0 }{ id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_14.get, KEY), assign: METHOD_CALL_EXPRESSION_11, scope: 0 }{ id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_11.unwrap), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][State]:* [KEY]* Type: String* Initial Value: \"value\":[State]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764e8e5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_deployer_contract::h09ffdf68a1aa2dad [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764e927 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_deployer_contract::{{closure}}::h99ca3dd3d6219139 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b417664916 - core::ops::function::FnOnce::call_once::h20e55d985614037d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - 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' (98) 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: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b4179047e6 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x61b4176da759 - core::result::Result::unwrap::h7a3dbf20ce463b7c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x61b4176da759 - rust_to_dtr::rust_to_dtr_c::parse_to_dtr::h2d0eed4df2579a7e [INFO] [stdout] at /opt/rustwide/workdir/src/rust_to_dtr_c/mod.rs:15:49 [INFO] [stdout] 22: 0x61b41764c95b - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:21:15 [INFO] [stdout] 23: 0x61b41764e255 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_liquidity_pool::h9b19f65b51842c48 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 24: 0x61b41764e297 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_liquidity_pool::{{closure}}::h39ae0c134e4c2d69 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 25: 0x61b417665166 - core::ops::function::FnOnce::call_once::h454d67f615477544 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 28: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 29: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 31: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 32: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 34: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 35: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 36: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 40: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 41: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 45: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 46: 0x7218d0239aa4 - [INFO] [stdout] 47: 0x7218d02c6a34 - clone [INFO] [stdout] 48: 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: 5, instruction: evaluate, input: (swaps_b.get, i), assign: METHOD_CALL_EXPRESSION_0, scope: 28 } [INFO] [stdout] { id: 6, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.unwrap), assign: acc_b, scope: 28 } [INFO] [stdout] { id: 20, instruction: evaluate, input: (greater_than_or_equal_to, acc_a.amount, acc_b.min_recv), assign: BINARY_EXPRESSION_LEFT_8, scope: 28 } [INFO] [stdout] { id: 31, instruction: evaluate, input: (less_than_or_equal_to, acc_a.min_recv, acc_b.amount), assign: BINARY_EXPRESSION_RIGHT_9, scope: 28 } [INFO] [stdout] { id: 32, instruction: and, input: (BINARY_EXPRESSION_LEFT_8, BINARY_EXPRESSION_RIGHT_9), assign: CONDITIONAL_JUMP_ASSIGNMENT_7, scope: 28 } [INFO] [stdout] { id: 34, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_7, 33), scope: 28 } [INFO] [stdout] { id: 73, 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_36, scope: 33 } [INFO] [stdout] { id: 74, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_36.is_ok), assign: CONDITIONAL_JUMP_ASSIGNMENT_35, scope: 33 } [INFO] [stdout] { id: 76, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_35, 75), scope: 33 } [INFO] [stdout] { id: 81, instruction: evaluate, input: (swaps_b.remove, i), scope: 75 } [INFO] [stdout] { id: 82, instruction: jump, input: (0), scope: 75 } [INFO] [stdout] { id: 0, instruction: jump, input: (28), scope: 33 } [INFO] [stdout] { id: 1, instruction: increment, input: (i), scope: 28 } [INFO] [stdout] { id: 2, instruction: goto, input: (27), scope: 28 } [INFO] [stdout] { id: 3, instruction: increment, input: (acc_a), scope: 15 } [INFO] [stdout] { id: 4, 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' (83) 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: 5, instruction: evaluate, input: (swaps_b.get, i), assign: METHOD_CALL_EXPRESSION_0, scope: 28 }{ id: 6, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.unwrap), assign: acc_b, scope: 28 }{ id: 20, instruction: evaluate, input: (greater_than_or_equal_to, acc_a.amount, acc_b.min_recv), assign: BINARY_EXPRESSION_LEFT_8, scope: 28 }{ id: 31, instruction: evaluate, input: (less_than_or_equal_to, acc_a.min_recv, acc_b.amount), assign: BINARY_EXPRESSION_RIGHT_9, scope: 28 }{ id: 32, instruction: and, input: (BINARY_EXPRESSION_LEFT_8, BINARY_EXPRESSION_RIGHT_9), assign: CONDITIONAL_JUMP_ASSIGNMENT_7, scope: 28 }{ id: 34, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_7, 33), scope: 28 }{ id: 73, 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_36, scope: 33 }{ id: 74, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_36.is_ok), assign: CONDITIONAL_JUMP_ASSIGNMENT_35, scope: 33 }{ id: 76, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_35, 75), scope: 33 }{ id: 81, instruction: evaluate, input: (swaps_b.remove, i), scope: 75 }{ id: 82, instruction: jump, input: (0), scope: 75 }{ id: 0, instruction: jump, input: (28), scope: 33 }{ id: 1, instruction: increment, input: (i), scope: 28 }{ id: 2, instruction: goto, input: (27), scope: 28 }{ id: 3, instruction: increment, input: (acc_a), scope: 15 }{ id: 4, 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: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764e615 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap::ha1d136d92425a87f [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764e657 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap::{{closure}}::h8954a87e34c34b43 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b417666f76 - core::ops::function::FnOnce::call_once::heda90d22bc870eb8 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_atomic_swap stdout ---- [INFO] [stdout] DTR Code: [Contract]: AtomicSwapContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [swap] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] a: Address [INFO] [stdout] b: Address [INFO] [stdout] token_a: Address [INFO] [stdout] token_b: Address [INFO] [stdout] amount_a: BigInteger [INFO] [stdout] min_b_for_a: BigInteger [INFO] [stdout] amount_b: BigInteger [INFO] [stdout] min_a_for_b: BigInteger [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 6, instruction: evaluate, input: (less_than, amount_b, min_b_for_a), assign: CONDITIONAL_JUMP_ASSIGNMENT_1, scope: 0 } [INFO] [stdout] { id: 8, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_1, 7), scope: 0 } [INFO] [stdout] { id: 9, instruction: exit_with_message, input: ("not enough token B for token A"), scope: 7 } [INFO] [stdout] { id: 16, instruction: evaluate, input: (less_than, amount_a, min_a_for_b), assign: CONDITIONAL_JUMP_ASSIGNMENT_11, scope: 0 } [INFO] [stdout] { id: 18, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_11, 17), scope: 0 } [INFO] [stdout] { id: 19, instruction: exit_with_message, input: ("not enough token A for token B"), scope: 17 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (token_a.clone), assign: TUPLE_ARG_1_0, scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (token_b.clone), assign: TUPLE_ARG_2_0, scope: 0 } [INFO] [stdout] { id: 33, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0, amount_a, min_b_for_a), assign: METHOD_CALL_EXPRESSION_24, scope: 0 } [INFO] [stdout] { id: 35, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.into_val, env), assign: METHOD_CALL_ARG_1_21, scope: 0 } [INFO] [stdout] { id: 38, instruction: evaluate, input: (a.require_auth_for_args, METHOD_CALL_ARG_1_21), scope: 0 } [INFO] [stdout] { id: 45, instruction: evaluate, input: (token_b.clone), assign: TUPLE_ARG_1_0, scope: 0 } [INFO] [stdout] { id: 48, instruction: evaluate, input: (token_a.clone), assign: TUPLE_ARG_2_0, scope: 0 } [INFO] [stdout] { id: 51, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0, amount_b, min_a_for_b), assign: METHOD_CALL_EXPRESSION_42, scope: 0 } [INFO] [stdout] { id: 53, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_42.into_val, env), assign: METHOD_CALL_ARG_1_39, scope: 0 } [INFO] [stdout] { id: 56, instruction: evaluate, input: (b.require_auth_for_args, METHOD_CALL_ARG_1_39), scope: 0 } [INFO] [stdout] { id: 52, instruction: evaluate, input: (move_token, env, token_a, a, b, amount_a, min_a_for_b), scope: 0 } [INFO] [stdout] { id: 67, instruction: evaluate, input: (move_token, env, token_b, b, a, amount_b, min_b_for_a), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [move_token] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: &Env [INFO] [stdout] token: &Address [INFO] [stdout] from: &Address [INFO] [stdout] to: &Address [INFO] [stdout] max_spend_amount: BigInteger [INFO] [stdout] transfer_amount: BigInteger [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 6, instruction: evaluate, input: (token::Client::new, env, token), assign: token, scope: 0 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (env.current_contract_address), assign: contract_address, scope: 0 } [INFO] [stdout] { id: 18, instruction: evaluate, input: (token.transfer, from, contract_address, max_spend_amount), scope: 0 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (token.transfer, contract_address, to, transfer_amount), scope: 0 } [INFO] [stdout] { id: 37, instruction: subtract, input: (max_spend_amount, transfer_amount), assign: METHOD_CALL_ARG_3_32, scope: 0 } [INFO] [stdout] { id: 40, instruction: evaluate, input: (token.transfer, contract_address, from, METHOD_CALL_ARG_3_32), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_atomic_swap' (84) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: AtomicSwapContract[Interface]:-() [swap]* Inputs:{env: Enva: Addressb: Addresstoken_a: Addresstoken_b: Addressamount_a: BigIntegermin_b_for_a: BigIntegeramount_b: BigIntegermin_a_for_b: BigInteger}* Instructions:${ id: 6, instruction: evaluate, input: (less_than, amount_b, min_b_for_a), assign: CONDITIONAL_JUMP_ASSIGNMENT_1, scope: 0 }{ id: 8, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_1, 7), scope: 0 }{ id: 9, instruction: exit_with_message, input: (\"not enough token B for token A\"), scope: 7 }{ id: 16, instruction: evaluate, input: (less_than, amount_a, min_a_for_b), assign: CONDITIONAL_JUMP_ASSIGNMENT_11, scope: 0 }{ id: 18, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_11, 17), scope: 0 }{ id: 19, instruction: exit_with_message, input: (\"not enough token A for token B\"), scope: 17 }{ id: 27, instruction: evaluate, input: (token_a.clone), assign: TUPLE_ARG_1_0, scope: 0 }{ id: 30, instruction: evaluate, input: (token_b.clone), assign: TUPLE_ARG_2_0, scope: 0 }{ id: 33, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0, amount_a, min_b_for_a), assign: METHOD_CALL_EXPRESSION_24, scope: 0 }{ id: 35, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.into_val, env), assign: METHOD_CALL_ARG_1_21, scope: 0 }{ id: 38, instruction: evaluate, input: (a.require_auth_for_args, METHOD_CALL_ARG_1_21), scope: 0 }{ id: 45, instruction: evaluate, input: (token_b.clone), assign: TUPLE_ARG_1_0, scope: 0 }{ id: 48, instruction: evaluate, input: (token_a.clone), assign: TUPLE_ARG_2_0, scope: 0 }{ id: 51, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0, amount_b, min_a_for_b), assign: METHOD_CALL_EXPRESSION_42, scope: 0 }{ id: 53, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_42.into_val, env), assign: METHOD_CALL_ARG_1_39, scope: 0 }{ id: 56, instruction: evaluate, input: (b.require_auth_for_args, METHOD_CALL_ARG_1_39), scope: 0 }{ id: 52, instruction: evaluate, input: (move_token, env, token_a, a, b, amount_a, min_a_for_b), scope: 0 }{ id: 67, instruction: evaluate, input: (move_token, env, token_b, b, a, amount_b, min_b_for_a), scope: 0 }$:[Interface][Helpers]:-() [move_token]* Inputs:{env: &Envtoken: &Addressfrom: &Addressto: &Addressmax_spend_amount: BigIntegertransfer_amount: BigInteger}* Instructions:${ id: 6, instruction: evaluate, input: (token::Client::new, env, token), assign: token, scope: 0 }{ id: 9, instruction: evaluate, input: (env.current_contract_address), assign: contract_address, scope: 0 }{ id: 18, instruction: evaluate, input: (token.transfer, from, contract_address, max_spend_amount), scope: 0 }{ id: 27, instruction: evaluate, input: (token.transfer, contract_address, to, transfer_amount), scope: 0 }{ id: 37, instruction: subtract, input: (max_spend_amount, transfer_amount), assign: METHOD_CALL_ARG_3_32, scope: 0 }{ id: 40, instruction: evaluate, input: (token.transfer, contract_address, from, METHOD_CALL_ARG_3_32), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Contract]: AtomicSwapContract[Interface]:-() [swap]* Inputs:{env: Enva: Addressb: Addresstoken_a: Addresstoken_b: Addressamount_a: BigIntegermin_b_for_a: BigIntegeramount_b: BigIntegermin_a_for_b: BigInteger}* Instructions:${ id: 5, instruction: evaluate, input: (less_than, amount_b, min_b_for_a), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 7, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 6), scope: 0 }{ id: 8, instruction: exit_with_message, input: (\"not enough token B for token A\"), scope: 6 }{ id: 15, instruction: evaluate, input: (less_than, amount_a, min_a_for_b), assign: CONDITIONAL_JUMP_ASSIGNMENT_10, scope: 0 }{ id: 17, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_10, 16), scope: 0 }{ id: 18, instruction: exit_with_message, input: (\"not enough token A for token B\"), scope: 16 }{ id: 26, instruction: evaluate, input: (token_a.clone), assign: TUPLE_ARG_1_0, scope: 0 }{ id: 29, instruction: evaluate, input: (token_b.clone), assign: TUPLE_ARG_2_0, scope: 0 }{ id: 32, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0, amount_a, min_b_for_a), assign: METHOD_CALL_EXPRESSION_23, scope: 0 }{ id: 34, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_23.into_val, env), assign: METHOD_CALL_ARG_1_20, scope: 0 }{ id: 37, instruction: evaluate, input: (a.require_auth_for_args, METHOD_CALL_ARG_1_20), scope: 0 }{ id: 44, instruction: evaluate, input: (token_b.clone), assign: TUPLE_ARG_1_0, scope: 0 }{ id: 47, instruction: evaluate, input: (token_a.clone), assign: TUPLE_ARG_2_0, scope: 0 }{ id: 50, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0, amount_b, min_a_for_b), assign: METHOD_CALL_EXPRESSION_41, scope: 0 }{ id: 52, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.into_val, env), assign: METHOD_CALL_ARG_1_38, scope: 0 }{ id: 55, instruction: evaluate, input: (b.require_auth_for_args, METHOD_CALL_ARG_1_38), scope: 0 }{ id: 70, instruction: evaluate, input: (move_token, env, token_a, a, b, amount_a, min_a_for_b), scope: 0 }{ id: 85, instruction: evaluate, input: (move_token, env, token_b, b, a, amount_b, min_b_for_a), scope: 0 }$:[Interface][Helpers]:-() [move_token]* Inputs:{env: &Envtoken: &Addressfrom: &Addressto: &Addressmax_spend_amount: BigIntegertransfer_amount: BigInteger}* Instructions:${ id: 6, instruction: evaluate, input: (token::Client::new, env, token), assign: token, scope: 0 }{ id: 9, instruction: evaluate, input: (env.current_contract_address), assign: contract_address, scope: 0 }{ id: 18, instruction: evaluate, input: (token.transfer, from, contract_address, max_spend_amount), scope: 0 }{ id: 27, instruction: evaluate, input: (token.transfer, contract_address, to, transfer_amount), scope: 0 }{ id: 37, instruction: subtract, input: (max_spend_amount, transfer_amount), assign: METHOD_CALL_ARG_3_32, scope: 0 }{ id: 40, instruction: evaluate, input: (token.transfer, contract_address, from, METHOD_CALL_ARG_3_32), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764dcb5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_atomic_swap::h57415a4d50a39f7d [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764dcf7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_atomic_swap::{{closure}}::h39bdaa9db97c869b [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b4176671a6 - core::ops::function::FnOnce::call_once::hfbc1ca83b562ec53 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing stdout ---- [INFO] [stdout] DTR Code: [Contract]: ClaimableBalanceContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [deposit] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] from: Address [INFO] [stdout] token: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] claimants: List
[INFO] [stdout] time_bound: TimeBound [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 40, instruction: evaluate, input: (claimants.is_empty), assign: CONDITIONAL_JUMP_ASSIGNMENT_37, scope: 0 } [INFO] [stdout] { id: 42, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_37, 41), scope: 0 } [INFO] [stdout] { id: 43, instruction: exit_with_message, input: ("need more than 0 claimants"), scope: 41 } [INFO] [stdout] { id: 56, instruction: evaluate, input: (claimants.len), assign: BINARY_EXPRESSION_LEFT_50, scope: 0 } [INFO] [stdout] { id: 58, instruction: evaluate, input: (greater_than, BINARY_EXPRESSION_LEFT_50, 10), assign: CONDITIONAL_JUMP_ASSIGNMENT_48, scope: 0 } [INFO] [stdout] { id: 60, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_48, 59), scope: 0 } [INFO] [stdout] { id: 61, instruction: exit_with_message, input: ("too many claimants"), scope: 59 } [INFO] [stdout] { id: 68, instruction: evaluate, input: (is_initialized, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_63, scope: 0 } [INFO] [stdout] { id: 70, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_63, 69), scope: 0 } [INFO] [stdout] { id: 71, instruction: exit_with_message, input: ("contract has been already initialized"), scope: 69 } [INFO] [stdout] { id: 75, instruction: evaluate, input: (from.require_auth), scope: 0 } [INFO] [stdout] { id: 91, instruction: evaluate, input: (token::Client::new, env, token), assign: METHOD_CALL_EXPRESSION_84, scope: 0 } [INFO] [stdout] { id: 81, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_2_78, scope: 0 } [INFO] [stdout] { id: 92, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_84.transfer, from, METHOD_CALL_ARG_2_78, amount), scope: 0 } [INFO] [stdout] { id: 106, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_103, scope: 0 } [INFO] [stdout] { id: 107, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_103.persistent), assign: METHOD_CALL_EXPRESSION_102, scope: 0 } [INFO] [stdout] { id: 100, instruction: instantiate_object, input: (UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_95, scope: 0 } [INFO] [stdout] { id: 108, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_102.set, DataKey::Balance, METHOD_CALL_ARG_2_95), scope: 0 } [INFO] [stdout] { id: 118, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_115, scope: 0 } [INFO] [stdout] { id: 119, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_115.persistent), assign: METHOD_CALL_EXPRESSION_114, scope: 0 } [INFO] [stdout] { id: 112, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_111, scope: 0 } [INFO] [stdout] { id: 120, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_114.set, DataKey::Init, METHOD_CALL_ARG_2_111), 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: 225, instruction: evaluate, input: (claimant.require_auth), scope: 0 } [INFO] [stdout] { id: 233, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_230, scope: 0 } [INFO] [stdout] { id: 234, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_230.persistent), assign: METHOD_CALL_EXPRESSION_229, scope: 0 } [INFO] [stdout] { id: 235, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_229.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_226, scope: 0 } [INFO] [stdout] { id: 236, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_226.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 } [INFO] [stdout] { id: 248, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_238, scope: 0 } [INFO] [stdout] { id: 249, instruction: evaluate, input: (!, UNARY_ARGUMENT_238), assign: CONDITIONAL_JUMP_ASSIGNMENT_237, scope: 0 } [INFO] [stdout] { id: 251, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_237, 250), scope: 0 } [INFO] [stdout] { id: 252, instruction: exit_with_message, input: ("time predicate is not fulfilled"), scope: 250 } [INFO] [stdout] { id: 264, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_259, scope: 0 } [INFO] [stdout] { id: 265, instruction: evaluate, input: (!, UNARY_ARGUMENT_259), assign: CONDITIONAL_JUMP_ASSIGNMENT_258, scope: 0 } [INFO] [stdout] { id: 267, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_258, 266), scope: 0 } [INFO] [stdout] { id: 268, instruction: exit_with_message, input: ("claimant is not allowed to claim this balance"), scope: 266 } [INFO] [stdout] { id: 278, instruction: evaluate, input: (greater_than, amount, claimable_balance.amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_270, scope: 0 } [INFO] [stdout] { id: 280, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_270, 279), scope: 0 } [INFO] [stdout] { id: 281, instruction: exit_with_message, input: ("claimed amount greater than balance"), scope: 279 } [INFO] [stdout] { id: 301, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_291, scope: 0 } [INFO] [stdout] { id: 286, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_283, scope: 0 } [INFO] [stdout] { id: 302, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_291.transfer, METHOD_CALL_ARG_1_283, claimant, amount), scope: 0 } [INFO] [stdout] { id: 310, instruction: subtract, input: (claimable_balance.amount, amount), assign: new_balance, scope: 0 } [INFO] [stdout] { id: 316, instruction: evaluate, input: (greater_than, new_balance, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_311, scope: 0 } [INFO] [stdout] { id: 318, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_311, 317), scope: 0 } [INFO] [stdout] { id: 340, instruction: jump, input: (339), scope: 0 } [INFO] [stdout] { id: 326, instruction: assign, input: (new_balance), assign: claimable_balance.amount, scope: 317 } [INFO] [stdout] { id: 335, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_332, scope: 317 } [INFO] [stdout] { id: 336, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_332.persistent), assign: METHOD_CALL_EXPRESSION_331, scope: 317 } [INFO] [stdout] { id: 337, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_331.set, DataKey::Balance, claimable_balance), scope: 317 } [INFO] [stdout] { id: 338, instruction: jump, input: (0), scope: 317 } [INFO] [stdout] { id: 347, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_344, scope: 339 } [INFO] [stdout] { id: 348, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_344.persistent), assign: METHOD_CALL_EXPRESSION_343, scope: 339 } [INFO] [stdout] { id: 349, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_343.remove, DataKey::Balance), scope: 339 } [INFO] [stdout] { id: 350, instruction: jump, input: (0), scope: 339 } [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.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' (95) 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: 40, instruction: evaluate, input: (claimants.is_empty), assign: CONDITIONAL_JUMP_ASSIGNMENT_37, scope: 0 }{ id: 42, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_37, 41), scope: 0 }{ id: 43, instruction: exit_with_message, input: (\"need more than 0 claimants\"), scope: 41 }{ id: 56, instruction: evaluate, input: (claimants.len), assign: BINARY_EXPRESSION_LEFT_50, scope: 0 }{ id: 58, instruction: evaluate, input: (greater_than, BINARY_EXPRESSION_LEFT_50, 10), assign: CONDITIONAL_JUMP_ASSIGNMENT_48, scope: 0 }{ id: 60, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_48, 59), scope: 0 }{ id: 61, instruction: exit_with_message, input: (\"too many claimants\"), scope: 59 }{ id: 68, instruction: evaluate, input: (is_initialized, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_63, scope: 0 }{ id: 70, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_63, 69), scope: 0 }{ id: 71, instruction: exit_with_message, input: (\"contract has been already initialized\"), scope: 69 }{ id: 75, instruction: evaluate, input: (from.require_auth), scope: 0 }{ id: 91, instruction: evaluate, input: (token::Client::new, env, token), assign: METHOD_CALL_EXPRESSION_84, scope: 0 }{ id: 81, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_2_78, scope: 0 }{ id: 92, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_84.transfer, from, METHOD_CALL_ARG_2_78, amount), scope: 0 }{ id: 106, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_103, scope: 0 }{ id: 107, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_103.persistent), assign: METHOD_CALL_EXPRESSION_102, scope: 0 }{ id: 100, instruction: instantiate_object, input: (UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_95, scope: 0 }{ id: 108, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_102.set, DataKey::Balance, METHOD_CALL_ARG_2_95), scope: 0 }{ id: 118, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_115, scope: 0 }{ id: 119, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_115.persistent), assign: METHOD_CALL_EXPRESSION_114, scope: 0 }{ id: 112, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_111, scope: 0 }{ id: 120, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_114.set, DataKey::Init, METHOD_CALL_ARG_2_111), scope: 0 }$-() [claim]* Inputs:{env: Envclaimant: Addressamount: BigInteger}* Instructions:${ id: 225, instruction: evaluate, input: (claimant.require_auth), scope: 0 }{ id: 233, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_230, scope: 0 }{ id: 234, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_230.persistent), assign: METHOD_CALL_EXPRESSION_229, scope: 0 }{ id: 235, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_229.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_226, scope: 0 }{ id: 236, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_226.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 }{ id: 248, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_238, scope: 0 }{ id: 249, instruction: evaluate, input: (!, UNARY_ARGUMENT_238), assign: CONDITIONAL_JUMP_ASSIGNMENT_237, scope: 0 }{ id: 251, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_237, 250), scope: 0 }{ id: 252, instruction: exit_with_message, input: (\"time predicate is not fulfilled\"), scope: 250 }{ id: 264, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_259, scope: 0 }{ id: 265, instruction: evaluate, input: (!, UNARY_ARGUMENT_259), assign: CONDITIONAL_JUMP_ASSIGNMENT_258, scope: 0 }{ id: 267, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_258, 266), scope: 0 }{ id: 268, instruction: exit_with_message, input: (\"claimant is not allowed to claim this balance\"), scope: 266 }{ id: 278, instruction: evaluate, input: (greater_than, amount, claimable_balance.amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_270, scope: 0 }{ id: 280, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_270, 279), scope: 0 }{ id: 281, instruction: exit_with_message, input: (\"claimed amount greater than balance\"), scope: 279 }{ id: 301, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_291, scope: 0 }{ id: 286, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_283, scope: 0 }{ id: 302, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_291.transfer, METHOD_CALL_ARG_1_283, claimant, amount), scope: 0 }{ id: 310, instruction: subtract, input: (claimable_balance.amount, amount), assign: new_balance, scope: 0 }{ id: 316, instruction: evaluate, input: (greater_than, new_balance, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_311, scope: 0 }{ id: 318, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_311, 317), scope: 0 }{ id: 340, instruction: jump, input: (339), scope: 0 }{ id: 326, instruction: assign, input: (new_balance), assign: claimable_balance.amount, scope: 317 }{ id: 335, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_332, scope: 317 }{ id: 336, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_332.persistent), assign: METHOD_CALL_EXPRESSION_331, scope: 317 }{ id: 337, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_331.set, DataKey::Balance, claimable_balance), scope: 317 }{ id: 338, instruction: jump, input: (0), scope: 317 }{ id: 347, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_344, scope: 339 }{ id: 348, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_344.persistent), assign: METHOD_CALL_EXPRESSION_343, scope: 339 }{ id: 349, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_343.remove, DataKey::Balance), scope: 339 }{ id: 350, instruction: jump, input: (0), scope: 339 }$:[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] 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: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764d625 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing::h4e169c5612089269 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764d667 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing::{{closure}}::h19775af916ea54fd [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b417666686 - core::ops::function::FnOnce::call_once::hbd252174a9e35e70 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - 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: 41, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_35, scope: 0 } [INFO] [stdout] { id: 42, 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: 43, 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: 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: 10, instruction: evaluate, input: (DataKey::SpendLimit, token), assign: METHOD_CALL_ARG_1_5, scope: 0 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.set, METHOD_CALL_ARG_1_5, 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: 0, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_73, scope: 12 } [INFO] [stdout] { id: 1, 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: 2, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_72.has, METHOD_CALL_ARG_1_61), assign: UNARY_ARGUMENT_60, scope: 12 } [INFO] [stdout] { id: 3, instruction: evaluate, input: (!, UNARY_ARGUMENT_60), assign: CONDITIONAL_JUMP_ASSIGNMENT_59, scope: 12 } [INFO] [stdout] { id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_59, 4), scope: 12 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (Err, AccError::UnknownSigner), assign: RETURN_VALUE_LABEL_6, scope: 4 } [INFO] [stdout] { id: 12, instruction: return, input: (RETURN_VALUE_LABEL_6), scope: 4 } [INFO] [stdout] { id: 13, instruction: jump, input: (12), scope: 4 } [INFO] [stdout] { id: 33, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_30, scope: 12 } [INFO] [stdout] { id: 23, instruction: evaluate, input: (signature_payload.clone), assign: METHOD_CALL_EXPRESSION_20, scope: 12 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.into), assign: METHOD_CALL_ARG_2_19, scope: 12 } [INFO] [stdout] { id: 34, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.ed25519_verify, signature.public_key, METHOD_CALL_ARG_2_19, signature.signature), assign: Thing_to_return, scope: 12 } [INFO] [stdout] { id: 35, instruction: increment, input: (i), scope: 12 } [INFO] [stdout] { id: 36, instruction: goto, input: (11), scope: 12 } [INFO] [stdout] { id: 46, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_45, scope: 0 } [INFO] [stdout] { id: 54, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_45), 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: 31, instruction: jump, input: (4), scope: 15 } [INFO] [stdout] { id: 33, instruction: jump, input: (0), scope: 4 } [INFO] [stdout] { id: 43, instruction: evaluate, input: (Err, AccError::InvalidContext), assign: RETURN_VALUE_LABEL_38, scope: 36 } [INFO] [stdout] { id: 44, instruction: return, input: (RETURN_VALUE_LABEL_38), scope: 36 } [INFO] [stdout] { id: 56, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, TRANSFER_FN), assign: BINARY_EXPRESSION_LEFT_47, scope: 0 } [INFO] [stdout] { id: 69, instruction: evaluate, input: (Symbol::new, env, "approve"), assign: BINARY_EXPRESSION_RIGHT_58, scope: 0 } [INFO] [stdout] { id: 70, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, BINARY_EXPRESSION_RIGHT_58), assign: BINARY_EXPRESSION_RIGHT_48, scope: 0 } [INFO] [stdout] { id: 71, instruction: and, input: (BINARY_EXPRESSION_LEFT_47, BINARY_EXPRESSION_RIGHT_48), assign: CONDITIONAL_JUMP_ASSIGNMENT_46, scope: 0 } [INFO] [stdout] { id: 73, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_46, 72), scope: 0 } [INFO] [stdout] { id: 76, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_75, scope: 72 } [INFO] [stdout] { id: 80, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_75), assign: RETURN_VALUE_LABEL_74, scope: 72 } [INFO] [stdout] { id: 81, instruction: return, input: (RETURN_VALUE_LABEL_74), scope: 72 } [INFO] [stdout] { id: 91, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_85, scope: 0 } [INFO] [stdout] { id: 94, instruction: evaluate, input: (spend_left_per_token.get, METHOD_CALL_ARG_1_85), assign: INPUT_VALUE_NAME_FOR_LET_84, scope: 0 } [INFO] [stdout] { id: 95, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_84, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_83, scope: 0 } [INFO] [stdout] { id: 97, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_83, 96), scope: 0 } [INFO] [stdout] { id: 105, instruction: jump, input: (104), scope: 0 } [INFO] [stdout] { id: 102, instruction: evaluate, input: (Some, spend_left), assign: spend_left|||Option, scope: 96 } [INFO] [stdout] { id: 103, instruction: jump, input: (0), scope: 96 } [INFO] [stdout] { id: 123, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_120, scope: 104 } [INFO] [stdout] { id: 124, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_120.instance), assign: METHOD_CALL_EXPRESSION_119, scope: 104 } [INFO] [stdout] { id: 115, instruction: evaluate, input: (contract_context.contract.clone), assign: CALL_EXPRESSION_ARG_1_109, scope: 104 } [INFO] [stdout] { id: 118, instruction: evaluate, input: (DataKey::SpendLimit, CALL_EXPRESSION_ARG_1_109), assign: METHOD_CALL_ARG_1_108, scope: 104 } [INFO] [stdout] { id: 125, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_119.get, METHOD_CALL_ARG_1_108), assign: INPUT_VALUE_NAME_FOR_LET_107, scope: 104 } [INFO] [stdout] { id: 126, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_107, Some(limit_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_106, scope: 104 } [INFO] [stdout] { id: 128, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_106, 127), scope: 104 } [INFO] [stdout] { id: 136, instruction: jump, input: (135), scope: 104 } [INFO] [stdout] { id: 133, instruction: evaluate, input: (Some, limit_left), assign: spend_left|||Option, scope: 127 } [INFO] [stdout] { id: 134, instruction: jump, input: (104), scope: 127 } [INFO] [stdout] { id: 137, instruction: assign, input: (None), assign: spend_left|||Option, scope: 135 } [INFO] [stdout] { id: 138, instruction: jump, input: (104), scope: 135 } [INFO] [stdout] { id: 139, instruction: jump, input: (0), scope: 104 } [INFO] [stdout] { id: 143, instruction: try_assign, input: (spend_left, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_140, scope: 0 } [INFO] [stdout] { id: 145, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_140, 144), scope: 0 } [INFO] [stdout] { id: 158, instruction: evaluate, input: (contract_context.args.get, 2), assign: METHOD_CALL_EXPRESSION_150, scope: 144 } [INFO] [stdout] { id: 159, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_150.unwrap), assign: METHOD_CALL_EXPRESSION_149, scope: 144 } [INFO] [stdout] { id: 160, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_149.try_into_val, env), assign: METHOD_CALL_EXPRESSION_146, scope: 144 } [INFO] [stdout] { id: 161, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_146.unwrap), assign: spent|||BigInteger, scope: 144 } [INFO] [stdout] { id: 167, instruction: evaluate, input: (less_than, spent, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_162, scope: 144 } [INFO] [stdout] { id: 169, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_162, 168), scope: 144 } [INFO] [stdout] { id: 175, instruction: evaluate, input: (Err, AccError::NegativeAmount), assign: RETURN_VALUE_LABEL_170, scope: 168 } [INFO] [stdout] { id: 176, instruction: return, input: (RETURN_VALUE_LABEL_170), scope: 168 } [INFO] [stdout] { id: 183, instruction: evaluate, input: (!, all_signed), assign: BINARY_EXPRESSION_LEFT_179, scope: 144 } [INFO] [stdout] { id: 188, instruction: evaluate, input: (greater_than, spent, spend_left), assign: BINARY_EXPRESSION_RIGHT_180, scope: 144 } [INFO] [stdout] { id: 189, instruction: and, input: (BINARY_EXPRESSION_LEFT_179, BINARY_EXPRESSION_RIGHT_180), assign: CONDITIONAL_JUMP_ASSIGNMENT_178, scope: 144 } [INFO] [stdout] { id: 191, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_178, 190), scope: 144 } [INFO] [stdout] { id: 197, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_192, scope: 190 } [INFO] [stdout] { id: 198, instruction: return, input: (RETURN_VALUE_LABEL_192), scope: 190 } [INFO] [stdout] { id: 206, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_200, scope: 144 } [INFO] [stdout] { id: 212, instruction: subtract, input: (spend_left, spent), assign: METHOD_CALL_ARG_2_207, scope: 144 } [INFO] [stdout] { 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 } [INFO] [stdout] { id: 216, instruction: jump, input: (0), scope: 144 } [INFO] [stdout] { id: 218, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_217, scope: 0 } [INFO] [stdout] { id: 222, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_217), 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' (81) 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: 41, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_35, scope: 0 }{ id: 42, 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: 43, 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: 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: 10, instruction: evaluate, input: (DataKey::SpendLimit, token), assign: METHOD_CALL_ARG_1_5, scope: 0 }{ id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.set, METHOD_CALL_ARG_1_5, 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: 0, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_73, scope: 12 }{ id: 1, 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: 2, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_72.has, METHOD_CALL_ARG_1_61), assign: UNARY_ARGUMENT_60, scope: 12 }{ id: 3, instruction: evaluate, input: (!, UNARY_ARGUMENT_60), assign: CONDITIONAL_JUMP_ASSIGNMENT_59, scope: 12 }{ id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_59, 4), scope: 12 }{ id: 11, instruction: evaluate, input: (Err, AccError::UnknownSigner), assign: RETURN_VALUE_LABEL_6, scope: 4 }{ id: 12, instruction: return, input: (RETURN_VALUE_LABEL_6), scope: 4 }{ id: 13, instruction: jump, input: (12), scope: 4 }{ id: 33, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_30, scope: 12 }{ id: 23, instruction: evaluate, input: (signature_payload.clone), assign: METHOD_CALL_EXPRESSION_20, scope: 12 }{ id: 24, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.into), assign: METHOD_CALL_ARG_2_19, scope: 12 }{ id: 34, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.ed25519_verify, signature.public_key, METHOD_CALL_ARG_2_19, signature.signature), assign: Thing_to_return, scope: 12 }{ id: 35, instruction: increment, input: (i), scope: 12 }{ id: 36, instruction: goto, input: (11), scope: 12 }{ id: 46, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_45, scope: 0 }{ id: 54, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_45), 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] 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: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764d445 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_account::hb699b33f6a7ae848 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764d487 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_account::{{closure}}::h779181b205cb7e42 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b4176669a6 - core::ops::function::FnOnce::call_once::hcf0c44568d951287 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - clone [INFO] [stdout] 47: 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: 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::Offer), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 11, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 10), scope: 0 } [INFO] [stdout] { id: 12, instruction: exit_with_message, input: ("offer is already created"), scope: 10 } [INFO] [stdout] { id: 21, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_15, scope: 0 } [INFO] [stdout] { id: 26, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_16, scope: 0 } [INFO] [stdout] { id: 27, instruction: or, input: (BINARY_EXPRESSION_LEFT_15, BINARY_EXPRESSION_RIGHT_16), assign: CONDITIONAL_JUMP_ASSIGNMENT_14, scope: 0 } [INFO] [stdout] { id: 29, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_14, 28), scope: 0 } [INFO] [stdout] { id: 30, instruction: exit_with_message, input: ("zero price is not allowed"), scope: 28 } [INFO] [stdout] { id: 34, instruction: evaluate, input: (seller.require_auth), scope: 0 } [INFO] [stdout] { 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 } [INFO] [stdout] { id: 47, instruction: evaluate, input: (write_offer, e, CALL_EXPRESSION_ARG_2_37), 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: 50, instruction: evaluate, input: (buyer.require_auth), scope: 0 } [INFO] [stdout] { id: 55, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 } [INFO] [stdout] { id: 65, instruction: evaluate, input: (token::Client::new, e, offer.sell_token), assign: sell_token_client, scope: 0 } [INFO] [stdout] { id: 75, instruction: evaluate, input: (token::Client::new, e, offer.buy_token), assign: buy_token_client, scope: 0 } [INFO] [stdout] { id: 86, instruction: evaluate, input: (buy_token_amount.checked_mul, offer.sell_price), assign: METHOD_CALL_EXPRESSION_78, scope: 0 } [INFO] [stdout] { id: 87, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_78.unwrap_optimized), assign: BINARY_EXPRESSION_LEFT_76, scope: 0 } [INFO] [stdout] { id: 92, instruction: divide, input: (BINARY_EXPRESSION_LEFT_76, offer.buy_price), assign: sell_token_amount, scope: 0 } [INFO] [stdout] { id: 98, instruction: evaluate, input: (less_than, sell_token_amount, min_sell_token_amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_93, scope: 0 } [INFO] [stdout] { id: 100, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_93, 99), scope: 0 } [INFO] [stdout] { id: 101, instruction: exit_with_message, input: ("price is too low"), scope: 99 } [INFO] [stdout] { id: 105, instruction: evaluate, input: (e.current_contract_address), assign: contract, scope: 0 } [INFO] [stdout] { id: 114, instruction: evaluate, input: (buy_token_client.transfer, buyer, contract, buy_token_amount), scope: 0 } [INFO] [stdout] { id: 123, instruction: evaluate, input: (sell_token_client.transfer, contract, buyer, sell_token_amount), scope: 0 } [INFO] [stdout] { id: 135, 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: 140, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 } [INFO] [stdout] { id: 146, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 } [INFO] [stdout] { id: 165, instruction: evaluate, input: (token::Client::new, e, token), assign: METHOD_CALL_EXPRESSION_158, scope: 0 } [INFO] [stdout] { id: 150, instruction: evaluate, input: (e.current_contract_address), assign: METHOD_CALL_ARG_1_147, scope: 0 } [INFO] [stdout] { id: 166, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_158.transfer, METHOD_CALL_ARG_1_147, 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: 7, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_1, scope: 0 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_2, scope: 0 } [INFO] [stdout] { id: 13, instruction: or, input: (BINARY_EXPRESSION_LEFT_1, BINARY_EXPRESSION_RIGHT_2), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 15, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 14), scope: 0 } [INFO] [stdout] { id: 16, instruction: exit_with_message, input: ("zero price is not allowed"), scope: 14 } [INFO] [stdout] { id: 22, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 } [INFO] [stdout] { id: 36, instruction: assign, input: (sell_price), assign: offer.sell_price, scope: 0 } [INFO] [stdout] { id: 44, instruction: assign, input: (buy_price), assign: offer.buy_price, scope: 0 } [INFO] [stdout] { id: 51, 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: 56, 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: 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.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' (102) 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: 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: 7, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_1, scope: 0 }{ id: 12, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_2, scope: 0 }{ id: 13, instruction: or, input: (BINARY_EXPRESSION_LEFT_1, BINARY_EXPRESSION_RIGHT_2), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 15, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 14), scope: 0 }{ id: 16, instruction: exit_with_message, input: (\"zero price is not allowed\"), scope: 14 }{ id: 22, instruction: evaluate, input: (load_offer, e), assign: offer, scope: 0 }{ id: 28, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 }{ id: 36, instruction: assign, input: (sell_price), assign: offer.sell_price, scope: 0 }{ id: 44, instruction: assign, input: (buy_price), assign: offer.buy_price, scope: 0 }{ id: 51, instruction: evaluate, input: (write_offer, e, offer), scope: 0 }$-() [get_offer]* Inputs:{e: Env}* Output: Offer* Instructions:${ id: 56, 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: 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.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: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764df85 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_single_offer::h257a5a892cb37815 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764dfc7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_single_offer::{{closure}}::h732f8aaa58387c0e [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b417666116 - core::ops::function::FnOnce::call_once::ha726c5a68a61770a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_logging stdout ---- [INFO] [stdout] DTR Code: [Contract]: Contract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [hello] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] value: String [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 8, instruction: print, input: (env, "Hello {}", value), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_logging' (99) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: Contract[Interface]:-() [hello]* Inputs:{env: Envvalue: String}* Instructions:${ id: 8, instruction: print, input: (env, \"Hello {}\", value), scope: 0 }$:[Interface]" [INFO] [stdout] right: "[Contract]: Contract[Interface]:-() [hello]* Inputs:{env: Envvalue: String}* Instructions:${ id: 0, instruction: print, input: (env, \"Hello {}\", value), scope: 0 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764d715 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_logging::h6244d6ae46c4cb0e [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764d757 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_logging::{{closure}}::h363deafef1a96d8b [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b417666186 - core::ops::function::FnOnce::call_once::haa0238dec758f7b2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - 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' (111) panicked at src/translate/expression/array_expression.rs:64:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 33, name: "assign", input: ["0"], assign: "ARRAY_EXPRESSION_ELEMENT_0_0", scope: 0 }, Instruction { id: 34, name: "assign", input: ["1"], assign: "ARRAY_EXPRESSION_ELEMENT_1_0", scope: 0 }, Instruction { id: 35, name: "assign", input: ["2"], assign: "ARRAY_EXPRESSION_ELEMENT_2_0", scope: 0 }, Instruction { id: 36, 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: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da068 - core::panicking::assert_failed::h4b436cdef5283471 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b417687563 - rust_to_dtr::translate::expression::array_expression::tests::test_handle_array_expression::hd85e1bab5b84ef39 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/array_expression.rs:64:9 [INFO] [stdout] 22: 0x61b417687697 - rust_to_dtr::translate::expression::array_expression::tests::test_handle_array_expression::{{closure}}::hd927e7515ac84e21 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/array_expression.rs:60:38 [INFO] [stdout] 23: 0x61b417664116 - core::ops::function::FnOnce::call_once::h058c9c9d545c4b80 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7218d0239aa4 - [INFO] [stdout] 45: 0x7218d02c6a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_errors 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: Result [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: 13, instruction: print, input: (env, "count: {}", count), scope: 0 } [INFO] [stdout] { id: 18, instruction: add, input: (count, 1), assign: count, scope: 0 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (less_than_or_equal_to, count, MAX), assign: CONDITIONAL_JUMP_ASSIGNMENT_19, scope: 0 } [INFO] [stdout] { id: 26, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_19, 25), scope: 0 } [INFO] [stdout] { id: 6, instruction: jump, input: (5), scope: 0 } [INFO] [stdout] { id: 35, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_32, scope: 25 } [INFO] [stdout] { id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_32.instance), assign: METHOD_CALL_EXPRESSION_31, scope: 25 } [INFO] [stdout] { id: 37, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.set, COUNTER, count), scope: 25 } [INFO] [stdout] { id: 3, instruction: evaluate, input: (Ok, count), assign: Thing_to_return, scope: 25 } [INFO] [stdout] { id: 4, instruction: jump, input: (0), scope: 25 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (Err, Error::LimitReached), assign: Thing_to_return, scope: 5 } [INFO] [stdout] { id: 13, instruction: jump, input: (0), scope: 5 } [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] LimitReached = 1 [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [State]: [INFO] [stdout] * [COUNTER] [INFO] [stdout] * Type: String [INFO] [stdout] * Initial Value: "COUNTER" [INFO] [stdout] * [MAX] [INFO] [stdout] * Type: Integer [INFO] [stdout] * Initial Value: 5 [INFO] [stdout] :[State] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_errors' (92) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: IncrementContract[Interface]:-() [increment]* Inputs:{env: Env}* Output: Result* 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: 13, instruction: print, input: (env, \"count: {}\", count), scope: 0 }{ id: 18, instruction: add, input: (count, 1), assign: count, scope: 0 }{ id: 24, instruction: evaluate, input: (less_than_or_equal_to, count, MAX), assign: CONDITIONAL_JUMP_ASSIGNMENT_19, scope: 0 }{ id: 26, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_19, 25), scope: 0 }{ id: 6, instruction: jump, input: (5), scope: 0 }{ id: 35, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_32, scope: 25 }{ id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_32.instance), assign: METHOD_CALL_EXPRESSION_31, scope: 25 }{ id: 37, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.set, COUNTER, count), scope: 25 }{ id: 3, instruction: evaluate, input: (Ok, count), assign: Thing_to_return, scope: 25 }{ id: 4, instruction: jump, input: (0), scope: 25 }{ id: 12, instruction: evaluate, input: (Err, Error::LimitReached), assign: Thing_to_return, scope: 5 }{ id: 13, instruction: jump, input: (0), scope: 5 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][User Defined Types]:* (Error_ENUM){LimitReached = 1}:[User Defined Types][State]:* [COUNTER]* Type: String* Initial Value: \"COUNTER\"* [MAX]* Type: Integer* Initial Value: 5:[State]" [INFO] [stdout] right: "[Contract]: IncrementContract[Interface]:-() [increment]* Inputs:{env: Env}* Output: Result* 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: 13, instruction: print, input: (env, \"count: {}\", count), scope: 0 }{ id: 18, instruction: add, input: (count, 1), assign: count, scope: 0 }{ id: 24, instruction: evaluate, input: (less_than_or_equal_to, count, MAX), assign: CONDITIONAL_JUMP_ASSIGNMENT_19, scope: 0 }{ id: 26, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_19, 25), scope: 0 }{ id: 45, instruction: jump, input: (44), scope: 0 }{ id: 35, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_32, scope: 25 }{ id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_32.instance), assign: METHOD_CALL_EXPRESSION_31, scope: 25 }{ id: 37, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.set, COUNTER, count), scope: 25 }{ id: 42, instruction: evaluate, input: (Ok, count), assign: Thing_to_return, scope: 25 }{ id: 43, instruction: jump, input: (0), scope: 25 }{ id: 50, instruction: evaluate, input: (Err, Error::LimitReached), assign: Thing_to_return, scope: 44 }{ id: 51, instruction: jump, input: (0), scope: 44 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][User Defined Types]:* (Error_ENUM){LimitReached = 1}:[User Defined Types][State]:* [COUNTER]* Type: String* Initial Value: \"COUNTER\"* [MAX]* Type: Integer* Initial Value: 5:[State]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764d265 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_errors::hced8674f180a2c04 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764d2a7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_errors::{{closure}}::ha45c4a5ed6332bb6 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b417664b96 - core::ops::function::FnOnce::call_once::h2980910bf8b4136a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - 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: 13, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_10, scope: 0 } [INFO] [stdout] { id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.persistent), assign: METHOD_CALL_EXPRESSION_9, scope: 0 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.set, DataKey::MyKey, 0), scope: 0 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_21, scope: 0 } [INFO] [stdout] { id: 25, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_21.instance), assign: METHOD_CALL_EXPRESSION_20, scope: 0 } [INFO] [stdout] { id: 26, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.set, DataKey::MyKey, 1), 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.temporary), assign: METHOD_CALL_EXPRESSION_31, scope: 0 } [INFO] [stdout] { id: 37, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.set, DataKey::MyKey, 2), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [extend_persistent] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 12, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.persistent), assign: METHOD_CALL_EXPRESSION_4, scope: 0 } [INFO] [stdout] { id: 16, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.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: 45, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_42, scope: 0 } [INFO] [stdout] { id: 46, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_42.instance), assign: METHOD_CALL_EXPRESSION_41, scope: 0 } [INFO] [stdout] { id: 47, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.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: 58, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_55, scope: 0 } [INFO] [stdout] { id: 59, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_55.temporary), assign: METHOD_CALL_EXPRESSION_54, scope: 0 } [INFO] [stdout] { id: 60, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_54.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' (105) 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: 13, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_10, scope: 0 }{ id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.persistent), assign: METHOD_CALL_EXPRESSION_9, scope: 0 }{ id: 15, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.set, DataKey::MyKey, 0), scope: 0 }{ id: 24, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_21, scope: 0 }{ id: 25, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_21.instance), assign: METHOD_CALL_EXPRESSION_20, scope: 0 }{ id: 26, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.set, DataKey::MyKey, 1), 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.temporary), assign: METHOD_CALL_EXPRESSION_31, scope: 0 }{ id: 37, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.set, DataKey::MyKey, 2), scope: 0 }$-() [extend_persistent]* Inputs:{env: Env}* Instructions:${ id: 12, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 15, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.persistent), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 16, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.extend_ttl, DataKey::MyKey, 1000, 5000), scope: 0 }$-() [extend_instance]* Inputs:{env: Env}* Instructions:${ id: 45, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_42, scope: 0 }{ id: 46, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_42.instance), assign: METHOD_CALL_EXPRESSION_41, scope: 0 }{ id: 47, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.extend_ttl, 2000, 10000), scope: 0 }$-() [extend_temporary]* Inputs:{env: Env}* Instructions:${ id: 58, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_55, scope: 0 }{ id: 59, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_55.temporary), assign: METHOD_CALL_EXPRESSION_54, scope: 0 }{ id: 60, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_54.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: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764cea5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_ttl::hced25adc10a356fe [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764cee7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_ttl::{{closure}}::h62501a4bc503f2fe [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b4176665e6 - core::ops::function::FnOnce::call_once::hba6e0669b3331687 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - 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: 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.has, DataKey::Admin), assign: CONDITIONAL_JUMP_ASSIGNMENT_1, scope: 0 } [INFO] [stdout] { id: 12, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_1, 11), scope: 0 } [INFO] [stdout] { id: 18, instruction: evaluate, input: (Err, Error::AlreadyInitialized), assign: RETURN_VALUE_LABEL_13, scope: 11 } [INFO] [stdout] { id: 19, instruction: return, input: (RETURN_VALUE_LABEL_13), scope: 11 } [INFO] [stdout] { id: 29, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_26, scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_26.instance), assign: METHOD_CALL_EXPRESSION_25, scope: 0 } [INFO] [stdout] { id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.set, DataKey::Admin, admin), scope: 0 } [INFO] [stdout] { id: 33, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_32, scope: 0 } [INFO] [stdout] { id: 37, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_32), 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: 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.get, DataKey::Admin), assign: METHOD_CALL_EXPRESSION_1, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_1.unwrap), assign: admin|||Address, scope: 0 } [INFO] [stdout] { id: 14, instruction: evaluate, input: (admin.require_auth), scope: 0 } [INFO] [stdout] { id: 20, instruction: evaluate, input: (e.deployer), assign: METHOD_CALL_EXPRESSION_17, scope: 0 } [INFO] [stdout] { id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_17.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' (106) 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: 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.has, DataKey::Admin), assign: CONDITIONAL_JUMP_ASSIGNMENT_1, scope: 0 }{ id: 12, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_1, 11), scope: 0 }{ id: 18, instruction: evaluate, input: (Err, Error::AlreadyInitialized), assign: RETURN_VALUE_LABEL_13, scope: 11 }{ id: 19, instruction: return, input: (RETURN_VALUE_LABEL_13), scope: 11 }{ id: 29, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_26, scope: 0 }{ id: 30, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_26.instance), assign: METHOD_CALL_EXPRESSION_25, scope: 0 }{ id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.set, DataKey::Admin, admin), scope: 0 }{ id: 33, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_32, scope: 0 }{ id: 37, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_32), 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] 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: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764f8f5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract::hc8d30dddf5f7e2df [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764f937 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract::{{closure}}::h2f6c22b2b120a0b1 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b417664fd6 - core::ops::function::FnOnce::call_once::h3e5822d7fe99e303 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::if_expression::tests::test_handle_if_condition_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::if_expression::tests::test_handle_if_condition_expression' (128) panicked at src/translate/expression/if_expression.rs:218:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 3, name: "assign", input: ["10"], assign: "BINARY_EXPRESSION_LEFT_1", scope: 0 }, Instruction { id: 4, name: "assign", input: ["11"], assign: "BINARY_EXPRESSION_RIGHT_2", scope: 0 }, Instruction { id: 5, name: "evaluate", input: ["less_than", "BINARY_EXPRESSION_LEFT_1", "BINARY_EXPRESSION_RIGHT_2"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_0", scope: 0 }, Instruction { id: 7, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "6"], assign: "", scope: 0 }, Instruction { id: 1, name: "jump", input: ["0"], assign: "", scope: 6 }] [INFO] [stdout] right: [Instruction { id: 3, name: "assign", input: ["10"], assign: "BINARY_EXPRESSION_LEFT_1", scope: 0 }, Instruction { id: 4, name: "assign", input: ["11"], assign: "BINARY_EXPRESSION_RIGHT_2", scope: 0 }, Instruction { id: 5, name: "evaluate", input: ["less_than", "BINARY_EXPRESSION_LEFT_1", "BINARY_EXPRESSION_RIGHT_2"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_0", scope: 0 }, Instruction { id: 7, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "6"], assign: "", scope: 0 }, Instruction { id: 8, name: "jump", input: ["0"], assign: "", scope: 6 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da068 - core::panicking::assert_failed::h4b436cdef5283471 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b4176bb724 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_condition_expression::h042cfef1fa605611 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:218:9 [INFO] [stdout] 22: 0x61b4176bb897 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_condition_expression::{{closure}}::h97cf5fbba6d8334b [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:213:45 [INFO] [stdout] 23: 0x61b4176660d6 - core::ops::function::FnOnce::call_once::ha619c626edd0a80a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7218d0239aa4 - [INFO] [stdout] 45: 0x7218d02c6a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::field_expression::tests::test_handle_field_expression_index stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::field_expression::tests::test_handle_field_expression_index' (124) panicked at src/translate/expression/field_expression.rs:77:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 2, name: "assign", input: ["a"], assign: "FIELD_BASE_0", scope: 0 }, Instruction { id: 3, name: "field", input: ["FIELD_BASE_0", "0"], assign: "FIELD_RESULT_4", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 1, name: "assign", input: ["a"], assign: "FIELD_BASE_0", scope: 0 }, Instruction { id: 2, name: "field", input: ["FIELD_BASE_0", "0"], assign: "FIELD_RESULT_3", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da068 - core::panicking::assert_failed::h4b436cdef5283471 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b4176e0dd9 - rust_to_dtr::translate::expression::field_expression::tests::test_handle_field_expression_index::h59c997d7f021279f [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/field_expression.rs:77:9 [INFO] [stdout] 22: 0x61b4176e0eb7 - rust_to_dtr::translate::expression::field_expression::tests::test_handle_field_expression_index::{{closure}}::h9f8d595dba1ef8ee [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/field_expression.rs:73:44 [INFO] [stdout] 23: 0x61b417665c86 - core::ops::function::FnOnce::call_once::h9d42380d3cc48dfb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7218d0239aa4 - [INFO] [stdout] 45: 0x7218d02c6a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_timelock stdout ---- [INFO] [stdout] DTR Code: [Contract]: ClaimableBalanceContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [deposit] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] from: Address [INFO] [stdout] token: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] claimants: List
[INFO] [stdout] time_bound: TimeBound [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 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: 18, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_13, scope: 0 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.instance), assign: METHOD_CALL_EXPRESSION_11, scope: 0 } [INFO] [stdout] { id: 7, instruction: assign, input: (claimants), assign: claimants, scope: 0 } [INFO] [stdout] { id: 8, instruction: instantiate_object, input: (UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_44, scope: 0 } [INFO] [stdout] { id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_11.set, DataKey::Balance, METHOD_CALL_ARG_2_44), 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.instance), assign: METHOD_CALL_EXPRESSION_26, scope: 0 } [INFO] [stdout] { id: 24, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_23, scope: 0 } [INFO] [stdout] { id: 32, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_26.set, DataKey::Init, METHOD_CALL_ARG_2_23), 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: 39, instruction: evaluate, input: (claimant.require_auth), scope: 0 } [INFO] [stdout] { id: 47, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_44, scope: 0 } [INFO] [stdout] { id: 48, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_44.instance), assign: METHOD_CALL_EXPRESSION_43, scope: 0 } [INFO] [stdout] { id: 49, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_43.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_40, scope: 0 } [INFO] [stdout] { id: 50, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_40.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 } [INFO] [stdout] { id: 63, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_52, scope: 0 } [INFO] [stdout] { id: 64, instruction: evaluate, input: (!, UNARY_ARGUMENT_52), assign: CONDITIONAL_JUMP_ASSIGNMENT_51, scope: 0 } [INFO] [stdout] { id: 66, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_51, 65), scope: 0 } [INFO] [stdout] { id: 67, instruction: exit_with_message, input: ("time predicate is not fulfilled"), scope: 65 } [INFO] [stdout] { id: 79, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_74, scope: 0 } [INFO] [stdout] { id: 80, instruction: evaluate, input: (!, UNARY_ARGUMENT_74), assign: CONDITIONAL_JUMP_ASSIGNMENT_73, scope: 0 } [INFO] [stdout] { id: 82, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_73, 81), scope: 0 } [INFO] [stdout] { id: 1, instruction: exit_with_message, input: ("claimant is not allowed to claim this balance"), scope: 81 } [INFO] [stdout] { id: 34, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_14, scope: 0 } [INFO] [stdout] { id: 6, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_3, scope: 0 } [INFO] [stdout] { id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_14.transfer, METHOD_CALL_ARG_1_3, claimant, claimable_balance.amount), scope: 0 } [INFO] [stdout] { id: 52, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_47, scope: 0 } [INFO] [stdout] { id: 54, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_47.instance), assign: env, scope: 0 } [INFO] [stdout] { id: 55, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_45.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' (103) 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: 18, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_13, scope: 0 }{ id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.instance), assign: METHOD_CALL_EXPRESSION_11, scope: 0 }{ id: 7, instruction: assign, input: (claimants), assign: claimants, scope: 0 }{ id: 8, instruction: instantiate_object, input: (UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_44, scope: 0 }{ id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_11.set, DataKey::Balance, METHOD_CALL_ARG_2_44), 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.instance), assign: METHOD_CALL_EXPRESSION_26, scope: 0 }{ id: 24, instruction: instantiate_object, input: (Tuple), assign: METHOD_CALL_ARG_2_23, scope: 0 }{ id: 32, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_26.set, DataKey::Init, METHOD_CALL_ARG_2_23), scope: 0 }$-() [claim]* Inputs:{env: Envclaimant: Address}* Instructions:${ id: 39, instruction: evaluate, input: (claimant.require_auth), scope: 0 }{ id: 47, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_44, scope: 0 }{ id: 48, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_44.instance), assign: METHOD_CALL_EXPRESSION_43, scope: 0 }{ id: 49, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_43.get, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_40, scope: 0 }{ id: 50, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_40.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 }{ id: 63, instruction: evaluate, input: (check_time_bound, env, claimable_balance.time_bound), assign: UNARY_ARGUMENT_52, scope: 0 }{ id: 64, instruction: evaluate, input: (!, UNARY_ARGUMENT_52), assign: CONDITIONAL_JUMP_ASSIGNMENT_51, scope: 0 }{ id: 66, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_51, 65), scope: 0 }{ id: 67, instruction: exit_with_message, input: (\"time predicate is not fulfilled\"), scope: 65 }{ id: 79, instruction: evaluate, input: (claimants.contains, claimant), assign: UNARY_ARGUMENT_74, scope: 0 }{ id: 80, instruction: evaluate, input: (!, UNARY_ARGUMENT_74), assign: CONDITIONAL_JUMP_ASSIGNMENT_73, scope: 0 }{ id: 82, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_73, 81), scope: 0 }{ id: 1, instruction: exit_with_message, input: (\"claimant is not allowed to claim this balance\"), scope: 81 }{ id: 34, instruction: evaluate, input: (token::Client::new, env, claimable_balance.token), assign: METHOD_CALL_EXPRESSION_14, scope: 0 }{ id: 6, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_ARG_1_3, scope: 0 }{ id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_14.transfer, METHOD_CALL_ARG_1_3, claimant, claimable_balance.amount), scope: 0 }{ id: 52, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_47, scope: 0 }{ id: 54, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_47.instance), assign: env, scope: 0 }{ id: 55, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_45.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: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764d805 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_timelock::hb6a16956f117f7fd [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764d847 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_timelock::{{closure}}::hfae74aab30da68c6 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b417665946 - core::ops::function::FnOnce::call_once::h87213cf0d1e98e1f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_old_contract stdout ---- [INFO] [stdout] DTR Code: [Contract]: UpgradeableContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [init] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] admin: Address [INFO] [stdout] } [INFO] [stdout] * Output: Result<(), Error> [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 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: (1), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [upgrade] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] new_wasm_hash: ByteStringSmall [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 30, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_27, scope: 0 } [INFO] [stdout] { id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_27.instance), assign: METHOD_CALL_EXPRESSION_26, scope: 0 } [INFO] [stdout] { id: 33, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_26.get, DataKey::Admin), assign: METHOD_CALL_EXPRESSION_19, scope: 0 } [INFO] [stdout] { id: 35, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.unwrap), assign: admin|||Address, scope: 0 } [INFO] [stdout] { id: 40, instruction: evaluate, input: (admin.require_auth), scope: 0 } [INFO] [stdout] { id: 51, instruction: evaluate, input: (e.deployer), assign: METHOD_CALL_EXPRESSION_44, scope: 0 } [INFO] [stdout] { id: 53, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_44.update_current_contract_wasm, new_wasm_hash), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (DataKey_ENUM) [INFO] [stdout] { [INFO] [stdout] Admin: () [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] * (Error_ENUM) [INFO] [stdout] { [INFO] [stdout] AlreadyInitialized = 1 [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_old_contract' (107) 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: (1), scope: 0 }$-() [upgrade]* Inputs:{e: Envnew_wasm_hash: ByteStringSmall}* Instructions:${ id: 30, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_27, scope: 0 }{ id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_27.instance), assign: METHOD_CALL_EXPRESSION_26, scope: 0 }{ id: 33, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_26.get, DataKey::Admin), assign: METHOD_CALL_EXPRESSION_19, scope: 0 }{ id: 35, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.unwrap), assign: admin|||Address, scope: 0 }{ id: 40, instruction: evaluate, input: (admin.require_auth), scope: 0 }{ id: 51, instruction: evaluate, input: (e.deployer), assign: METHOD_CALL_EXPRESSION_44, scope: 0 }{ id: 53, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_44.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: (1), 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: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da29f - core::panicking::assert_failed::hddd88d7dff8dbe0e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b41764cca0 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::hce95f41a5e7d71d2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x61b41764f9e5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_old_contract::hc7e681d114266ac3 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x61b41764fa27 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_old_contract::{{closure}}::hbaa039e3049b25b2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x61b417666056 - core::ops::function::FnOnce::call_once::ha3baffa33f211ed9 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x7218d0239aa4 - [INFO] [stdout] 46: 0x7218d02c6a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::index_expression::tests::test_handle_index_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::index_expression::tests::test_handle_index_expression' (134) panicked at src/translate/expression/index_expression.rs:58:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 7, name: "assign", input: ["a"], assign: "THING_BEING_INDEXED_1", scope: 0 }, Instruction { id: 10, name: "assign", input: ["1"], assign: "INDEX_NAME_8", scope: 0 }, Instruction { id: 11, name: "evaluate", input: ["index", "THING_BEING_INDEXED_1", "INDEX_NAME_8"], assign: "", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 1, name: "assign", input: ["a"], assign: "THING_BEING_INDEXED_0", scope: 0 }, Instruction { id: 3, name: "assign", input: ["1"], assign: "INDEX_NAME_2", scope: 0 }, Instruction { id: 4, name: "evaluate", input: ["index", "THING_BEING_INDEXED_0", "INDEX_NAME_2"], assign: "", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da068 - core::panicking::assert_failed::h4b436cdef5283471 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b4176c2f93 - rust_to_dtr::translate::expression::index_expression::tests::test_handle_index_expression::h9e73cc746e4d7b03 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/index_expression.rs:58:9 [INFO] [stdout] 22: 0x61b4176c30e7 - rust_to_dtr::translate::expression::index_expression::tests::test_handle_index_expression::{{closure}}::h9e311ddd31d6bc1d [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/index_expression.rs:54:38 [INFO] [stdout] 23: 0x61b417667126 - core::ops::function::FnOnce::call_once::hf9ae80c8be3734ce [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7218d0239aa4 - [INFO] [stdout] 45: 0x7218d02c6a34 - 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' (133) 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: 2, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "0"], assign: "", scope: 0 }, Instruction { id: 4, name: "assign", input: ["true"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_3", scope: 0 }, Instruction { id: 6, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_3", "5"], assign: "", scope: 0 }, Instruction { id: 9, name: "print", input: ["\"nested_if\""], assign: "", scope: 5 }, Instruction { id: 12, name: "jump", input: ["0"], assign: "", scope: 5 }, Instruction { id: 13, name: "print", input: ["\"after_nested_if\""], assign: "", scope: 0 }] [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: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da068 - core::panicking::assert_failed::h4b436cdef5283471 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b4176c0af5 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_true_nested_expression::h2203033978683cea [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:149:9 [INFO] [stdout] 22: 0x61b4176c0cd7 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_true_nested_expression::{{closure}}::he21a26ad17bf39d9 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:138:47 [INFO] [stdout] 23: 0x61b417665d46 - core::ops::function::FnOnce::call_once::h9ec95d9f02ab3f8b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7218d0239aa4 - [INFO] [stdout] 45: 0x7218d02c6a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::tuple_expression::tests::test_handle_tuple stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::tuple_expression::tests::test_handle_tuple' (154) panicked at src/translate/expression/tuple_expression.rs:61:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 7, name: "assign", input: ["a"], assign: "TUPLE_ARG_1_0", scope: 0 }, Instruction { id: 12, name: "assign", input: ["b"], assign: "TUPLE_ARG_2_0", scope: 0 }, Instruction { id: 13, name: "instantiate_object", input: ["Tuple", "TUPLE_ARG_1_0", "TUPLE_ARG_2_0"], assign: "TUPLE_RESULT_14", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 0, name: "assign", input: ["a"], assign: "TUPLE_ARG_1_0", scope: 0 }, Instruction { id: 1, name: "assign", input: ["b"], assign: "TUPLE_ARG_2_0", scope: 0 }, Instruction { id: 2, name: "instantiate_object", input: ["Tuple", "TUPLE_ARG_1_0", "TUPLE_ARG_2_0"], assign: "TUPLE_RESULT_3", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da068 - core::panicking::assert_failed::h4b436cdef5283471 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b4176cc7ab - rust_to_dtr::translate::expression::tuple_expression::tests::test_handle_tuple::h773b8d0293876fc7 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/tuple_expression.rs:61:9 [INFO] [stdout] 22: 0x61b4176cc8b7 - rust_to_dtr::translate::expression::tuple_expression::tests::test_handle_tuple::{{closure}}::hc449849547917375 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/tuple_expression.rs:57:27 [INFO] [stdout] 23: 0x61b417666eb6 - core::ops::function::FnOnce::call_once::heae1e5333e0e08bb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7218d0239aa4 - [INFO] [stdout] 45: 0x7218d02c6a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::range_expression::test::test_handle_create_full_range stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::range_expression::test::test_handle_create_full_range' (148) panicked at src/translate/expression/range_expression.rs:124:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 3, name: "assign", input: ["1"], assign: "RANGE_START_0", scope: 0 }, Instruction { id: 4, name: "assign", input: ["10"], assign: "RANGE_END_1", scope: 0 }, Instruction { id: 6, name: "instantiate_object", input: ["Range", "RANGE_START_0", "RANGE_END_1"], assign: "", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 2, name: "assign", input: ["1"], assign: "RANGE_START_0", scope: 0 }, Instruction { id: 3, name: "assign", input: ["10"], assign: "RANGE_END_1", scope: 0 }, Instruction { id: 4, name: "instantiate_object", input: ["Range", "RANGE_START_0", "RANGE_END_1"], assign: "", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da068 - core::panicking::assert_failed::h4b436cdef5283471 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b4176c5391 - rust_to_dtr::translate::expression::range_expression::test::test_handle_create_full_range::h0e3cc19d2ce162b9 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/range_expression.rs:124:9 [INFO] [stdout] 22: 0x61b4176c5497 - rust_to_dtr::translate::expression::range_expression::test::test_handle_create_full_range::{{closure}}::hb98b8477d877253c [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/range_expression.rs:89:39 [INFO] [stdout] 23: 0x61b417665bc6 - core::ops::function::FnOnce::call_once::h9898a60610c4e77b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7218d0239aa4 - [INFO] [stdout] 45: 0x7218d02c6a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::unary_expression::tests::test_handle_unary_minus_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::unary_expression::tests::test_handle_unary_minus_expression' (155) panicked at src/translate/expression/unary_expression.rs:79:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 2, name: "assign", input: ["a"], assign: "UNARY_ARGUMENT_1", scope: 0 }, Instruction { id: 3, name: "evaluate", input: ["-", "UNARY_ARGUMENT_1"], assign: "", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 1, name: "assign", input: ["a"], assign: "UNARY_ARGUMENT_0", scope: 0 }, Instruction { id: 2, name: "evaluate", input: ["-", "UNARY_ARGUMENT_0"], assign: "", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da068 - core::panicking::assert_failed::h4b436cdef5283471 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b4176cd82f - rust_to_dtr::translate::expression::unary_expression::tests::test_handle_unary_minus_expression::h8cc221a29ffdfcab [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/unary_expression.rs:79:9 [INFO] [stdout] 22: 0x61b4176cd907 - rust_to_dtr::translate::expression::unary_expression::tests::test_handle_unary_minus_expression::{{closure}}::h0d4f2f610bd99f1f [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/unary_expression.rs:75:44 [INFO] [stdout] 23: 0x61b417664186 - core::ops::function::FnOnce::call_once::h06777f96d47a61a0 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7218d0239aa4 - [INFO] [stdout] 45: 0x7218d02c6a34 - 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' (144) panicked at src/translate/expression/match_expression.rs:101:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 0, name: "assign", input: ["instance_of_struct"], assign: "THING_TO_COMPARE_AGAINST_0", scope: 0 }, Instruction { id: 2, name: "evaluate", input: ["equal_to", "THING_TO_COMPARE_AGAINST_0", "Struct::Variant1"], assign: "CONDITIONAL_JUMP_CHECK_1", scope: 0 }, Instruction { id: 4, name: "jump", input: ["CONDITIONAL_JUMP_CHECK_1", "3"], 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: 5, name: "print", input: ["\"Variant1\""], assign: "", scope: 3 }, Instruction { id: 6, name: "jump", input: ["0"], assign: "", scope: 3 }, Instruction { id: 15, name: "print", input: ["\"Variant2\""], assign: "", scope: 10 }, Instruction { id: 16, name: "jump", input: ["0"], assign: "", scope: 10 }] [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: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da068 - core::panicking::assert_failed::h4b436cdef5283471 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b4176896c2 - rust_to_dtr::translate::expression::match_expression::tests::test_handle_match_expression::hf4bdc41dc2567164 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/match_expression.rs:101:9 [INFO] [stdout] 22: 0x61b4176898d7 - rust_to_dtr::translate::expression::match_expression::tests::test_handle_match_expression::{{closure}}::h7f3f3151889f6b43 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/match_expression.rs:93:38 [INFO] [stdout] 23: 0x61b417665cc6 - core::ops::function::FnOnce::call_once::h9dbf5b1ebec02c51 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7218d0239aa4 - [INFO] [stdout] 45: 0x7218d02c6a34 - 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' (153) 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: 5, name: "assign", input: ["2"], assign: "b", scope: 0 }, Instruction { id: 7, name: "instantiate_object", input: ["UDT", "Struct", "a", "b"], assign: "STRUCT_EXPRESSION_RESULT_8", 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: 0x61b4178eb352 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61b4178eb352 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61b4178eb352 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61b4178eb352 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61b4178fd1bf - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61b4178fd1bf - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61b4178b8231 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61b4178b8231 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61b4178c4302 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61b4178c8e9f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61b4178c8d31 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x61b41771994e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x61b41771994e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61b4178c960f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x61b4178c960f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x61b4178c93ba - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x61b4178c4439 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x61b4178abf6d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x61b417905360 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x61b417905163 - core::panicking::assert_failed_inner::hcb7d91158db22960 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:442:17 [INFO] [stdout] 20: 0x61b4176da068 - core::panicking::assert_failed::h4b436cdef5283471 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:397:5 [INFO] [stdout] 21: 0x61b4176e3784 - rust_to_dtr::translate::expression::struct_expression::tests::test_handle_struct_expression::h632718ed074bb3cd [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/struct_expression.rs:68:9 [INFO] [stdout] 22: 0x61b4176e3887 - rust_to_dtr::translate::expression::struct_expression::tests::test_handle_struct_expression::{{closure}}::h1089ba8c3a275384 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/struct_expression.rs:64:39 [INFO] [stdout] 23: 0x61b417666206 - core::ops::function::FnOnce::call_once::hadca02ef7d423c50 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x61b41771977b - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x61b41771977b - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x61b41772f355 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x61b41772f355 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x61b41772f355 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x61b41772f355 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x61b41772f355 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x61b41772f355 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x61b41772f355 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x61b417705b64 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x61b417705b64 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x61b41770942a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x61b41770942a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x61b41770942a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x61b41770942a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x61b41770942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x61b41770942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x61b4178bf57f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 43: 0x61b4178bf57f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x7218d0239aa4 - [INFO] [stdout] 45: 0x7218d02c6a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_get_force_type_answer_to_life [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_increment_answer_to_life [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_return_if_expression_assignment [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_various_result_handling_tactics [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_account [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_atomic_swap [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_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_deployer_contract [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_errors [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_logging [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] tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_old_contract [INFO] [stdout] translate::expression::array_expression::tests::test_handle_array_expression [INFO] [stdout] translate::expression::field_expression::tests::test_handle_field_expression_index [INFO] [stdout] translate::expression::if_expression::tests::test_handle_if_condition_expression [INFO] [stdout] translate::expression::if_expression::tests::test_handle_if_true_nested_expression [INFO] [stdout] translate::expression::index_expression::tests::test_handle_index_expression [INFO] [stdout] translate::expression::match_expression::tests::test_handle_match_expression [INFO] [stdout] translate::expression::range_expression::test::test_handle_create_full_range [INFO] [stdout] translate::expression::struct_expression::tests::test_handle_struct_expression [INFO] [stdout] translate::expression::tuple_expression::tests::test_handle_tuple [INFO] [stdout] translate::expression::unary_expression::tests::test_handle_unary_minus_expression [INFO] [stdout] [INFO] [stdout] test result: FAILED. 113 passed; 31 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e5154284cd0f2bebd177c5954b37e92ad2a83ce6900ece1d1bb4a7d5b6db57b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5154284cd0f2bebd177c5954b37e92ad2a83ce6900ece1d1bb4a7d5b6db57b4", kill_on_drop: false }` [INFO] [stdout] e5154284cd0f2bebd177c5954b37e92ad2a83ce6900ece1d1bb4a7d5b6db57b4