[INFO] fetching crate poet_rhai_codegen 3.1.0...
[INFO] testing poet_rhai_codegen-3.1.0 against 1.93.0 for beta-1.94-1
[INFO] extracting crate poet_rhai_codegen 3.1.0 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate poet_rhai_codegen 3.1.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate poet_rhai_codegen 3.1.0
[INFO] tweaked toml for crates.io crate poet_rhai_codegen 3.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate poet_rhai_codegen 3.1.0 on toolchain 1.93.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.93.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate poet_rhai_codegen 3.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.93.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_spanned v1.0.0
[INFO] [stderr]   Downloaded toml_datetime v0.7.0
[INFO] [stderr]   Downloaded toml_writer v1.0.2
[INFO] [stderr]   Downloaded target-triple v0.1.4
[INFO] [stderr]   Downloaded toml v0.9.5
[INFO] [stderr]   Downloaded toml_parser v1.0.2
[INFO] [stderr]   Downloaded smartstring v1.0.1
[INFO] [stderr]   Downloaded rhai_codegen v2.2.0
[INFO] [stderr]   Downloaded wit-bindgen v0.45.1
[INFO] [stderr]   Downloaded thin-vec v0.2.14
[INFO] [stderr]   Downloaded trybuild v1.0.110
[INFO] [stderr]   Downloaded serde_json v1.0.143
[INFO] [stderr]   Downloaded wasi v0.14.4+wasi-0.2.4
[INFO] [stderr]   Downloaded rhai v1.22.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4ca289dbf44ecaa8f22b28dcf38051e3618c6a8e5f1615372a31138b0bb8ff89
[INFO] running `Command { std: "docker" "start" "-a" "4ca289dbf44ecaa8f22b28dcf38051e3618c6a8e5f1615372a31138b0bb8ff89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ca289dbf44ecaa8f22b28dcf38051e3618c6a8e5f1615372a31138b0bb8ff89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ca289dbf44ecaa8f22b28dcf38051e3618c6a8e5f1615372a31138b0bb8ff89", kill_on_drop: false }`
[INFO] [stdout] 4ca289dbf44ecaa8f22b28dcf38051e3618c6a8e5f1615372a31138b0bb8ff89
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6dfe6df85a843b77ad88c78b0c4eb3abae5575250dbaded5118bf6417a938330
[INFO] running `Command { std: "docker" "start" "-a" "6dfe6df85a843b77ad88c78b0c4eb3abae5575250dbaded5118bf6417a938330", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling poet_rhai_codegen v3.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.34s
[INFO] running `Command { std: "docker" "inspect" "6dfe6df85a843b77ad88c78b0c4eb3abae5575250dbaded5118bf6417a938330", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6dfe6df85a843b77ad88c78b0c4eb3abae5575250dbaded5118bf6417a938330", kill_on_drop: false }`
[INFO] [stdout] 6dfe6df85a843b77ad88c78b0c4eb3abae5575250dbaded5118bf6417a938330
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1c7b2e8a5cae19e20f70cf6d7cd1471e774362df5edcf1439cca1cd999a23abd
[INFO] running `Command { std: "docker" "start" "-a" "1c7b2e8a5cae19e20f70cf6d7cd1471e774362df5edcf1439cca1cd999a23abd", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling target-triple v0.1.4
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling smartstring v1.0.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling toml_writer v1.0.2
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling toml_parser v1.0.2
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling rhai_codegen v2.2.0
[INFO] [stderr]    Compiling poet_rhai_codegen v3.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling serde_spanned v1.0.0
[INFO] [stderr]    Compiling toml_datetime v0.7.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling thin-vec v0.2.14
[INFO] [stderr]    Compiling toml v0.9.5
[INFO] [stderr]    Compiling rhai v1.22.2
[INFO] [stderr]    Compiling trybuild v1.0.110
[INFO] [stdout] warning: unused imports: `Dynamic`, `EvalAltResult`, and `Position`
[INFO] [stdout]  --> tests/test_custom_type.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rhai::{CustomType, Dynamic, Engine, EvalAltResult, Position, TypeBuilder, INT};
[INFO] [stdout]   |                        ^^^^^^^          ^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> tests/test_custom_type.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Bar(
[INFO] [stdout]   |            --- field in this struct
[INFO] [stdout] 7 |     #[rhai_type(skip)] rhai::FLOAT,
[INFO] [stdout]   |                        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Bar` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 -     #[rhai_type(skip)] rhai::FLOAT,
[INFO] [stdout] 7 +     #[rhai_type(skip)] (),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 47.96s
[INFO] running `Command { std: "docker" "inspect" "1c7b2e8a5cae19e20f70cf6d7cd1471e774362df5edcf1439cca1cd999a23abd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c7b2e8a5cae19e20f70cf6d7cd1471e774362df5edcf1439cca1cd999a23abd", kill_on_drop: false }`
[INFO] [stdout] 1c7b2e8a5cae19e20f70cf6d7cd1471e774362df5edcf1439cca1cd999a23abd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 83fcb6d78c1aaea9ea9bf56c51a667fa39e5aa9e1b1a080839e31ed0ac318c91
[INFO] running `Command { std: "docker" "start" "-a" "83fcb6d78c1aaea9ea9bf56c51a667fa39e5aa9e1b1a080839e31ed0ac318c91", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Dynamic`, `EvalAltResult`, and `Position`
[INFO] [stderr]  --> tests/test_custom_type.rs:1:24
[INFO] [stderr]   |
[INFO] [stderr] 1 | use rhai::{CustomType, Dynamic, Engine, EvalAltResult, Position, TypeBuilder, INT};
[INFO] [stderr]   |                        ^^^^^^^          ^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> tests/test_custom_type.rs:7:24
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct Bar(
[INFO] [stderr]   |            --- field in this struct
[INFO] [stderr] 7 |     #[rhai_type(skip)] rhai::FLOAT,
[INFO] [stderr]   |                        ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Bar` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]   |
[INFO] [stderr] 7 -     #[rhai_type(skip)] rhai::FLOAT,
[INFO] [stderr] 7 +     #[rhai_type(skip)] (),
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: `poet_rhai_codegen` (test "test_custom_type") generated 2 warnings (run `cargo fix --test "test_custom_type" -p poet_rhai_codegen` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/poet_rhai_codegen-8f635f84e3dc4d08)
[INFO] [stdout] 
[INFO] [stdout] running 68 tests
[INFO] [stdout] test test::function::function_tests::mut_ref_second_arg_fn ... ok
[INFO] [stdout] test test::function::function_tests::immutable_receiver_fn ... ok
[INFO] [stdout] test test::function::function_tests::minimal_fn ... ok
[INFO] [stdout] test test::function::function_tests::one_arg_fn ... ok
[INFO] [stdout] test test::function::function_tests::private_fn ... ok
[INFO] [stdout] test test::custom_type::custom_type_tests::test_custom_type_tuple_struct ... ok
[INFO] [stdout] test test::function::function_tests::ptr_returning_fn ... ok
[INFO] [stdout] test test::custom_type::custom_type_tests::test_custom_type_struct ... ok
[INFO] [stdout] test test::function::function_tests::receiver_fn ... ok
[INFO] [stdout] test test::function::function_tests::str_arg_fn ... ok
[INFO] [stdout] test test::function::function_tests::ref_arg_fn ... ok
[INFO] [stdout] test test::function::function_tests::ref_returning_fn ... ok
[INFO] [stdout] test test::function::function_tests::usize_returning_fn ... ok
[INFO] [stdout] test test::function::function_tests::str_second_arg_fn ... ok
[INFO] [stdout] test test::function::function_tests::two_arg_fn ... ok
[INFO] [stdout] test test::module::generate_tests::empty_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_constant_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_constant_module_imports_preserved ... ok
[INFO] [stdout] test test::module::generate_tests::one_constant_nested_module ... ok
[INFO] [stdout] test test::module::generate_tests::dual_constant_nested_module ... ok
[INFO] [stdout] test test::function::function_tests::ref_second_arg_fn ... ok
[INFO] [stdout] test test::function::generate_tests::minimal_fn ... FAILED
[INFO] [stdout] test test::function::generate_tests::one_arg_fn_with_context ... FAILED
[INFO] [stdout] test test::function::generate_tests::mut_arg_usize_fn ... FAILED
[INFO] [stdout] test test::function::generate_tests::return_dynamic ... FAILED
[INFO] [stdout] test test::function::generate_tests::one_arg_usize_fn_impl ... FAILED
[INFO] [stdout] test test::function::generate_tests::one_arg_usize_fn ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_getter_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::mut_ref_pure_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_factory_fn_with_comments_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_factory_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_double_arg_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_double_rename_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_constant_type_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_fn_with_cfg_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_index_getter_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_getter_and_rename_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_index_getter_fn_with_cfg_attr_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_index_setter_and_rename_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::deep_tree_nested_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_private_constant_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_skipped_fn_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_private_fn_module ... ok
[INFO] [stdout] test test::module::module_tests::empty_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_single_arg_fn_module ... FAILED
[INFO] [stdout] test test::module::module_tests::one_constant_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_setter_and_rename_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_setter_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_single_arg_global_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_str_arg_fn_module ... FAILED
[INFO] [stdout] test test::module::module_tests::one_factory_fn_with_custom_type_module ... ok
[INFO] [stdout] test test::module::module_tests::one_double_arg_fn_module ... ok
[INFO] [stdout] test test::module::module_tests::one_factory_fn_module ... ok
[INFO] [stdout] test test::module::module_tests::one_skipped_fn_nested_module ... ok
[INFO] [stdout] test test::module::module_tests::one_single_arg_fn_module ... ok
[INFO] [stdout] test test::module::module_tests::one_skipped_fn_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_index_setter_fn_module ... FAILED
[INFO] [stdout] test test::module::module_tests::one_constant_nested_module ... ok
[INFO] [stdout] test test::module::module_tests::one_private_constant_module ... ok
[INFO] [stdout] test test::function::generate_tests::str_arg_fn ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_string_arg_fn_module ... FAILED
[INFO] [stdout] test test::function::generate_tests::two_arg_returning_usize_fn ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_index_getter_and_rename_fn_module ... FAILED
[INFO] [stdout] test test::module::module_tests::one_skipped_nested_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_mut_ref_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_fn_nested_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::two_fn_overload_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_skipped_sub_module ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test::function::generate_tests::minimal_fn stdout ----
[INFO] [stdout] actual != expected, diverge at char 141
[INFO] [stdout] 
[INFO] [stdout] thread 'test::function::generate_tests::minimal_fn' (41) panicked at src/test/function.rs:262:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [automatically_derived] pub mod rhai_fn_do_nothing { use super :: * ; # [doc (hidden)] pub struct Token () ; # [doc (hidden)] impl Token { # [inline (always)] pub fn param_types () -> [TypeId ; 0usize] { [] } } impl PluginFunc for Token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { Ok (Dynamic :: from (do_nothing ())) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } # [allow (unused)] # [doc (hidden)] # [inline (always)] pub fn dynamic_result_fn () -> RhaiResult { Ok (Dynamic :: from (do_nothing ())) } }"
[INFO] [stdout]  right: "# [automatically_derived] pub mod rhai_fn_do_nothing { use super :: * ; # [doc (hidden)] pub struct Token () ; # [doc (hidden)] impl Token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"()\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 0usize] { [] } } impl PluginFunc for Token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { Ok (Dynamic :: from (do_nothing ())) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } # [allow (unused)] # [doc (hidden)] # [inline (always)] pub fn dynamic_result_fn () -> RhaiResult { Ok (Dynamic :: from (do_nothing ())) } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4dafb6ce4 - poet_rhai_codegen::test::function::generate_tests::assert_streams_eq::h9612e1a24aa8ae4d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x61e4dafaa1b8 - poet_rhai_codegen::test::function::generate_tests::minimal_fn::h20c13401e1be5d67
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:301:9
[INFO] [stdout]   23:     0x61e4dafaa227 - poet_rhai_codegen::test::function::generate_tests::minimal_fn::{{closure}}::h7cb0755aa8bfa550
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:266:20
[INFO] [stdout]   24:     0x61e4db009c06 - core::ops::function::FnOnce::call_once::hb53f1f87df7a1a06
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::function::generate_tests::one_arg_fn_with_context stdout ----
[INFO] [stdout] actual != expected, diverge at char 143
[INFO] [stdout] 
[INFO] [stdout] thread 'test::function::generate_tests::one_arg_fn_with_context' (43) panicked at src/test/function.rs:262:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [automatically_derived] pub mod rhai_fn_do_something { use super :: * ; # [doc (hidden)] pub struct Token () ; # [doc (hidden)] impl Token { # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < usize > ()] } } impl PluginFunc for Token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < usize > () ; Ok (Dynamic :: from (do_something (context . unwrap () , arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { true } } # [allow (unused)] # [doc (hidden)] # [inline (always)] pub fn dynamic_result_fn (context : NativeCallContext , x : usize) -> RhaiResult { Ok (Dynamic :: from (do_something (context , x))) } }"
[INFO] [stdout]  right: "# [automatically_derived] pub mod rhai_fn_do_something { use super :: * ; # [doc (hidden)] pub struct Token () ; # [doc (hidden)] impl Token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: usize\" , \"()\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < usize > ()] } } impl PluginFunc for Token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < usize > () ; Ok (Dynamic :: from (do_something (context . unwrap () , arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { true } } # [allow (unused)] # [doc (hidden)] # [inline (always)] pub fn dynamic_result_fn (context : NativeCallContext , x : usize) -> RhaiResult { Ok (Dynamic :: from (do_something (context , x))) } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4dafb6ce4 - poet_rhai_codegen::test::function::generate_tests::assert_streams_eq::h9612e1a24aa8ae4d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x61e4dafbc3fc - poet_rhai_codegen::test::function::generate_tests::one_arg_fn_with_context::h3e9ee1649fea0756
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:384:9
[INFO] [stdout]   23:     0x61e4dafbc487 - poet_rhai_codegen::test::function::generate_tests::one_arg_fn_with_context::{{closure}}::hd13a1e7458ed468c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:346:33
[INFO] [stdout]   24:     0x61e4db009616 - core::ops::function::FnOnce::call_once::h7ff82abb8d88c490
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::function::generate_tests::mut_arg_usize_fn stdout ----
[INFO] [stdout] actual != expected, diverge at char 140
[INFO] [stdout] 
[INFO] [stdout] thread 'test::function::generate_tests::mut_arg_usize_fn' (42) panicked at src/test/function.rs:262:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [automatically_derived] pub mod rhai_fn_increment { use super :: * ; # [doc (hidden)] pub struct Token () ; # [doc (hidden)] impl Token { # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < usize > () , TypeId :: of :: < usize > ()] } } impl PluginFunc for Token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < usize > () ; let arg0 = & mut args [0usize] . write_lock :: < usize > () . unwrap () ; Ok (Dynamic :: from (increment (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } # [allow (unused)] # [doc (hidden)] # [inline (always)] pub fn dynamic_result_fn (x : & mut usize , y : usize) -> RhaiResult { Ok (Dynamic :: from (increment (x , y))) } }"
[INFO] [stdout]  right: "# [automatically_derived] pub mod rhai_fn_increment { use super :: * ; # [doc (hidden)] pub struct Token () ; # [doc (hidden)] impl Token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: &mut usize\" , \"y: usize\" , \"()\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < usize > () , TypeId :: of :: < usize > ()] } } impl PluginFunc for Token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < usize > () ; let arg0 = & mut args [0usize] . write_lock :: < usize > () . unwrap () ; Ok (Dynamic :: from (increment (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } # [allow (unused)] # [doc (hidden)] # [inline (always)] pub fn dynamic_result_fn (x : & mut usize , y : usize) -> RhaiResult { Ok (Dynamic :: from (increment (x , y))) } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4dafb6ce4 - poet_rhai_codegen::test::function::generate_tests::assert_streams_eq::h9612e1a24aa8ae4d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x61e4dafb370e - poet_rhai_codegen::test::function::generate_tests::mut_arg_usize_fn::hefa636e91d092ae0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:541:9
[INFO] [stdout]   23:     0x61e4dafb3797 - poet_rhai_codegen::test::function::generate_tests::mut_arg_usize_fn::{{closure}}::hce724eebd67a918e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:502:26
[INFO] [stdout]   24:     0x61e4db0099f6 - core::ops::function::FnOnce::call_once::ha684c21f891304f5
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::function::generate_tests::return_dynamic stdout ----
[INFO] [stdout] actual != expected, diverge at char 145
[INFO] [stdout] 
[INFO] [stdout] thread 'test::function::generate_tests::return_dynamic' (46) panicked at src/test/function.rs:262:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [automatically_derived] pub mod rhai_fn_return_dynamic { use super :: * ; # [doc (hidden)] pub struct Token () ; # [doc (hidden)] impl Token { # [inline (always)] pub fn param_types () -> [TypeId ; 0usize] { [] } } impl PluginFunc for Token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { Ok (Dynamic :: from (return_dynamic ())) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } # [allow (unused)] # [doc (hidden)] # [inline (always)] pub fn dynamic_result_fn () -> RhaiResult { Ok (Dynamic :: from (return_dynamic ())) } }"
[INFO] [stdout]  right: "# [automatically_derived] pub mod rhai_fn_return_dynamic { use super :: * ; # [doc (hidden)] pub struct Token () ; # [doc (hidden)] impl Token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"rhai::Dynamic\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 0usize] { [] } } impl PluginFunc for Token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { Ok (Dynamic :: from (return_dynamic ())) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } # [allow (unused)] # [doc (hidden)] # [inline (always)] pub fn dynamic_result_fn () -> RhaiResult { Ok (Dynamic :: from (return_dynamic ())) } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4dafb6ce4 - poet_rhai_codegen::test::function::generate_tests::assert_streams_eq::h9612e1a24aa8ae4d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x61e4dafb00a2 - poet_rhai_codegen::test::function::generate_tests::return_dynamic::hf32e4188243908cc
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:426:9
[INFO] [stdout]   23:     0x61e4dafb0117 - poet_rhai_codegen::test::function::generate_tests::return_dynamic::{{closure}}::h3512c8530bf86950
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:388:24
[INFO] [stdout]   24:     0x61e4db009ef6 - core::ops::function::FnOnce::call_once::hd62a3f308fa9f87b
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::function::generate_tests::one_arg_usize_fn_impl stdout ----
[INFO] [stdout] actual != expected, diverge at char 35
[INFO] [stdout] 
[INFO] [stdout] thread 'test::function::generate_tests::one_arg_usize_fn_impl' (45) panicked at src/test/function.rs:262:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [doc (hidden)] impl TestStruct { # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < usize > ()] } } impl PluginFunc for TestStruct { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < usize > () ; Ok (Dynamic :: from (do_something (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } }"
[INFO] [stdout]  right: "# [doc (hidden)] impl TestStruct { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: usize\" , \"()\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < usize > ()] } } impl PluginFunc for TestStruct { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < usize > () ; Ok (Dynamic :: from (do_something (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4dafb6ce4 - poet_rhai_codegen::test::function::generate_tests::assert_streams_eq::h9612e1a24aa8ae4d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x61e4dafb91d3 - poet_rhai_codegen::test::function::generate_tests::one_arg_usize_fn_impl::hd26259417609a072
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:456:9
[INFO] [stdout]   23:     0x61e4dafb9257 - poet_rhai_codegen::test::function::generate_tests::one_arg_usize_fn_impl::{{closure}}::h162ba57ad14e5723
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:430:31
[INFO] [stdout]   24:     0x61e4db00a0a6 - core::ops::function::FnOnce::call_once::he3c0fad7c14cd4db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::function::generate_tests::one_arg_usize_fn stdout ----
[INFO] [stdout] actual != expected, diverge at char 143
[INFO] [stdout] 
[INFO] [stdout] thread 'test::function::generate_tests::one_arg_usize_fn' (44) panicked at src/test/function.rs:262:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [automatically_derived] pub mod rhai_fn_do_something { use super :: * ; # [doc (hidden)] pub struct Token () ; # [doc (hidden)] impl Token { # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < usize > ()] } } impl PluginFunc for Token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < usize > () ; Ok (Dynamic :: from (do_something (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } # [allow (unused)] # [doc (hidden)] # [inline (always)] pub fn dynamic_result_fn (x : usize) -> RhaiResult { Ok (Dynamic :: from (do_something (x))) } }"
[INFO] [stdout]  right: "# [automatically_derived] pub mod rhai_fn_do_something { use super :: * ; # [doc (hidden)] pub struct Token () ; # [doc (hidden)] impl Token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: usize\" , \"()\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < usize > ()] } } impl PluginFunc for Token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < usize > () ; Ok (Dynamic :: from (do_something (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } # [allow (unused)] # [doc (hidden)] # [inline (always)] pub fn dynamic_result_fn (x : usize) -> RhaiResult { Ok (Dynamic :: from (do_something (x))) } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4dafb6ce4 - poet_rhai_codegen::test::function::generate_tests::assert_streams_eq::h9612e1a24aa8ae4d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x61e4dafb672b - poet_rhai_codegen::test::function::generate_tests::one_arg_usize_fn::hf5a8ef660eda11f9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:342:9
[INFO] [stdout]   23:     0x61e4dafb6797 - poet_rhai_codegen::test::function::generate_tests::one_arg_usize_fn::{{closure}}::h6d731882bf435e7b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:305:26
[INFO] [stdout]   24:     0x61e4db009ff6 - core::ops::function::FnOnce::call_once::hdbd7bf261b5bbb92
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_getter_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 573
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_getter_fn_module' (64) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn int_foo (x : & mut u64) -> u64 { (* x) * (* x) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"get$square\") . with_namespace (FnNamespace :: Global) . set_into_module_raw (_m , & int_foo_token :: param_types () , int_foo_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct int_foo_token () ; # [doc (hidden)] impl int_foo_token { # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < u64 > ()] } } impl PluginFunc for int_foo_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = & mut args [0usize] . write_lock :: < u64 > () . unwrap () ; Ok (Dynamic :: from (int_foo (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn int_foo (x : & mut u64) -> u64 { (* x) * (* x) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"get$square\") . with_namespace (FnNamespace :: Global) . with_params_info (int_foo_token :: PARAM_NAMES) . set_into_module_raw (_m , & int_foo_token :: param_types () , int_foo_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct int_foo_token () ; # [doc (hidden)] impl int_foo_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: &mut u64\" , \"u64\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < u64 > ()] } } impl PluginFunc for int_foo_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = & mut args [0usize] . write_lock :: < u64 > () . unwrap () ; Ok (Dynamic :: from (int_foo (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf27c76 - poet_rhai_codegen::test::module::generate_tests::one_getter_fn_module::ha7739131299ed983
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1612:9
[INFO] [stdout]   23:     0x61e4daf27ce7 - poet_rhai_codegen::test::module::generate_tests::one_getter_fn_module::{{closure}}::h9af5c827878d7c14
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1555:30
[INFO] [stdout]   24:     0x61e4db009d06 - core::ops::function::FnOnce::call_once::hbfc6023e46fcb628
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::mut_ref_pure_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 538
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::mut_ref_pure_fn_module' (52) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod ref_fn { pub fn foo (x : & mut FLOAT , y : INT) -> FLOAT { * x + y as FLOAT } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"foo\") . set_into_module_raw (_m , & foo_token :: param_types () , foo_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct foo_token () ; # [doc (hidden)] impl foo_token { # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < FLOAT > () , TypeId :: of :: < INT > ()] } } impl PluginFunc for foo_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < INT > () ; let arg0 = & mut args [0usize] . write_lock :: < FLOAT > () . unwrap () ; Ok (Dynamic :: from (foo (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod ref_fn { pub fn foo (x : & mut FLOAT , y : INT) -> FLOAT { * x + y as FLOAT } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"foo\") . with_params_info (foo_token :: PARAM_NAMES) . set_into_module_raw (_m , & foo_token :: param_types () , foo_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct foo_token () ; # [doc (hidden)] impl foo_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: &mut FLOAT\" , \"y: INT\" , \"FLOAT\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < FLOAT > () , TypeId :: of :: < INT > ()] } } impl PluginFunc for foo_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < INT > () ; let arg0 = & mut args [0usize] . write_lock :: < FLOAT > () . unwrap () ; Ok (Dynamic :: from (foo (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf3f11e - poet_rhai_codegen::test::module::generate_tests::mut_ref_pure_fn_module::h0b08e01e860650ac
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1321:9
[INFO] [stdout]   23:     0x61e4daf3f197 - poet_rhai_codegen::test::module::generate_tests::mut_ref_pure_fn_module::{{closure}}::h71d7ecdbf9f03fb4
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1263:32
[INFO] [stdout]   24:     0x61e4db0094d6 - core::ops::function::FnOnce::call_once::h7316fb09d7e0a4d5
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_factory_fn_with_comments_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 728
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_factory_fn_with_comments_module' (60) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [doc = r\" This is the one_fn module!\"] # [doc = r\" block doc-comment\n             *  multi-line\n             \"] # [doc = r\" Another line!\"] # [doc = r\" Final line!\"] # [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { # [doc = r\" We are the world!\"] pub type World = String ; # [doc = r\" This is a doc-comment.\"] # [doc = r\" Another line.\"] # [doc = r\" block doc-comment \"] # [doc = r\" Final line.\"] # [doc = r\" doc-comment\n                    in multiple lines\n                 \"] pub fn get_mystic_number () -> INT { 42 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"get_mystic_number\") . set_into_module_raw (_m , & get_mystic_number_token :: param_types () , get_mystic_number_token () . into ()) ; _m . set_custom_type :: < String > (\"World\") ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct get_mystic_number_token () ; # [doc (hidden)] impl get_mystic_number_token { # [inline (always)] pub fn param_types () -> [TypeId ; 0usize] { [] } } impl PluginFunc for get_mystic_number_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { Ok (Dynamic :: from (get_mystic_number ())) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [doc = r\" This is the one_fn module!\"] # [doc = r\" block doc-comment\n             *  multi-line\n             \"] # [doc = r\" Another line!\"] # [doc = r\" Final line!\"] # [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { # [doc = r\" We are the world!\"] pub type World = String ; # [doc = r\" This is a doc-comment.\"] # [doc = r\" Another line.\"] # [doc = r\" block doc-comment \"] # [doc = r\" Final line.\"] # [doc = r\" doc-comment\n                    in multiple lines\n                 \"] pub fn get_mystic_number () -> INT { 42 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; m . set_doc (\"/// This is the one_fn module!\\n/** block doc-comment\\n             *  multi-line\\n             */\\n/// Another line!\\n/// Final line!\") ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"get_mystic_number\") . with_params_info (get_mystic_number_token :: PARAM_NAMES) . with_comments (& [\"/// This is a doc-comment.\\n/// Another line.\\n/// block doc-comment \\n/// Final line.\" , \"/** doc-comment\\n                    in multiple lines\\n                 */\"]) . set_into_module_raw (_m , & get_mystic_number_token :: param_types () , get_mystic_number_token () . into ()) ; _m . set_custom_type_with_comments :: < String > (\"World\" , & [\"/// We are the world!\"]) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct get_mystic_number_token () ; # [doc (hidden)] impl get_mystic_number_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"INT\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 0usize] { [] } } impl PluginFunc for get_mystic_number_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { Ok (Dynamic :: from (get_mystic_number ())) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf96f50 - poet_rhai_codegen::test::module::generate_tests::one_factory_fn_with_comments_module::h07db5b6c2deb3212
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:470:9
[INFO] [stdout]   23:     0x61e4daf96fc7 - poet_rhai_codegen::test::module::generate_tests::one_factory_fn_with_comments_module::{{closure}}::h10be1e3ffc634053
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:375:45
[INFO] [stdout]   24:     0x61e4db009cc6 - core::ops::function::FnOnce::call_once::hbef84cb4c42590b5
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_factory_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 525
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_factory_fn_module' (59) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn get_mystic_number () -> INT { 42 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"get_mystic_number\") . set_into_module_raw (_m , & get_mystic_number_token :: param_types () , get_mystic_number_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct get_mystic_number_token () ; # [doc (hidden)] impl get_mystic_number_token { # [inline (always)] pub fn param_types () -> [TypeId ; 0usize] { [] } } impl PluginFunc for get_mystic_number_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { Ok (Dynamic :: from (get_mystic_number ())) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn get_mystic_number () -> INT { 42 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"get_mystic_number\") . with_params_info (get_mystic_number_token :: PARAM_NAMES) . set_into_module_raw (_m , & get_mystic_number_token :: param_types () , get_mystic_number_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct get_mystic_number_token () ; # [doc (hidden)] impl get_mystic_number_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"INT\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 0usize] { [] } } impl PluginFunc for get_mystic_number_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { Ok (Dynamic :: from (get_mystic_number ())) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf2fd29 - poet_rhai_codegen::test::module::generate_tests::one_factory_fn_module::h380cbffea146147b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:371:9
[INFO] [stdout]   23:     0x61e4daf2fd97 - poet_rhai_codegen::test::module::generate_tests::one_factory_fn_module::{{closure}}::h90234c0921d5de34
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:316:31
[INFO] [stdout]   24:     0x61e4db009776 - core::ops::function::FnOnce::call_once::h8aef1520e6ba086d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_double_arg_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 535
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_double_arg_fn_module' (57) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn add_together (x : INT , y : INT) -> INT { x + y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"add_together\") . set_into_module_raw (_m , & add_together_token :: param_types () , add_together_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct add_together_token () ; # [doc (hidden)] impl add_together_token { # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] } } impl PluginFunc for add_together_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < INT > () ; let arg1 = mem :: take (args [1usize]) . cast :: < INT > () ; Ok (Dynamic :: from (add_together (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn add_together (x : INT , y : INT) -> INT { x + y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"add_together\") . with_params_info (add_together_token :: PARAM_NAMES) . set_into_module_raw (_m , & add_together_token :: param_types () , add_together_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct add_together_token () ; # [doc (hidden)] impl add_together_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: INT\" , \"y: INT\" , \"INT\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] } } impl PluginFunc for add_together_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < INT > () ; let arg1 = mem :: take (args [1usize]) . cast :: < INT > () ; Ok (Dynamic :: from (add_together (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf65b48 - poet_rhai_codegen::test::module::generate_tests::one_double_arg_fn_module::h659bee15961e5bae
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:747:9
[INFO] [stdout]   23:     0x61e4daf65bb7 - poet_rhai_codegen::test::module::generate_tests::one_double_arg_fn_module::{{closure}}::h16811f0b658d4ee8
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:690:34
[INFO] [stdout]   24:     0x61e4db009596 - core::ops::function::FnOnce::call_once::h7b62b7cd8647ae47
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_double_rename_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 526
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_double_rename_fn_module' (58) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn add_together (x : INT , y : INT) -> INT { x + y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"add\") . set_into_module_raw (_m , & add_together_token :: param_types () , add_together_token () . into ()) ; FuncRegistration :: new (\"+\") . set_into_module_raw (_m , & add_together_token :: param_types () , add_together_token () . into ()) ; FuncRegistration :: new (\"add_together\") . set_into_module_raw (_m , & add_together_token :: param_types () , add_together_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct add_together_token () ; # [doc (hidden)] impl add_together_token { # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] } } impl PluginFunc for add_together_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < INT > () ; let arg1 = mem :: take (args [1usize]) . cast :: < INT > () ; Ok (Dynamic :: from (add_together (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn add_together (x : INT , y : INT) -> INT { x + y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"add\") . with_params_info (add_together_token :: PARAM_NAMES) . set_into_module_raw (_m , & add_together_token :: param_types () , add_together_token () . into ()) ; FuncRegistration :: new (\"+\") . with_params_info (add_together_token :: PARAM_NAMES) . set_into_module_raw (_m , & add_together_token :: param_types () , add_together_token () . into ()) ; FuncRegistration :: new (\"add_together\") . with_params_info (add_together_token :: PARAM_NAMES) . set_into_module_raw (_m , & add_together_token :: param_types () , add_together_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct add_together_token () ; # [doc (hidden)] impl add_together_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: INT\" , \"y: INT\" , \"INT\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] } } impl PluginFunc for add_together_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < INT > () ; let arg1 = mem :: take (args [1usize]) . cast :: < INT > () ; Ok (Dynamic :: from (add_together (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf83264 - poet_rhai_codegen::test::module::generate_tests::one_double_rename_fn_module::hbff7ba4bee3fc0ed
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:813:9
[INFO] [stdout]   23:     0x61e4daf832d7 - poet_rhai_codegen::test::module::generate_tests::one_double_rename_fn_module::{{closure}}::h7a1f83d0cdae2df0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:751:37
[INFO] [stdout]   24:     0x61e4db00a216 - core::ops::function::FnOnce::call_once::hf744a586742bdfbd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_constant_type_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 669
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_constant_type_module' (56) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_constant { # [derive (Debug , Clone)] pub struct Foo (pub INT) ; pub type Hello = Foo ; pub const MYSTIC_NUMBER : Foo = Foo (42) ; pub fn get_mystic_number (x : & mut Hello) -> INT { x . 0 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"get_mystic_number\") . set_into_module_raw (_m , & get_mystic_number_token :: param_types () , get_mystic_number_token () . into ()) ; _m . set_var (\"MYSTIC_NUMBER\" , MYSTIC_NUMBER) ; _m . set_custom_type :: < Foo > (\"Hello\") ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct get_mystic_number_token () ; # [doc (hidden)] impl get_mystic_number_token { # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < Hello > ()] } } impl PluginFunc for get_mystic_number_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = & mut args [0usize] . write_lock :: < Hello > () . unwrap () ; Ok (Dynamic :: from (get_mystic_number (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_constant { # [derive (Debug , Clone)] pub struct Foo (pub INT) ; pub type Hello = Foo ; pub const MYSTIC_NUMBER : Foo = Foo (42) ; pub fn get_mystic_number (x : & mut Hello) -> INT { x . 0 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"get_mystic_number\") . with_params_info (get_mystic_number_token :: PARAM_NAMES) . set_into_module_raw (_m , & get_mystic_number_token :: param_types () , get_mystic_number_token () . into ()) ; _m . set_var (\"MYSTIC_NUMBER\" , MYSTIC_NUMBER) ; _m . set_custom_type :: < Foo > (\"Hello\") ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct get_mystic_number_token () ; # [doc (hidden)] impl get_mystic_number_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: &mut Hello\" , \"INT\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < Hello > ()] } } impl PluginFunc for get_mystic_number_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = & mut args [0usize] . write_lock :: < Hello > () . unwrap () ; Ok (Dynamic :: from (get_mystic_number (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf616f7 - poet_rhai_codegen::test::module::generate_tests::one_constant_type_module::h939b2d027158249d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:890:9
[INFO] [stdout]   23:     0x61e4daf61767 - poet_rhai_codegen::test::module::generate_tests::one_constant_type_module::{{closure}}::h998ab16985245abe
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:817:34
[INFO] [stdout]   24:     0x61e4db009f36 - core::ops::function::FnOnce::call_once::hd7513944961676d1
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_fn_with_cfg_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 634
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_fn_with_cfg_module' (62) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { # [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod it_is { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"increment\") . set_into_module_raw (_m , & increment_token :: param_types () , increment_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct increment_token () ; # [doc (hidden)] impl increment_token { # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < FLOAT > ()] } } impl PluginFunc for increment_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = & mut args [0usize] . write_lock :: < FLOAT > () . unwrap () ; Ok (Dynamic :: from (increment (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { if _flatten { self :: it_is :: rhai_generate_into_module (_m , _flatten) ; } else { _m . set_sub_module (\"it_is\" , self :: it_is :: rhai_module_generate ()) ; } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { # [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod it_is { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"increment\") . with_params_info (increment_token :: PARAM_NAMES) . set_into_module_raw (_m , & increment_token :: param_types () , increment_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct increment_token () ; # [doc (hidden)] impl increment_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: &mut FLOAT\" , \"()\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < FLOAT > ()] } } impl PluginFunc for increment_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = & mut args [0usize] . write_lock :: < FLOAT > () . unwrap () ; Ok (Dynamic :: from (increment (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { if _flatten { self :: it_is :: rhai_generate_into_module (_m , _flatten) ; } else { _m . set_sub_module (\"it_is\" , self :: it_is :: rhai_module_generate ()) ; } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf446ad - poet_rhai_codegen::test::module::generate_tests::one_fn_with_cfg_module::h3ceaf2defbb2cf66
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1551:9
[INFO] [stdout]   23:     0x61e4daf44717 - poet_rhai_codegen::test::module::generate_tests::one_fn_with_cfg_module::{{closure}}::h9496efcdec069815
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1470:32
[INFO] [stdout]   24:     0x61e4db00a0e6 - core::ops::function::FnOnce::call_once::he613c7f27102f8d0
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_index_getter_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 603
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_index_getter_fn_module' (66) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_index_fn { pub fn get_by_index (x : & mut MyCollection , i : u64) -> FLOAT { x . get (i) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"index$get$\") . with_namespace (FnNamespace :: Global) . set_into_module_raw (_m , & get_by_index_token :: param_types () , get_by_index_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct get_by_index_token () ; # [doc (hidden)] impl get_by_index_token { # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] } } impl PluginFunc for get_by_index_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < u64 > () ; let arg0 = & mut args [0usize] . write_lock :: < MyCollection > () . unwrap () ; Ok (Dynamic :: from (get_by_index (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_index_fn { pub fn get_by_index (x : & mut MyCollection , i : u64) -> FLOAT { x . get (i) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"index$get$\") . with_namespace (FnNamespace :: Global) . with_params_info (get_by_index_token :: PARAM_NAMES) . set_into_module_raw (_m , & get_by_index_token :: param_types () , get_by_index_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct get_by_index_token () ; # [doc (hidden)] impl get_by_index_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: &mut MyCollection\" , \"i: u64\" , \"FLOAT\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] } } impl PluginFunc for get_by_index_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < u64 > () ; let arg0 = & mut args [0usize] . write_lock :: < MyCollection > () . unwrap () ; Ok (Dynamic :: from (get_by_index (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf74e61 - poet_rhai_codegen::test::module::generate_tests::one_index_getter_fn_module::h28e859f9597aa78b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1863:9
[INFO] [stdout]   23:     0x61e4daf74ed7 - poet_rhai_codegen::test::module::generate_tests::one_index_getter_fn_module::{{closure}}::hf0dbe0b83eb8f853
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1805:36
[INFO] [stdout]   24:     0x61e4db0095d6 - core::ops::function::FnOnce::call_once::h7cacb4cafad45499
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_getter_and_rename_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 528
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_getter_and_rename_fn_module' (63) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn int_foo (x : & mut u64) -> u64 { (* x) * (* x) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"square\") . set_into_module_raw (_m , & int_foo_token :: param_types () , int_foo_token () . into ()) ; FuncRegistration :: new (\"get$square\") . with_namespace (FnNamespace :: Global) . set_into_module_raw (_m , & int_foo_token :: param_types () , int_foo_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct int_foo_token () ; # [doc (hidden)] impl int_foo_token { # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < u64 > ()] } } impl PluginFunc for int_foo_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = & mut args [0usize] . write_lock :: < u64 > () . unwrap () ; Ok (Dynamic :: from (int_foo (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn int_foo (x : & mut u64) -> u64 { (* x) * (* x) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"square\") . with_params_info (int_foo_token :: PARAM_NAMES) . set_into_module_raw (_m , & int_foo_token :: param_types () , int_foo_token () . into ()) ; FuncRegistration :: new (\"get$square\") . with_namespace (FnNamespace :: Global) . with_params_info (int_foo_token :: PARAM_NAMES) . set_into_module_raw (_m , & int_foo_token :: param_types () , int_foo_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct int_foo_token () ; # [doc (hidden)] impl int_foo_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: &mut u64\" , \"u64\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < u64 > ()] } } impl PluginFunc for int_foo_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = & mut args [0usize] . write_lock :: < u64 > () . unwrap () ; Ok (Dynamic :: from (int_foo (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf890a0 - poet_rhai_codegen::test::module::generate_tests::one_getter_and_rename_fn_module::haec0a51815e7d698
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1675:9
[INFO] [stdout]   23:     0x61e4daf89117 - poet_rhai_codegen::test::module::generate_tests::one_getter_and_rename_fn_module::{{closure}}::h7bf3457edb13baa1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1616:41
[INFO] [stdout]   24:     0x61e4db008fb6 - core::ops::function::FnOnce::call_once::h0ad0306fae8cdc26
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_index_getter_fn_with_cfg_attr_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 655
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_index_getter_fn_with_cfg_attr_module' (67) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_index_fn { # [cfg (hello)] # [some_other_attr] pub fn get_by_index (x : & mut MyCollection , i : u64) -> FLOAT { x . get (i) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { # [cfg (hello)] FuncRegistration :: new (\"index$get$\") . with_namespace (FnNamespace :: Global) . set_into_module_raw (_m , & get_by_index_token :: param_types () , get_by_index_token () . into ()) ; } # [cfg (hello)] # [allow (non_camel_case_types)] # [doc (hidden)] pub struct get_by_index_token () ; # [cfg (hello)] # [doc (hidden)] impl get_by_index_token { # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] } } # [cfg (hello)] impl PluginFunc for get_by_index_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < u64 > () ; let arg0 = & mut args [0usize] . write_lock :: < MyCollection > () . unwrap () ; Ok (Dynamic :: from (get_by_index (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_index_fn { # [cfg (hello)] # [some_other_attr] pub fn get_by_index (x : & mut MyCollection , i : u64) -> FLOAT { x . get (i) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { # [cfg (hello)] FuncRegistration :: new (\"index$get$\") . with_namespace (FnNamespace :: Global) . with_params_info (get_by_index_token :: PARAM_NAMES) . set_into_module_raw (_m , & get_by_index_token :: param_types () , get_by_index_token () . into ()) ; } # [cfg (hello)] # [allow (non_camel_case_types)] # [doc (hidden)] pub struct get_by_index_token () ; # [cfg (hello)] # [doc (hidden)] impl get_by_index_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: &mut MyCollection\" , \"i: u64\" , \"FLOAT\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] } } # [cfg (hello)] impl PluginFunc for get_by_index_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < u64 > () ; let arg0 = & mut args [0usize] . write_lock :: < MyCollection > () . unwrap () ; Ok (Dynamic :: from (get_by_index (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4dafa77b3 - poet_rhai_codegen::test::module::generate_tests::one_index_getter_fn_with_cfg_attr_module::h7df782dbe0da1812
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1933:9
[INFO] [stdout]   23:     0x61e4dafa7827 - poet_rhai_codegen::test::module::generate_tests::one_index_getter_fn_with_cfg_attr_module::{{closure}}::h272bb23b2efd9c09
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1867:50
[INFO] [stdout]   24:     0x61e4db009656 - core::ops::function::FnOnce::call_once::h82ecde60035d061e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_index_setter_and_rename_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 576
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_index_setter_and_rename_fn_module' (68) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_index_fn { pub fn set_by_index (x : & mut MyCollection , i : u64 , item : FLOAT) { x . entry (i) . set (item) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"set\") . set_into_module_raw (_m , & set_by_index_token :: param_types () , set_by_index_token () . into ()) ; FuncRegistration :: new (\"index$set$\") . with_namespace (FnNamespace :: Global) . set_into_module_raw (_m , & set_by_index_token :: param_types () , set_by_index_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct set_by_index_token () ; # [doc (hidden)] impl set_by_index_token { # [inline (always)] pub fn param_types () -> [TypeId ; 3usize] { [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > () , TypeId :: of :: < FLOAT > ()] } } impl PluginFunc for set_by_index_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < u64 > () ; let arg2 = mem :: take (args [2usize]) . cast :: < FLOAT > () ; let arg0 = & mut args [0usize] . write_lock :: < MyCollection > () . unwrap () ; Ok (Dynamic :: from (set_by_index (arg0 , arg1 , arg2))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_index_fn { pub fn set_by_index (x : & mut MyCollection , i : u64 , item : FLOAT) { x . entry (i) . set (item) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"set\") . with_params_info (set_by_index_token :: PARAM_NAMES) . set_into_module_raw (_m , & set_by_index_token :: param_types () , set_by_index_token () . into ()) ; FuncRegistration :: new (\"index$set$\") . with_namespace (FnNamespace :: Global) . with_params_info (set_by_index_token :: PARAM_NAMES) . set_into_module_raw (_m , & set_by_index_token :: param_types () , set_by_index_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct set_by_index_token () ; # [doc (hidden)] impl set_by_index_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: &mut MyCollection\" , \"i: u64\" , \"item: FLOAT\" , \"()\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 3usize] { [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > () , TypeId :: of :: < FLOAT > ()] } } impl PluginFunc for set_by_index_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < u64 > () ; let arg2 = mem :: take (args [2usize]) . cast :: < FLOAT > () ; let arg0 = & mut args [0usize] . write_lock :: < MyCollection > () . unwrap () ; Ok (Dynamic :: from (set_by_index (arg0 , arg1 , arg2))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4dafa269e - poet_rhai_codegen::test::module::generate_tests::one_index_setter_and_rename_fn_module::h7cbdf202fa7a467e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:2125:9
[INFO] [stdout]   23:     0x61e4dafa2717 - poet_rhai_codegen::test::module::generate_tests::one_index_setter_and_rename_fn_module::{{closure}}::h8a2461b3036c9b3a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:2064:47
[INFO] [stdout]   24:     0x61e4db0097b6 - core::ops::function::FnOnce::call_once::h8c0e174ee041358b
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_single_arg_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 521
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_single_arg_fn_module' (75) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn add_one_to (x : INT) -> INT { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"add_one_to\") . set_into_module_raw (_m , & add_one_to_token :: param_types () , add_one_to_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct add_one_to_token () ; # [doc (hidden)] impl add_one_to_token { # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < INT > ()] } } impl PluginFunc for add_one_to_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < INT > () ; Ok (Dynamic :: from (add_one_to (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn add_one_to (x : INT) -> INT { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"add_one_to\") . with_params_info (add_one_to_token :: PARAM_NAMES) . set_into_module_raw (_m , & add_one_to_token :: param_types () , add_one_to_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct add_one_to_token () ; # [doc (hidden)] impl add_one_to_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: INT\" , \"INT\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < INT > ()] } } impl PluginFunc for add_one_to_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < INT > () ; Ok (Dynamic :: from (add_one_to (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf69adb - poet_rhai_codegen::test::module::generate_tests::one_single_arg_fn_module::hd7a401703e67a1e0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:591:9
[INFO] [stdout]   23:     0x61e4daf69b47 - poet_rhai_codegen::test::module::generate_tests::one_single_arg_fn_module::{{closure}}::he9dd47c80868ebb8
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:535:34
[INFO] [stdout]   24:     0x61e4db009e46 - core::ops::function::FnOnce::call_once::hcd6dffd27a3a6a0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_setter_and_rename_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 529
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_setter_and_rename_fn_module' (73) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn int_foo (x : & mut u64 , y : u64) { * x = y * y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"set_sq\") . set_into_module_raw (_m , & int_foo_token :: param_types () , int_foo_token () . into ()) ; FuncRegistration :: new (\"set$squared\") . with_namespace (FnNamespace :: Global) . set_into_module_raw (_m , & int_foo_token :: param_types () , int_foo_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct int_foo_token () ; # [doc (hidden)] impl int_foo_token { # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < u64 > () , TypeId :: of :: < u64 > ()] } } impl PluginFunc for int_foo_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < u64 > () ; let arg0 = & mut args [0usize] . write_lock :: < u64 > () . unwrap () ; Ok (Dynamic :: from (int_foo (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn int_foo (x : & mut u64 , y : u64) { * x = y * y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"set_sq\") . with_params_info (int_foo_token :: PARAM_NAMES) . set_into_module_raw (_m , & int_foo_token :: param_types () , int_foo_token () . into ()) ; FuncRegistration :: new (\"set$squared\") . with_namespace (FnNamespace :: Global) . with_params_info (int_foo_token :: PARAM_NAMES) . set_into_module_raw (_m , & int_foo_token :: param_types () , int_foo_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct int_foo_token () ; # [doc (hidden)] impl int_foo_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: &mut u64\" , \"y: u64\" , \"()\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < u64 > () , TypeId :: of :: < u64 > ()] } } impl PluginFunc for int_foo_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < u64 > () ; let arg0 = & mut args [0usize] . write_lock :: < u64 > () . unwrap () ; Ok (Dynamic :: from (int_foo (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf8dc5d - poet_rhai_codegen::test::module::generate_tests::one_setter_and_rename_fn_module::h89f4f2ad0031dff0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1801:9
[INFO] [stdout]   23:     0x61e4daf8dcc7 - poet_rhai_codegen::test::module::generate_tests::one_setter_and_rename_fn_module::{{closure}}::h44ac054c44b1dc57
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1741:41
[INFO] [stdout]   24:     0x61e4db009d46 - core::ops::function::FnOnce::call_once::hbffb4d8ae278a9aa
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_setter_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 575
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_setter_fn_module' (74) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn int_foo (x : & mut u64 , y : u64) { * x = y * y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"set$squared\") . with_namespace (FnNamespace :: Global) . set_into_module_raw (_m , & int_foo_token :: param_types () , int_foo_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct int_foo_token () ; # [doc (hidden)] impl int_foo_token { # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < u64 > () , TypeId :: of :: < u64 > ()] } } impl PluginFunc for int_foo_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < u64 > () ; let arg0 = & mut args [0usize] . write_lock :: < u64 > () . unwrap () ; Ok (Dynamic :: from (int_foo (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn int_foo (x : & mut u64 , y : u64) { * x = y * y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"set$squared\") . with_namespace (FnNamespace :: Global) . with_params_info (int_foo_token :: PARAM_NAMES) . set_into_module_raw (_m , & int_foo_token :: param_types () , int_foo_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct int_foo_token () ; # [doc (hidden)] impl int_foo_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: &mut u64\" , \"y: u64\" , \"()\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < u64 > () , TypeId :: of :: < u64 > ()] } } impl PluginFunc for int_foo_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < u64 > () ; let arg0 = & mut args [0usize] . write_lock :: < u64 > () . unwrap () ; Ok (Dynamic :: from (int_foo (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf2c393 - poet_rhai_codegen::test::module::generate_tests::one_setter_fn_module::h6dd3a7803b74e7fc
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1737:9
[INFO] [stdout]   23:     0x61e4daf2c407 - poet_rhai_codegen::test::module::generate_tests::one_setter_fn_module::{{closure}}::h8aa1ffa1be9bb320
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1679:30
[INFO] [stdout]   24:     0x61e4db009976 - core::ops::function::FnOnce::call_once::h9b112c3ecb09d8f0
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_single_arg_global_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 569
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_single_arg_global_fn_module' (76) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_global_fn { pub fn add_one_to (x : INT) -> INT { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"add_one_to\") . with_namespace (FnNamespace :: Global) . set_into_module_raw (_m , & add_one_to_token :: param_types () , add_one_to_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct add_one_to_token () ; # [doc (hidden)] impl add_one_to_token { # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < INT > ()] } } impl PluginFunc for add_one_to_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < INT > () ; Ok (Dynamic :: from (add_one_to (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_global_fn { pub fn add_one_to (x : INT) -> INT { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"add_one_to\") . with_namespace (FnNamespace :: Global) . with_params_info (add_one_to_token :: PARAM_NAMES) . set_into_module_raw (_m , & add_one_to_token :: param_types () , add_one_to_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct add_one_to_token () ; # [doc (hidden)] impl add_one_to_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: INT\" , \"INT\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < INT > ()] } } impl PluginFunc for add_one_to_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < INT > () ; Ok (Dynamic :: from (add_one_to (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf91e30 - poet_rhai_codegen::test::module::generate_tests::one_single_arg_global_fn_module::ha0974c485933170b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:531:9
[INFO] [stdout]   23:     0x61e4daf91ea7 - poet_rhai_codegen::test::module::generate_tests::one_single_arg_global_fn_module::{{closure}}::hf263c8209a15cf14
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:474:41
[INFO] [stdout]   24:     0x61e4db009f76 - core::ops::function::FnOnce::call_once::hda43097f825b8cc7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_str_arg_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 520
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_str_arg_fn_module' (79) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod str_fn { pub fn print_out_to (x : & str) { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"print_out_to\") . set_into_module_raw (_m , & print_out_to_token :: param_types () , print_out_to_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct print_out_to_token () ; # [doc (hidden)] impl print_out_to_token { # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < ImmutableString > ()] } } impl PluginFunc for print_out_to_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . into_immutable_string () . unwrap () ; Ok (Dynamic :: from (print_out_to (& arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod str_fn { pub fn print_out_to (x : & str) { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"print_out_to\") . with_params_info (print_out_to_token :: PARAM_NAMES) . set_into_module_raw (_m , & print_out_to_token :: param_types () , print_out_to_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct print_out_to_token () ; # [doc (hidden)] impl print_out_to_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: &str\" , \"()\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < ImmutableString > ()] } } impl PluginFunc for print_out_to_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . into_immutable_string () . unwrap () ; Ok (Dynamic :: from (print_out_to (& arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf3aaba - poet_rhai_codegen::test::module::generate_tests::one_str_arg_fn_module::h595bbd437db894dc
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1199:9
[INFO] [stdout]   23:     0x61e4daf3ab27 - poet_rhai_codegen::test::module::generate_tests::one_str_arg_fn_module::{{closure}}::h0d578503898f9352
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1143:31
[INFO] [stdout]   24:     0x61e4db009076 - core::ops::function::FnOnce::call_once::h1693074bc8a849f0
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_index_setter_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 624
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_index_setter_fn_module' (69) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_index_fn { pub fn set_by_index (x : & mut MyCollection , i : u64 , item : FLOAT) { x . entry (i) . set (item) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"index$set$\") . with_namespace (FnNamespace :: Global) . set_into_module_raw (_m , & set_by_index_token :: param_types () , set_by_index_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct set_by_index_token () ; # [doc (hidden)] impl set_by_index_token { # [inline (always)] pub fn param_types () -> [TypeId ; 3usize] { [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > () , TypeId :: of :: < FLOAT > ()] } } impl PluginFunc for set_by_index_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < u64 > () ; let arg2 = mem :: take (args [2usize]) . cast :: < FLOAT > () ; let arg0 = & mut args [0usize] . write_lock :: < MyCollection > () . unwrap () ; Ok (Dynamic :: from (set_by_index (arg0 , arg1 , arg2))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_index_fn { pub fn set_by_index (x : & mut MyCollection , i : u64 , item : FLOAT) { x . entry (i) . set (item) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"index$set$\") . with_namespace (FnNamespace :: Global) . with_params_info (set_by_index_token :: PARAM_NAMES) . set_into_module_raw (_m , & set_by_index_token :: param_types () , set_by_index_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct set_by_index_token () ; # [doc (hidden)] impl set_by_index_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: &mut MyCollection\" , \"i: u64\" , \"item: FLOAT\" , \"()\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 3usize] { [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > () , TypeId :: of :: < FLOAT > ()] } } impl PluginFunc for set_by_index_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < u64 > () ; let arg2 = mem :: take (args [2usize]) . cast :: < FLOAT > () ; let arg0 = & mut args [0usize] . write_lock :: < MyCollection > () . unwrap () ; Ok (Dynamic :: from (set_by_index (arg0 , arg1 , arg2))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf79c54 - poet_rhai_codegen::test::module::generate_tests::one_index_setter_fn_module::ha0d6496606543d04
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:2060:9
[INFO] [stdout]   23:     0x61e4daf79cc7 - poet_rhai_codegen::test::module::generate_tests::one_index_setter_fn_module::{{closure}}::h26557c5425ce6bad
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:2001:36
[INFO] [stdout]   24:     0x61e4db009036 - core::ops::function::FnOnce::call_once::h15936979a74cb778
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::function::generate_tests::str_arg_fn stdout ----
[INFO] [stdout] actual != expected, diverge at char 144
[INFO] [stdout] 
[INFO] [stdout] thread 'test::function::generate_tests::str_arg_fn' (47) panicked at src/test/function.rs:262:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [automatically_derived] pub mod rhai_fn_special_print { use super :: * ; # [doc (hidden)] pub struct Token () ; # [doc (hidden)] impl Token { # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < ImmutableString > ()] } } impl PluginFunc for Token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . into_immutable_string () . unwrap () ; Ok (Dynamic :: from (special_print (& arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } # [allow (unused)] # [doc (hidden)] # [inline (always)] pub fn dynamic_result_fn (message : & str) -> RhaiResult { Ok (Dynamic :: from (special_print (message))) } }"
[INFO] [stdout]  right: "# [automatically_derived] pub mod rhai_fn_special_print { use super :: * ; # [doc (hidden)] pub struct Token () ; # [doc (hidden)] impl Token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"message: &str\" , \"()\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < ImmutableString > ()] } } impl PluginFunc for Token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . into_immutable_string () . unwrap () ; Ok (Dynamic :: from (special_print (& arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } # [allow (unused)] # [doc (hidden)] # [inline (always)] pub fn dynamic_result_fn (message : & str) -> RhaiResult { Ok (Dynamic :: from (special_print (message))) } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4dafb6ce4 - poet_rhai_codegen::test::function::generate_tests::assert_streams_eq::h9612e1a24aa8ae4d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x61e4dafad3dd - poet_rhai_codegen::test::function::generate_tests::str_arg_fn::h54dc3ec353dbe774
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:583:9
[INFO] [stdout]   23:     0x61e4dafad467 - poet_rhai_codegen::test::function::generate_tests::str_arg_fn::{{closure}}::ha751b41c1d4848e3
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:545:20
[INFO] [stdout]   24:     0x61e4db009b86 - core::ops::function::FnOnce::call_once::hb43b2d1079f5169a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_string_arg_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 521
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_string_arg_fn_module' (80) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod str_fn { pub fn print_out_to (x : String) { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"print_out_to\") . set_into_module_raw (_m , & print_out_to_token :: param_types () , print_out_to_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct print_out_to_token () ; # [doc (hidden)] impl print_out_to_token { # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < ImmutableString > ()] } } impl PluginFunc for print_out_to_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . into_string () . unwrap () ; Ok (Dynamic :: from (print_out_to (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod str_fn { pub fn print_out_to (x : String) { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"print_out_to\") . with_params_info (print_out_to_token :: PARAM_NAMES) . set_into_module_raw (_m , & print_out_to_token :: param_types () , print_out_to_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct print_out_to_token () ; # [doc (hidden)] impl print_out_to_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: String\" , \"()\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < ImmutableString > ()] } } impl PluginFunc for print_out_to_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . into_string () . unwrap () ; Ok (Dynamic :: from (print_out_to (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf6da11 - poet_rhai_codegen::test::module::generate_tests::one_string_arg_fn_module::h52eb37b1eb2ebaa1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1259:9
[INFO] [stdout]   23:     0x61e4daf6da87 - poet_rhai_codegen::test::module::generate_tests::one_string_arg_fn_module::{{closure}}::h6266c088dfcbcea3
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1203:34
[INFO] [stdout]   24:     0x61e4db009436 - core::ops::function::FnOnce::call_once::h6953d9fc5c803c0e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::function::generate_tests::two_arg_returning_usize_fn stdout ----
[INFO] [stdout] actual != expected, diverge at char 143
[INFO] [stdout] 
[INFO] [stdout] thread 'test::function::generate_tests::two_arg_returning_usize_fn' (48) panicked at src/test/function.rs:262:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [automatically_derived] pub mod rhai_fn_add_together { use super :: * ; # [doc (hidden)] pub struct Token () ; # [doc (hidden)] impl Token { # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < usize > () , TypeId :: of :: < usize > ()] } } impl PluginFunc for Token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < usize > () ; let arg1 = mem :: take (args [1usize]) . cast :: < usize > () ; Ok (Dynamic :: from (add_together (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } # [allow (unused)] # [doc (hidden)] # [inline (always)] pub fn dynamic_result_fn (x : usize , y : usize) -> RhaiResult { Ok (Dynamic :: from (add_together (x , y))) } }"
[INFO] [stdout]  right: "# [automatically_derived] pub mod rhai_fn_add_together { use super :: * ; # [doc (hidden)] pub struct Token () ; # [doc (hidden)] impl Token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: usize\" , \"y: usize\" , \"usize\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < usize > () , TypeId :: of :: < usize > ()] } } impl PluginFunc for Token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < usize > () ; let arg1 = mem :: take (args [1usize]) . cast :: < usize > () ; Ok (Dynamic :: from (add_together (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } # [allow (unused)] # [doc (hidden)] # [inline (always)] pub fn dynamic_result_fn (x : usize , y : usize) -> RhaiResult { Ok (Dynamic :: from (add_together (x , y))) } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4dafb6ce4 - poet_rhai_codegen::test::function::generate_tests::assert_streams_eq::h9612e1a24aa8ae4d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x61e4dafbf9d3 - poet_rhai_codegen::test::function::generate_tests::two_arg_returning_usize_fn::h3a8b28f146f8bad9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:498:9
[INFO] [stdout]   23:     0x61e4dafbfa47 - poet_rhai_codegen::test::function::generate_tests::two_arg_returning_usize_fn::{{closure}}::h180789efff447b8f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:460:36
[INFO] [stdout]   24:     0x61e4db0092b6 - core::ops::function::FnOnce::call_once::h4a812160bb9997ad
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_index_getter_and_rename_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 555
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_index_getter_and_rename_fn_module' (65) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_index_fn { pub fn get_by_index (x : & mut MyCollection , i : u64) -> FLOAT { x . get (i) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"get\") . set_into_module_raw (_m , & get_by_index_token :: param_types () , get_by_index_token () . into ()) ; FuncRegistration :: new (\"index$get$\") . with_namespace (FnNamespace :: Global) . set_into_module_raw (_m , & get_by_index_token :: param_types () , get_by_index_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct get_by_index_token () ; # [doc (hidden)] impl get_by_index_token { # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] } } impl PluginFunc for get_by_index_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < u64 > () ; let arg0 = & mut args [0usize] . write_lock :: < MyCollection > () . unwrap () ; Ok (Dynamic :: from (get_by_index (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_index_fn { pub fn get_by_index (x : & mut MyCollection , i : u64) -> FLOAT { x . get (i) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"get\") . with_params_info (get_by_index_token :: PARAM_NAMES) . set_into_module_raw (_m , & get_by_index_token :: param_types () , get_by_index_token () . into ()) ; FuncRegistration :: new (\"index$get$\") . with_namespace (FnNamespace :: Global) . with_params_info (get_by_index_token :: PARAM_NAMES) . set_into_module_raw (_m , & get_by_index_token :: param_types () , get_by_index_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct get_by_index_token () ; # [doc (hidden)] impl get_by_index_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: &mut MyCollection\" , \"i: u64\" , \"FLOAT\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] } } impl PluginFunc for get_by_index_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg1 = mem :: take (args [1usize]) . cast :: < u64 > () ; let arg0 = & mut args [0usize] . write_lock :: < MyCollection > () . unwrap () ; Ok (Dynamic :: from (get_by_index (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf9d41b - poet_rhai_codegen::test::module::generate_tests::one_index_getter_and_rename_fn_module::h095a6e0db091884c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1997:9
[INFO] [stdout]   23:     0x61e4daf9d487 - poet_rhai_codegen::test::module::generate_tests::one_index_getter_and_rename_fn_module::{{closure}}::h1284e1da7620e2cc
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1937:47
[INFO] [stdout]   24:     0x61e4db009c86 - core::ops::function::FnOnce::call_once::hb6d80da476e252e3
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_mut_ref_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 536
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_mut_ref_fn_module' (70) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod ref_fn { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"increment\") . set_into_module_raw (_m , & increment_token :: param_types () , increment_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct increment_token () ; # [doc (hidden)] impl increment_token { # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < FLOAT > ()] } } impl PluginFunc for increment_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = & mut args [0usize] . write_lock :: < FLOAT > () . unwrap () ; Ok (Dynamic :: from (increment (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod ref_fn { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"increment\") . with_params_info (increment_token :: PARAM_NAMES) . set_into_module_raw (_m , & increment_token :: param_types () , increment_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct increment_token () ; # [doc (hidden)] impl increment_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: &mut FLOAT\" , \"()\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < FLOAT > ()] } } impl PluginFunc for increment_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = & mut args [0usize] . write_lock :: < FLOAT > () . unwrap () ; Ok (Dynamic :: from (increment (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf33d4d - poet_rhai_codegen::test::module::generate_tests::one_mut_ref_fn_module::hfe6092b60aea7108
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1381:9
[INFO] [stdout]   23:     0x61e4daf33db7 - poet_rhai_codegen::test::module::generate_tests::one_mut_ref_fn_module::{{closure}}::h0d947ead4e7477e0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1325:31
[INFO] [stdout]   24:     0x61e4db009fb6 - core::ops::function::FnOnce::call_once::hdb995d93f8ab9009
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_fn_nested_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 634
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_fn_nested_module' (61) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { # [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod it_is { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"increment\") . set_into_module_raw (_m , & increment_token :: param_types () , increment_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct increment_token () ; # [doc (hidden)] impl increment_token { # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < FLOAT > ()] } } impl PluginFunc for increment_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = & mut args [0usize] . write_lock :: < FLOAT > () . unwrap () ; Ok (Dynamic :: from (increment (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { if _flatten { self :: it_is :: rhai_generate_into_module (_m , _flatten) ; } else { _m . set_sub_module (\"it_is\" , self :: it_is :: rhai_module_generate ()) ; } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { # [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod it_is { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"increment\") . with_params_info (increment_token :: PARAM_NAMES) . set_into_module_raw (_m , & increment_token :: param_types () , increment_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct increment_token () ; # [doc (hidden)] impl increment_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: &mut FLOAT\" , \"()\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < FLOAT > ()] } } impl PluginFunc for increment_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = & mut args [0usize] . write_lock :: < FLOAT > () . unwrap () ; Ok (Dynamic :: from (increment (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { true } # [inline (always)] fn is_pure (& self) -> bool { false } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { if _flatten { self :: it_is :: rhai_generate_into_module (_m , _flatten) ; } else { _m . set_sub_module (\"it_is\" , self :: it_is :: rhai_module_generate ()) ; } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf2380d - poet_rhai_codegen::test::module::generate_tests::one_fn_nested_module::hb174f09e5d6cf6b0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1466:9
[INFO] [stdout]   23:     0x61e4daf23877 - poet_rhai_codegen::test::module::generate_tests::one_fn_nested_module::{{closure}}::h8e934fac47f2544c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1385:30
[INFO] [stdout]   24:     0x61e4db008ff6 - core::ops::function::FnOnce::call_once::h1579e56d588fe632
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::two_fn_overload_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 570
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::two_fn_overload_module' (81) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod two_fns { pub fn add_one_to (x : INT) -> INT { x + 1 } pub fn add_n_to (x : INT , y : INT) -> INT { x + y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"add_n\") . set_into_module_raw (_m , & add_one_to_token :: param_types () , add_one_to_token () . into ()) ; FuncRegistration :: new (\"add_n\") . set_into_module_raw (_m , & add_n_to_token :: param_types () , add_n_to_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct add_one_to_token () ; # [doc (hidden)] impl add_one_to_token { # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < INT > ()] } } impl PluginFunc for add_one_to_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < INT > () ; Ok (Dynamic :: from (add_one_to (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct add_n_to_token () ; # [doc (hidden)] impl add_n_to_token { # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] } } impl PluginFunc for add_n_to_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < INT > () ; let arg1 = mem :: take (args [1usize]) . cast :: < INT > () ; Ok (Dynamic :: from (add_n_to (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod two_fns { pub fn add_one_to (x : INT) -> INT { x + 1 } pub fn add_n_to (x : INT , y : INT) -> INT { x + y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"add_n\") . with_params_info (add_one_to_token :: PARAM_NAMES) . set_into_module_raw (_m , & add_one_to_token :: param_types () , add_one_to_token () . into ()) ; FuncRegistration :: new (\"add_n\") . with_params_info (add_n_to_token :: PARAM_NAMES) . set_into_module_raw (_m , & add_n_to_token :: param_types () , add_n_to_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct add_one_to_token () ; # [doc (hidden)] impl add_one_to_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: INT\" , \"INT\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 1usize] { [TypeId :: of :: < INT > ()] } } impl PluginFunc for add_one_to_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < INT > () ; Ok (Dynamic :: from (add_one_to (arg0))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct add_n_to_token () ; # [doc (hidden)] impl add_n_to_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"x: INT\" , \"y: INT\" , \"INT\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 2usize] { [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] } } impl PluginFunc for add_n_to_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { let arg0 = mem :: take (args [0usize]) . cast :: < INT > () ; let arg1 = mem :: take (args [1usize]) . cast :: < INT > () ; Ok (Dynamic :: from (add_n_to (arg0 , arg1))) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf4f7ae - poet_rhai_codegen::test::module::generate_tests::two_fn_overload_module::h4f9afc7d0b6748e6
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:686:9
[INFO] [stdout]   23:     0x61e4daf4f827 - poet_rhai_codegen::test::module::generate_tests::two_fn_overload_module::{{closure}}::h36462bbd3724f277
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:595:32
[INFO] [stdout]   24:     0x61e4db009bc6 - core::ops::function::FnOnce::call_once::hb4d539846ce51378
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_skipped_sub_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 588
[INFO] [stdout] 
[INFO] [stdout] thread 'test::module::generate_tests::one_skipped_sub_module' (78) panicked at src/test/mod.rs:34:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn get_mystic_number () -> INT { 42 } pub mod inner_secrets { pub const SECRET_NUMBER : INT = 86 ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"get_mystic_number\") . set_into_module_raw (_m , & get_mystic_number_token :: param_types () , get_mystic_number_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct get_mystic_number_token () ; # [doc (hidden)] impl get_mystic_number_token { # [inline (always)] pub fn param_types () -> [TypeId ; 0usize] { [] } } impl PluginFunc for get_mystic_number_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { Ok (Dynamic :: from (get_mystic_number ())) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value , clippy :: needless_pass_by_ref_mut)] pub mod one_fn { pub fn get_mystic_number () -> INT { 42 } pub mod inner_secrets { pub const SECRET_NUMBER : INT = 86 ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] # [inline (always)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [doc (hidden)] # [inline (always)] pub fn rhai_generate_into_module (_m : & mut Module , _flatten : bool) { FuncRegistration :: new (\"get_mystic_number\") . with_params_info (get_mystic_number_token :: PARAM_NAMES) . set_into_module_raw (_m , & get_mystic_number_token :: param_types () , get_mystic_number_token () . into ()) ; } # [allow (non_camel_case_types)] # [doc (hidden)] pub struct get_mystic_number_token () ; # [doc (hidden)] impl get_mystic_number_token { pub const PARAM_NAMES : & 'static [& 'static str] = & [\"INT\"] ; # [inline (always)] pub fn param_types () -> [TypeId ; 0usize] { [] } } impl PluginFunc for get_mystic_number_token { # [inline (always)] fn call (& self , context : Option < NativeCallContext > , args : & mut [& mut Dynamic]) -> RhaiResult { Ok (Dynamic :: from (get_mystic_number ())) } # [inline (always)] fn is_method_call (& self) -> bool { false } # [inline (always)] fn is_pure (& self) -> bool { true } # [inline (always)] fn is_volatile (& self) -> bool { false } # [inline (always)] fn has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7e155ca645e2 - std::backtrace_rs::backtrace::libunwind::trace::h90e89fac33585832
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x7e155ca645e2 - std::backtrace_rs::backtrace::trace_unsynchronized::heebcf2380a8e7359
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x7e155ca645e2 - std::sys::backtrace::_print_fmt::hdf3e2a22d2f810db
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:68:9
[INFO] [stdout]    3:     0x7e155ca645e2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hac1d885928ba8582
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:38:26
[INFO] [stdout]    4:     0x7e155ca94497 - core::fmt::rt::Argument::fmt::h6901eb7c19abebe8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x7e155ca94497 - core::fmt::write::h83ebb4d32483be9e
[INFO] [stdout]    6:     0x7e155ca17886 - std::io::default_write_fmt::h751a79cdae495f10
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x7e155ca17886 - std::io::Write::write_fmt::h9ef514f8700ff7b2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x7e155ca34d44 - std::sys::backtrace::BacktraceLock::print::hcc2e1a3ac996c911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:41:9
[INFO] [stdout]    9:     0x7e155ca34d44 - std::panicking::default_hook::{{closure}}::h8e9c4d1276f0925f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x7e155ca34bdc - std::panicking::default_hook::h2b2078d38b534dfb
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61e4db03454e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h39d051e7dedac6a7
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61e4db03454e - test::test_main_with_exit_callback::{{closure}}::h4b005fe75814c302
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x7e155ca35062 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd426070722c13cbf
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x7e155ca35062 - std::panicking::panic_with_hook::h39b739724e701bfd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x7e155ca34df8 - std::panicking::panic_handler::{{closure}}::he540c4833054e458
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x7e155ca2cac9 - std::sys::backtrace::__rust_end_short_backtrace::hfa179d89deec8aed
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:176:18
[INFO] [stdout]   17:     0x7e155ca098bd - __rustc[d131491b17107b07]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x7e155caa3b1c - core::panicking::panic_fmt::ha564519d657d9c46
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x7e155caa39a3 - core::panicking::assert_failed_inner::h6fc38e43be639d33
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x61e4db01525b - core::panicking::assert_failed::he6bb4738995d8e5a
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x61e4daffd444 - poet_rhai_codegen::test::assert_streams_eq::h4492c3cdc300698d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:34:5
[INFO] [stdout]   22:     0x61e4daf484e2 - poet_rhai_codegen::test::module::generate_tests::one_skipped_sub_module::h563368db21a5ad17
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1105:9
[INFO] [stdout]   23:     0x61e4daf48557 - poet_rhai_codegen::test::module::generate_tests::one_skipped_sub_module::{{closure}}::h8b0dbcaf9e18a401
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1043:32
[INFO] [stdout]   24:     0x61e4db009556 - core::ops::function::FnOnce::call_once::h781671b554bb5b8d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x61e4db03437b - core::ops::function::FnOnce::call_once::h0217b30cfdee2e67
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x61e4db03437b - test::__rust_begin_short_backtrace::h6d98714a1e28f556
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x61e4db047d0a - test::run_test_in_process::{{closure}}::he2c70d2634d3a3cc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x61e4db047d0a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h40a0a825bcf17fdd
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x61e4db047d0a - std::panicking::catch_unwind::do_call::h6c8eb5dd6e7b5975
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x61e4db047d0a - std::panicking::catch_unwind::h55455eac2972ad1e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x61e4db047d0a - std::panic::catch_unwind::h0025465150a5e558
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x61e4db047d0a - test::run_test_in_process::hb61e682f9b630fbc
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x61e4db047d0a - test::run_test::{{closure}}::hc2c2a7a38ab176e2
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x61e4db021fa4 - test::run_test::{{closure}}::ha91867b85cd2a911
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x61e4db021fa4 - std::sys::backtrace::__rust_begin_short_backtrace::ha00a9fe02049c339
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/backtrace.rs:160:18
[INFO] [stdout]   36:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd629fba9153dfb55
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:92:13
[INFO] [stdout]   37:     0x61e4db0258d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4189018816a5c5d9
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x61e4db0258d2 - std::panicking::catch_unwind::do_call::hf9fcdbca3c2e9877
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x61e4db0258d2 - std::panicking::catch_unwind::h97b92d88631c7c64
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x61e4db0258d2 - std::panic::catch_unwind::ha77cdbb68e725e5e
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x61e4db0258d2 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h511f05bc1a132253
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/thread/lifecycle.rs:90:26
[INFO] [stdout]   42:     0x61e4db0258d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6b68b31e9b685cb8
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7e155ca2766f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h22a27d165e4e871d
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x7e155ca2766f - std::sys::thread::unix::Thread::new::thread_start::h45cc87bb053add0f
[INFO] [stdout]                                at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   45:     0x7e155c7c2aa4 - <unknown>
[INFO] [stdout]   46:     0x7e155c84fa64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test::function::generate_tests::minimal_fn
[INFO] [stdout]     test::function::generate_tests::mut_arg_usize_fn
[INFO] [stdout]     test::function::generate_tests::one_arg_fn_with_context
[INFO] [stdout]     test::function::generate_tests::one_arg_usize_fn
[INFO] [stdout]     test::function::generate_tests::one_arg_usize_fn_impl
[INFO] [stdout]     test::function::generate_tests::return_dynamic
[INFO] [stdout]     test::function::generate_tests::str_arg_fn
[INFO] [stdout]     test::function::generate_tests::two_arg_returning_usize_fn
[INFO] [stdout]     test::module::generate_tests::mut_ref_pure_fn_module
[INFO] [stdout]     test::module::generate_tests::one_constant_type_module
[INFO] [stdout]     test::module::generate_tests::one_double_arg_fn_module
[INFO] [stdout]     test::module::generate_tests::one_double_rename_fn_module
[INFO] [stdout]     test::module::generate_tests::one_factory_fn_module
[INFO] [stdout]     test::module::generate_tests::one_factory_fn_with_comments_module
[INFO] [stdout]     test::module::generate_tests::one_fn_nested_module
[INFO] [stdout]     test::module::generate_tests::one_fn_with_cfg_module
[INFO] [stdout]     test::module::generate_tests::one_getter_and_rename_fn_module
[INFO] [stdout]     test::module::generate_tests::one_getter_fn_module
[INFO] [stdout]     test::module::generate_tests::one_index_getter_and_rename_fn_module
[INFO] [stdout]     test::module::generate_tests::one_index_getter_fn_module
[INFO] [stdout]     test::module::generate_tests::one_index_getter_fn_with_cfg_attr_module
[INFO] [stdout]     test::module::generate_tests::one_index_setter_and_rename_fn_module
[INFO] [stdout]     test::module::generate_tests::one_index_setter_fn_module
[INFO] [stdout]     test::module::generate_tests::one_mut_ref_fn_module
[INFO] [stdout]     test::module::generate_tests::one_setter_and_rename_fn_module
[INFO] [stdout]     test::module::generate_tests::one_setter_fn_module
[INFO] [stdout]     test::module::generate_tests::one_single_arg_fn_module
[INFO] [stdout]     test::module::generate_tests::one_single_arg_global_fn_module
[INFO] [stdout]     test::module::generate_tests::one_skipped_sub_module
[INFO] [stdout]     test::module::generate_tests::one_str_arg_fn_module
[INFO] [stdout]     test::module::generate_tests::one_string_arg_fn_module
[INFO] [stdout]     test::module::generate_tests::two_fn_overload_module
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 36 passed; 32 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "83fcb6d78c1aaea9ea9bf56c51a667fa39e5aa9e1b1a080839e31ed0ac318c91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83fcb6d78c1aaea9ea9bf56c51a667fa39e5aa9e1b1a080839e31ed0ac318c91", kill_on_drop: false }`
[INFO] [stdout] 83fcb6d78c1aaea9ea9bf56c51a667fa39e5aa9e1b1a080839e31ed0ac318c91
