[INFO] fetching crate rhai_codegen 1.6.0...
[INFO] testing rhai_codegen-1.6.0 against 1.75.0 for beta-1.76-1
[INFO] extracting crate rhai_codegen 1.6.0 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate rhai_codegen 1.6.0 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rhai_codegen 1.6.0
[INFO] finished tweaking crates.io crate rhai_codegen 1.6.0
[INFO] tweaked toml for crates.io crate rhai_codegen 1.6.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4e887e9b63ea9e29259a5a9735e3e6899c6f39e0587cdf88c27e4ef61ac97119
[INFO] running `Command { std: "docker" "start" "-a" "4e887e9b63ea9e29259a5a9735e3e6899c6f39e0587cdf88c27e4ef61ac97119", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4e887e9b63ea9e29259a5a9735e3e6899c6f39e0587cdf88c27e4ef61ac97119", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e887e9b63ea9e29259a5a9735e3e6899c6f39e0587cdf88c27e4ef61ac97119", kill_on_drop: false }`
[INFO] [stdout] 4e887e9b63ea9e29259a5a9735e3e6899c6f39e0587cdf88c27e4ef61ac97119
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1597b083f401ad7eb6a221f1379d33f9d652770c71f9ab95e06bef0633ec1f3b
[INFO] running `Command { std: "docker" "start" "-a" "1597b083f401ad7eb6a221f1379d33f9d652770c71f9ab95e06bef0633ec1f3b", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling rhai_codegen v1.6.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.50s
[INFO] running `Command { std: "docker" "inspect" "1597b083f401ad7eb6a221f1379d33f9d652770c71f9ab95e06bef0633ec1f3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1597b083f401ad7eb6a221f1379d33f9d652770c71f9ab95e06bef0633ec1f3b", kill_on_drop: false }`
[INFO] [stdout] 1597b083f401ad7eb6a221f1379d33f9d652770c71f9ab95e06bef0633ec1f3b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8b451c70fdf3e4459535d8026f7320c6de4c4762533bb22e623feef8a445ff04
[INFO] running `Command { std: "docker" "start" "-a" "8b451c70fdf3e4459535d8026f7320c6de4c4762533bb22e623feef8a445ff04", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.75
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling trybuild v1.0.87
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling ahash v0.8.7
[INFO] [stderr]    Compiling smartstring v1.0.1
[INFO] [stderr]    Compiling termcolor v1.4.0
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling const-random v0.1.17
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling rhai_codegen v1.6.0
[INFO] [stderr]    Compiling rhai_codegen v1.6.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling basic-toml v0.1.8
[INFO] [stderr]    Compiling smallvec v1.11.2
[INFO] [stderr]    Compiling rhai v1.16.3
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 27.58s
[INFO] running `Command { std: "docker" "inspect" "8b451c70fdf3e4459535d8026f7320c6de4c4762533bb22e623feef8a445ff04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b451c70fdf3e4459535d8026f7320c6de4c4762533bb22e623feef8a445ff04", kill_on_drop: false }`
[INFO] [stdout] 8b451c70fdf3e4459535d8026f7320c6de4c4762533bb22e623feef8a445ff04
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 34395b244f3ff8299b8f5c821794c132c1269acd83451bbd011f17156a9afce0
[INFO] running `Command { std: "docker" "start" "-a" "34395b244f3ff8299b8f5c821794c132c1269acd83451bbd011f17156a9afce0", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rhai_codegen-c71f5e025fe30cba)
[INFO] [stdout] 
[INFO] [stdout] running 66 tests
[INFO] [stdout] test test::function::function_tests::minimal_fn ... ok
[INFO] [stdout] test test::function::function_tests::ptr_returning_fn ... ok
[INFO] [stdout] test test::function::function_tests::immutable_receiver_fn ... ok
[INFO] [stdout] test test::function::function_tests::private_fn ... ok
[INFO] [stdout] test test::function::function_tests::one_arg_fn ... ok
[INFO] [stdout] test test::function::function_tests::receiver_fn ... ok
[INFO] [stdout] test test::function::function_tests::mut_ref_second_arg_fn ... ok
[INFO] [stdout] test test::function::function_tests::ref_second_arg_fn ... ok
[INFO] [stdout] test test::function::function_tests::ref_returning_fn ... ok
[INFO] [stdout] test test::function::function_tests::ref_arg_fn ... ok
[INFO] [stdout] test test::function::function_tests::str_second_arg_fn ... ok
[INFO] [stdout] test test::function::function_tests::str_arg_fn ... ok
[INFO] [stdout] test test::function::function_tests::two_arg_fn ... ok
[INFO] [stdout] test test::function::function_tests::usize_returning_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::module::generate_tests::deep_tree_nested_module ... ok
[INFO] [stdout] test test::function::generate_tests::minimal_fn ... FAILED
[INFO] [stdout] test test::function::generate_tests::one_arg_usize_fn ... FAILED
[INFO] [stdout] test test::function::generate_tests::one_arg_fn_with_context ... FAILED
[INFO] [stdout] test test::function::generate_tests::str_arg_fn ... FAILED
[INFO] [stdout] test test::function::generate_tests::one_arg_usize_fn_impl ... 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::two_arg_returning_usize_fn ... FAILED
[INFO] [stdout] test test::module::generate_tests::mut_ref_pure_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_constant_type_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_factory_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_private_constant_module ... ok
[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_fn_nested_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_private_fn_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_getter_and_rename_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_index_getter_and_rename_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_skipped_fn_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_getter_fn_module ... FAILED
[INFO] [stdout] test test::module::module_tests::empty_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_index_getter_fn_with_cfg_attr_module ... FAILED
[INFO] [stdout] test test::module::module_tests::one_constant_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_mut_ref_fn_module ... FAILED
[INFO] [stdout] test test::module::module_tests::one_constant_nested_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_index_getter_fn_module ... FAILED
[INFO] [stdout] test test::module::module_tests::one_factory_fn_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_fn_with_cfg_module ... FAILED
[INFO] [stdout] test test::module::module_tests::one_private_constant_module ... ok
[INFO] [stdout] test test::module::module_tests::one_double_arg_fn_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_index_setter_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_single_arg_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_single_arg_global_fn_module ... FAILED
[INFO] [stdout] test test::module::module_tests::one_factory_fn_with_custom_type_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_setter_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_index_setter_and_rename_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_skipped_sub_module ... FAILED
[INFO] [stdout] test test::module::module_tests::one_skipped_fn_module ... ok
[INFO] [stdout] test test::module::module_tests::one_single_arg_fn_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_setter_and_rename_fn_module ... FAILED
[INFO] [stdout] test test::module::module_tests::one_skipped_fn_nested_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_string_arg_fn_module ... FAILED
[INFO] [stdout] test test::module::module_tests::one_skipped_nested_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_str_arg_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::two_fn_overload_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] thread 'test::function::generate_tests::minimal_fn' 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 PluginFunction 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 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 PluginFunction 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 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:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a63a72fab - rhai_codegen::test::function::generate_tests::assert_streams_eq::h3dda946bd4163735
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x560a63a7590e - rhai_codegen::test::function::generate_tests::minimal_fn::hc5a219d4f92def2c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:300:9
[INFO] [stdout]   23:     0x560a63a73107 - rhai_codegen::test::function::generate_tests::minimal_fn::{{closure}}::hf620cb0b54f02c7e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:266:20
[INFO] [stdout]   24:     0x560a63abe766 - core::ops::function::FnOnce::call_once::h36a11aea49af81f0
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                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] thread 'test::function::generate_tests::one_arg_usize_fn' 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 PluginFunction 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 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 PluginFunction 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 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:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a63a72fab - rhai_codegen::test::function::generate_tests::assert_streams_eq::h3dda946bd4163735
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x560a63a787cc - rhai_codegen::test::function::generate_tests::one_arg_usize_fn::h81c55f555ffe44d9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:340:9
[INFO] [stdout]   23:     0x560a63a75987 - rhai_codegen::test::function::generate_tests::one_arg_usize_fn::{{closure}}::hca84f8bfbd07d16e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:304:26
[INFO] [stdout]   24:     0x560a63abf416 - core::ops::function::FnOnce::call_once::hd7b3f5aa0d7a8c4c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                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] thread 'test::function::generate_tests::one_arg_fn_with_context' 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 PluginFunction 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 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 PluginFunction 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 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:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a63a72fab - rhai_codegen::test::function::generate_tests::assert_streams_eq::h3dda946bd4163735
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x560a63a7b8c6 - rhai_codegen::test::function::generate_tests::one_arg_fn_with_context::h0b20232cc96e52dc
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:381:9
[INFO] [stdout]   23:     0x560a63a78847 - rhai_codegen::test::function::generate_tests::one_arg_fn_with_context::{{closure}}::h59f437efee1e7b49
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:344:33
[INFO] [stdout]   24:     0x560a63abe7e6 - core::ops::function::FnOnce::call_once::h3a64b525b2db31dc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::function::generate_tests::str_arg_fn stdout ----
[INFO] [stdout] actual != expected, diverge at char 144
[INFO] [stdout] thread 'test::function::generate_tests::str_arg_fn' 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 PluginFunction 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 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 PluginFunction 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 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:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a63a72fab - rhai_codegen::test::function::generate_tests::assert_streams_eq::h3dda946bd4163735
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x560a63a8a205 - rhai_codegen::test::function::generate_tests::str_arg_fn::h11cfc89a9aea557f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:575:9
[INFO] [stdout]   23:     0x560a63a87167 - rhai_codegen::test::function::generate_tests::str_arg_fn::{{closure}}::h3cd946a848e2d8db
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:538:20
[INFO] [stdout]   24:     0x560a63abf5f6 - core::ops::function::FnOnce::call_once::hee98c012789f7451
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                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] thread 'test::function::generate_tests::one_arg_usize_fn_impl' 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 PluginFunction 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 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 PluginFunction 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 has_context (& self) -> bool { false } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a63a72fab - rhai_codegen::test::function::generate_tests::assert_streams_eq::h3dda946bd4163735
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x560a63a806a4 - rhai_codegen::test::function::generate_tests::one_arg_usize_fn_impl::h029c14037d0eed6d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:451:9
[INFO] [stdout]   23:     0x560a63a7e4c7 - rhai_codegen::test::function::generate_tests::one_arg_usize_fn_impl::{{closure}}::h75a4a26fbfcec761
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:426:31
[INFO] [stdout]   24:     0x560a63abf326 - core::ops::function::FnOnce::call_once::hc79f9cbbcd3a659d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                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] thread 'test::function::generate_tests::mut_arg_usize_fn' 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 PluginFunction 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 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 PluginFunction 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 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:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a63a72fab - rhai_codegen::test::function::generate_tests::assert_streams_eq::h3dda946bd4163735
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x560a63a870cf - rhai_codegen::test::function::generate_tests::mut_arg_usize_fn::hada5dd8f50932c8b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:534:9
[INFO] [stdout]   23:     0x560a63a83bd7 - rhai_codegen::test::function::generate_tests::mut_arg_usize_fn::{{closure}}::h2ed156f02a96cae8
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:496:26
[INFO] [stdout]   24:     0x560a63abf506 - core::ops::function::FnOnce::call_once::heb13f8a02f613b1e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::function::generate_tests::return_dynamic stdout ----
[INFO] [stdout] actual != expected, diverge at char 145
[INFO] [stdout] thread 'test::function::generate_tests::return_dynamic' 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 PluginFunction 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 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 PluginFunction 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 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:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a63a72fab - rhai_codegen::test::function::generate_tests::assert_streams_eq::h3dda946bd4163735
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x560a63a7e44e - rhai_codegen::test::function::generate_tests::return_dynamic::haae9edee8a1537da
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:422:9
[INFO] [stdout]   23:     0x560a63a7b957 - rhai_codegen::test::function::generate_tests::return_dynamic::{{closure}}::h4aa484e18e71b942
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:385:24
[INFO] [stdout]   24:     0x560a63abe5c6 - core::ops::function::FnOnce::call_once::h233aa8e435d22c6a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                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] thread 'test::function::generate_tests::two_arg_returning_usize_fn' 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 PluginFunction 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 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 PluginFunction 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 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:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a63a72fab - rhai_codegen::test::function::generate_tests::assert_streams_eq::h3dda946bd4163735
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x560a63a83b59 - rhai_codegen::test::function::generate_tests::two_arg_returning_usize_fn::h97dca1a871698231
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:492:9
[INFO] [stdout]   23:     0x560a63a80727 - rhai_codegen::test::function::generate_tests::two_arg_returning_usize_fn::{{closure}}::h2e05b96dde402363
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:455:36
[INFO] [stdout]   24:     0x560a63abea16 - core::ops::function::FnOnce::call_once::h4b70bae30aa1c6d6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::mut_ref_pure_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 515
[INFO] [stdout] thread 'test::module::generate_tests::mut_ref_pure_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod ref_fn { pub fn foo (x : & mut FLOAT , y : INT) -> FLOAT { * x + y as FLOAT } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"foo\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < FLOAT > () , TypeId :: of :: < INT > ()] , foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod ref_fn { pub fn foo (x : & mut FLOAT , y : INT) -> FLOAT { * x + y as FLOAT } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"foo\" , FnNamespace :: Internal , FnAccess :: Public , Some (foo_token :: PARAM_NAMES) , & [TypeId :: of :: < FLOAT > () , TypeId :: of :: < INT > ()] , foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a237aa - rhai_codegen::test::module::generate_tests::mut_ref_pure_fn_module::h2043165d873e62c8
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1359:9
[INFO] [stdout]   23:     0x560a63a1f0f7 - rhai_codegen::test::module::generate_tests::mut_ref_pure_fn_module::{{closure}}::h287584726aabaa2f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1301:32
[INFO] [stdout]   24:     0x560a63abee26 - core::ops::function::FnOnce::call_once::h7cbdc80c6f293f69
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_constant_type_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 646
[INFO] [stdout] thread 'test::module::generate_tests::one_constant_type_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get_mystic_number\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < Hello > ()] , get_mystic_number_token () . into ()) ; m . set_var (\"MYSTIC_NUMBER\" , MYSTIC_NUMBER) ; m . set_custom_type :: < Foo > (\"Hello\") ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get_mystic_number\" , FnNamespace :: Internal , FnAccess :: Public , Some (get_mystic_number_token :: PARAM_NAMES) , & [TypeId :: of :: < Hello > ()] , get_mystic_number_token () . into ()) ; m . set_var (\"MYSTIC_NUMBER\" , MYSTIC_NUMBER) ; m . set_custom_type :: < Foo > (\"Hello\") ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a0c4f1 - rhai_codegen::test::module::generate_tests::one_constant_type_module::h1a55a8358b7eef61
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:927:9
[INFO] [stdout]   23:     0x560a63a079b7 - rhai_codegen::test::module::generate_tests::one_constant_type_module::{{closure}}::hd9af8aa8e7daa5ef
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:854:34
[INFO] [stdout]   24:     0x560a63abf496 - core::ops::function::FnOnce::call_once::he51a37bee98fe23a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_factory_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 502
[INFO] [stdout] thread 'test::module::generate_tests::one_factory_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn get_mystic_number () -> INT { 42 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get_mystic_number\" , FnNamespace :: Internal , FnAccess :: Public , None , & [] , get_mystic_number_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn get_mystic_number () -> INT { 42 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get_mystic_number\" , FnNamespace :: Internal , FnAccess :: Public , Some (get_mystic_number_token :: PARAM_NAMES) , & [] , get_mystic_number_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a639e9d35 - rhai_codegen::test::module::generate_tests::one_factory_fn_module::hf9da44aedc588090
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:408:9
[INFO] [stdout]   23:     0x560a639e6607 - rhai_codegen::test::module::generate_tests::one_factory_fn_module::{{closure}}::hfccdd2ae8193122f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:353:31
[INFO] [stdout]   24:     0x560a63abec96 - core::ops::function::FnOnce::call_once::h6d9efbad2171e75a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_factory_fn_with_comments_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 671
[INFO] [stdout] thread 'test::module::generate_tests::one_factory_fn_with_comments_module' panicked at src/test/module.rs:318:9:
[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)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get_mystic_number\" , FnNamespace :: Internal , FnAccess :: Public , None , & [] , get_mystic_number_token () . into ()) ; m . set_custom_type :: < String > (\"World\") ; if flatten { } else { } } # [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 PluginFunction 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 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)] 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)] 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 } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn_with_comments (\"get_mystic_number\" , FnNamespace :: Internal , FnAccess :: Public , Some (get_mystic_number_token :: PARAM_NAMES) , & [] , & [\"/// This is a doc-comment.\\n/// Another line.\\n/// block doc-comment \\n/// Final line.\" , \"/** doc-comment\\n                    in multiple lines\\n                 */\"] , get_mystic_number_token () . into ()) ; m . set_custom_type_with_comments :: < String > (\"World\" , & [\"/// We are the world!\"]) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a639eecd2 - rhai_codegen::test::module::generate_tests::one_factory_fn_with_comments_module::h738e2a5a351b2f4b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:505:9
[INFO] [stdout]   23:     0x560a639e9da7 - rhai_codegen::test::module::generate_tests::one_factory_fn_with_comments_module::{{closure}}::h613ea8d67919ac00
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:412:45
[INFO] [stdout]   24:     0x560a63abeb96 - core::ops::function::FnOnce::call_once::h5f58fb65e04b6ebb
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_double_arg_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 512
[INFO] [stdout] thread 'test::module::generate_tests::one_double_arg_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn add_together (x : INT , y : INT) -> INT { x + y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add_together\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_together_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn add_together (x : INT , y : INT) -> INT { x + y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add_together\" , FnNamespace :: Internal , FnAccess :: Public , Some (add_together_token :: PARAM_NAMES) , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_together_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a0253b - rhai_codegen::test::module::generate_tests::one_double_arg_fn_module::h7f4dce5244fc3a71
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:782:9
[INFO] [stdout]   23:     0x560a639fe0b7 - rhai_codegen::test::module::generate_tests::one_double_arg_fn_module::{{closure}}::h487e34ab7cbb82eb
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:725:34
[INFO] [stdout]   24:     0x560a63abeea6 - core::ops::function::FnOnce::call_once::h7f1dccfe9912a649
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_double_rename_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 503
[INFO] [stdout] thread 'test::module::generate_tests::one_double_rename_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn add_together (x : INT , y : INT) -> INT { x + y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_together_token () . into ()) ; m . set_fn (\"+\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_together_token () . into ()) ; m . set_fn (\"add_together\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_together_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn add_together (x : INT , y : INT) -> INT { x + y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add\" , FnNamespace :: Internal , FnAccess :: Public , Some (add_together_token :: PARAM_NAMES) , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_together_token () . into ()) ; m . set_fn (\"+\" , FnNamespace :: Internal , FnAccess :: Public , Some (add_together_token :: PARAM_NAMES) , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_together_token () . into ()) ; m . set_fn (\"add_together\" , FnNamespace :: Internal , FnAccess :: Public , Some (add_together_token :: PARAM_NAMES) , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_together_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a0793a - rhai_codegen::test::module::generate_tests::one_double_rename_fn_module::h517df641b161c2f9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:850:9
[INFO] [stdout]   23:     0x560a63a025b7 - rhai_codegen::test::module::generate_tests::one_double_rename_fn_module::{{closure}}::h1ffe6a3f6f14f9cf
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:786:37
[INFO] [stdout]   24:     0x560a63abef86 - core::ops::function::FnOnce::call_once::h8c7195e0127d7e2d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_fn_nested_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 574
[INFO] [stdout] thread 'test::module::generate_tests::one_fn_nested_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { # [allow (clippy :: needless_pass_by_value)] pub mod it_is { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"increment\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < FLOAT > ()] , increment_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] 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)] pub mod one_fn { # [allow (clippy :: needless_pass_by_value)] pub mod it_is { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"increment\" , FnNamespace :: Internal , FnAccess :: Public , Some (increment_token :: PARAM_NAMES) , & [TypeId :: of :: < FLOAT > ()] , increment_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] 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:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a2cce1 - rhai_codegen::test::module::generate_tests::one_fn_nested_module::h169a6d953121aae0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1503:9
[INFO] [stdout]   23:     0x560a63a277c7 - rhai_codegen::test::module::generate_tests::one_fn_nested_module::{{closure}}::hdac19420f7a777d0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1423:30
[INFO] [stdout]   24:     0x560a63abe8a6 - core::ops::function::FnOnce::call_once::h3c83c00aea42c8ab
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_getter_and_rename_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 505
[INFO] [stdout] thread 'test::module::generate_tests::one_getter_and_rename_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn int_foo (x : & mut u64) -> u64 { (* x) * (* x) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"square\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; m . set_fn (\"get$square\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn int_foo (x : & mut u64) -> u64 { (* x) * (* x) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"square\" , FnNamespace :: Internal , FnAccess :: Public , Some (int_foo_token :: PARAM_NAMES) , & [TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; m . set_fn (\"get$square\" , FnNamespace :: Global , FnAccess :: Public , Some (int_foo_token :: PARAM_NAMES) , & [TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a3b799 - rhai_codegen::test::module::generate_tests::one_getter_and_rename_fn_module::h095bcc5da65eaca2
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1720:9
[INFO] [stdout]   23:     0x560a63a36f17 - rhai_codegen::test::module::generate_tests::one_getter_and_rename_fn_module::{{closure}}::h5c360ac6eb30a37a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1660:41
[INFO] [stdout]   24:     0x560a63abe866 - core::ops::function::FnOnce::call_once::h3c55017fa9c45145
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                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 532
[INFO] [stdout] thread 'test::module::generate_tests::one_index_getter_and_rename_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] , get_by_index_token () . into ()) ; m . set_fn (\"index$get$\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] , get_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get\" , FnNamespace :: Internal , FnAccess :: Public , Some (get_by_index_token :: PARAM_NAMES) , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] , get_by_index_token () . into ()) ; m . set_fn (\"index$get$\" , FnNamespace :: Global , FnAccess :: Public , Some (get_by_index_token :: PARAM_NAMES) , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] , get_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a53431 - rhai_codegen::test::module::generate_tests::one_index_getter_and_rename_fn_module::hbfaa8bf444b6ef17
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:2044:9
[INFO] [stdout]   23:     0x560a63a4e617 - rhai_codegen::test::module::generate_tests::one_index_getter_and_rename_fn_module::{{closure}}::h4c0a8accacb73bda
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1983:47
[INFO] [stdout]   24:     0x560a63abf036 - core::ops::function::FnOnce::call_once::h8de45ea46d933ef7
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_getter_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 507
[INFO] [stdout] thread 'test::module::generate_tests::one_getter_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn int_foo (x : & mut u64) -> u64 { (* x) * (* x) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get$square\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn int_foo (x : & mut u64) -> u64 { (* x) * (* x) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get$square\" , FnNamespace :: Global , FnAccess :: Public , Some (int_foo_token :: PARAM_NAMES) , & [TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a36e9c - rhai_codegen::test::module::generate_tests::one_getter_fn_module::h9389b1f93d04970b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1656:9
[INFO] [stdout]   23:     0x560a63a32bd7 - rhai_codegen::test::module::generate_tests::one_getter_fn_module::{{closure}}::h6eb7c7797d24557c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1599:30
[INFO] [stdout]   24:     0x560a63abf456 - core::ops::function::FnOnce::call_once::hd97a9e55984b670b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                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 589
[INFO] [stdout] thread 'test::module::generate_tests::one_index_getter_fn_with_cfg_attr_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { # [cfg (hello)] m . set_fn (\"index$get$\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] , get_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { # [cfg (hello)] m . set_fn (\"index$get$\" , FnNamespace :: Global , FnAccess :: Public , Some (get_by_index_token :: PARAM_NAMES) , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] , get_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a4e598 - rhai_codegen::test::module::generate_tests::one_index_getter_fn_with_cfg_attr_module::hdb3d8d2cbe6badbd
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1979:9
[INFO] [stdout]   23:     0x560a63a49477 - rhai_codegen::test::module::generate_tests::one_index_getter_fn_with_cfg_attr_module::{{closure}}::h5a445dfd05b3f6cb
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1913:50
[INFO] [stdout]   24:     0x560a63abe9d6 - core::ops::function::FnOnce::call_once::h47f54441d0bbc34a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_mut_ref_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 513
[INFO] [stdout] thread 'test::module::generate_tests::one_mut_ref_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod ref_fn { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"increment\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < FLOAT > ()] , increment_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod ref_fn { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"increment\" , FnNamespace :: Internal , FnAccess :: Public , Some (increment_token :: PARAM_NAMES) , & [TypeId :: of :: < FLOAT > ()] , increment_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a27751 - rhai_codegen::test::module::generate_tests::one_mut_ref_fn_module::h6669477eeff27ba4
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1419:9
[INFO] [stdout]   23:     0x560a63a23827 - rhai_codegen::test::module::generate_tests::one_mut_ref_fn_module::{{closure}}::hfe6ff59e5b2f64dc
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1363:31
[INFO] [stdout]   24:     0x560a63abec56 - core::ops::function::FnOnce::call_once::h69c043518e6d9e4d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_index_getter_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 537
[INFO] [stdout] thread 'test::module::generate_tests::one_index_getter_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"index$get$\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] , get_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"index$get$\" , FnNamespace :: Global , FnAccess :: Public , Some (get_by_index_token :: PARAM_NAMES) , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] , get_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a493fa - rhai_codegen::test::module::generate_tests::one_index_getter_fn_module::h3aa72daa439e329e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1909:9
[INFO] [stdout]   23:     0x560a63a44c97 - rhai_codegen::test::module::generate_tests::one_index_getter_fn_module::{{closure}}::he4333ff150005dd6
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1851:36
[INFO] [stdout]   24:     0x560a63abe556 - core::ops::function::FnOnce::call_once::h1c5a4ec477c7bfc7
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_fn_with_cfg_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 611
[INFO] [stdout] thread 'test::module::generate_tests::one_fn_with_cfg_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { # [cfg (not (feature = \"no_float\"))] # [allow (clippy :: needless_pass_by_value)] pub mod it_is { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"increment\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < FLOAT > ()] , increment_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { if flatten { { # [cfg (not (feature = \"no_float\"))] self :: it_is :: rhai_generate_into_module (m , flatten) ; } } else { { # [cfg (not (feature = \"no_float\"))] m . set_sub_module (\"it_is\" , self :: it_is :: rhai_module_generate ()) ; } } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { # [cfg (not (feature = \"no_float\"))] # [allow (clippy :: needless_pass_by_value)] pub mod it_is { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"increment\" , FnNamespace :: Internal , FnAccess :: Public , Some (increment_token :: PARAM_NAMES) , & [TypeId :: of :: < FLOAT > ()] , increment_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { if flatten { { # [cfg (not (feature = \"no_float\"))] self :: it_is :: rhai_generate_into_module (m , flatten) ; } } else { { # [cfg (not (feature = \"no_float\"))] m . set_sub_module (\"it_is\" , self :: it_is :: rhai_module_generate ()) ; } } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a32b5f - rhai_codegen::test::module::generate_tests::one_fn_with_cfg_module::h4ba0d1e2a0f4518c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1595:9
[INFO] [stdout]   23:     0x560a63a2cd57 - rhai_codegen::test::module::generate_tests::one_fn_with_cfg_module::{{closure}}::ha48d4cb6282839ea
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1507:32
[INFO] [stdout]   24:     0x560a63abee66 - core::ops::function::FnOnce::call_once::h7d94691a264acc40
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_index_setter_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 558
[INFO] [stdout] thread 'test::module::generate_tests::one_index_setter_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"index$set$\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > () , TypeId :: of :: < FLOAT > ()] , set_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"index$set$\" , FnNamespace :: Global , FnAccess :: Public , Some (set_by_index_token :: PARAM_NAMES) , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > () , TypeId :: of :: < FLOAT > ()] , set_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a58348 - rhai_codegen::test::module::generate_tests::one_index_setter_fn_module::hbabb6c816ee760fa
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:2107:9
[INFO] [stdout]   23:     0x560a63a534a7 - rhai_codegen::test::module::generate_tests::one_index_setter_fn_module::{{closure}}::h4ae61b280325ee5b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:2048:36
[INFO] [stdout]   24:     0x560a63abe8e6 - core::ops::function::FnOnce::call_once::h3d3fbd1092ce9bc5
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_single_arg_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 498
[INFO] [stdout] thread 'test::module::generate_tests::one_single_arg_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn add_one_to (x : INT) -> INT { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add_one_to\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < INT > ()] , add_one_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn add_one_to (x : INT) -> INT { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add_one_to\" , FnNamespace :: Internal , FnAccess :: Public , Some (add_one_to_token :: PARAM_NAMES) , & [TypeId :: of :: < INT > ()] , add_one_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a639f6c4f - rhai_codegen::test::module::generate_tests::one_single_arg_fn_module::h542124c7c26f3e15
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:626:9
[INFO] [stdout]   23:     0x560a639f2db7 - rhai_codegen::test::module::generate_tests::one_single_arg_fn_module::{{closure}}::h2d1f716744cdf3df
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:570:34
[INFO] [stdout]   24:     0x560a63abe646 - core::ops::function::FnOnce::call_once::h29174eb90b0a48a3
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_single_arg_global_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 503
[INFO] [stdout] thread 'test::module::generate_tests::one_single_arg_global_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_global_fn { pub fn add_one_to (x : INT) -> INT { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add_one_to\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < INT > ()] , add_one_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_global_fn { pub fn add_one_to (x : INT) -> INT { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add_one_to\" , FnNamespace :: Global , FnAccess :: Public , Some (add_one_to_token :: PARAM_NAMES) , & [TypeId :: of :: < INT > ()] , add_one_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a639f2d3e - rhai_codegen::test::module::generate_tests::one_single_arg_global_fn_module::hea3203b6739ba63f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:566:9
[INFO] [stdout]   23:     0x560a639eed47 - rhai_codegen::test::module::generate_tests::one_single_arg_global_fn_module::{{closure}}::h69cf12fefd8faf21
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:509:41
[INFO] [stdout]   24:     0x560a63abefc6 - core::ops::function::FnOnce::call_once::h8cdca87e00145b22
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_setter_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 509
[INFO] [stdout] thread 'test::module::generate_tests::one_setter_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn int_foo (x : & mut u64 , y : u64) { * x = y * y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"set$squared\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < u64 > () , TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn int_foo (x : & mut u64 , y : u64) { * x = y * y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"set$squared\" , FnNamespace :: Global , FnAccess :: Public , Some (int_foo_token :: PARAM_NAMES) , & [TypeId :: of :: < u64 > () , TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a3fe80 - rhai_codegen::test::module::generate_tests::one_setter_fn_module::h01d062997e54c8c8
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1782:9
[INFO] [stdout]   23:     0x560a63a3b817 - rhai_codegen::test::module::generate_tests::one_setter_fn_module::{{closure}}::h65fba8c677c9f41b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1724:30
[INFO] [stdout]   24:     0x560a63abf6b6 - core::ops::function::FnOnce::call_once::hfd65d3fafe9d6d06
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                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 553
[INFO] [stdout] thread 'test::module::generate_tests::one_index_setter_and_rename_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"set\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > () , TypeId :: of :: < FLOAT > ()] , set_by_index_token () . into ()) ; m . set_fn (\"index$set$\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > () , TypeId :: of :: < FLOAT > ()] , set_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"set\" , FnNamespace :: Internal , FnAccess :: Public , Some (set_by_index_token :: PARAM_NAMES) , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > () , TypeId :: of :: < FLOAT > ()] , set_by_index_token () . into ()) ; m . set_fn (\"index$set$\" , FnNamespace :: Global , FnAccess :: Public , Some (set_by_index_token :: PARAM_NAMES) , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > () , TypeId :: of :: < FLOAT > ()] , set_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a5da19 - rhai_codegen::test::module::generate_tests::one_index_setter_and_rename_fn_module::h448d5ab6e40cd4ce
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:2173:9
[INFO] [stdout]   23:     0x560a63a583c7 - rhai_codegen::test::module::generate_tests::one_index_setter_and_rename_fn_module::{{closure}}::hc071fe72b281e5e0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:2111:47
[INFO] [stdout]   24:     0x560a63abe996 - core::ops::function::FnOnce::call_once::h442968554eade9f9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_skipped_sub_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 610
[INFO] [stdout] thread 'test::module::generate_tests::one_skipped_sub_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn get_mystic_number () -> INT { 42 } # [allow (clippy :: needless_pass_by_value)] pub mod inner_secrets { pub const SECRET_NUMBER : INT = 86 ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get_mystic_number\" , FnNamespace :: Internal , FnAccess :: Public , None , & [] , get_mystic_number_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn get_mystic_number () -> INT { 42 } # [allow (clippy :: needless_pass_by_value)] pub mod inner_secrets { pub const SECRET_NUMBER : INT = 86 ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get_mystic_number\" , FnNamespace :: Internal , FnAccess :: Public , Some (get_mystic_number_token :: PARAM_NAMES) , & [] , get_mystic_number_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a15e11 - rhai_codegen::test::module::generate_tests::one_skipped_sub_module::h42a9805813ce15ab
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1143:9
[INFO] [stdout]   23:     0x560a63a12077 - rhai_codegen::test::module::generate_tests::one_skipped_sub_module::{{closure}}::hb1d701089fea72d3
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1080:32
[INFO] [stdout]   24:     0x560a63abece6 - core::ops::function::FnOnce::call_once::h6f9c91ec3ebc0954
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_setter_and_rename_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 506
[INFO] [stdout] thread 'test::module::generate_tests::one_setter_and_rename_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn int_foo (x : & mut u64 , y : u64) { * x = y * y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"set_sq\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < u64 > () , TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; m . set_fn (\"set$squared\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < u64 > () , TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn int_foo (x : & mut u64 , y : u64) { * x = y * y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"set_sq\" , FnNamespace :: Internal , FnAccess :: Public , Some (int_foo_token :: PARAM_NAMES) , & [TypeId :: of :: < u64 > () , TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; m . set_fn (\"set$squared\" , FnNamespace :: Global , FnAccess :: Public , Some (int_foo_token :: PARAM_NAMES) , & [TypeId :: of :: < u64 > () , TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a44c17 - rhai_codegen::test::module::generate_tests::one_setter_and_rename_fn_module::h1989c94b811b658f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1847:9
[INFO] [stdout]   23:     0x560a63a3fef7 - rhai_codegen::test::module::generate_tests::one_setter_and_rename_fn_module::{{closure}}::h40344ee045de5965
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1786:41
[INFO] [stdout]   24:     0x560a63abe7a6 - core::ops::function::FnOnce::call_once::h382d5ed6b5a22b6a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_string_arg_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 498
[INFO] [stdout] thread 'test::module::generate_tests::one_string_arg_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod str_fn { pub fn print_out_to (x : String) { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"print_out_to\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < ImmutableString > ()] , print_out_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod str_fn { pub fn print_out_to (x : String) { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"print_out_to\" , FnNamespace :: Internal , FnAccess :: Public , Some (print_out_to_token :: PARAM_NAMES) , & [TypeId :: of :: < ImmutableString > ()] , print_out_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a1f083 - rhai_codegen::test::module::generate_tests::one_string_arg_fn_module::h0de8c8f870fa9810
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1297:9
[INFO] [stdout]   23:     0x560a63a1b237 - rhai_codegen::test::module::generate_tests::one_string_arg_fn_module::{{closure}}::h1e621ac70c5b8419
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1241:34
[INFO] [stdout]   24:     0x560a63abede6 - core::ops::function::FnOnce::call_once::h7c5ac6ce1b9bb4fd
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_str_arg_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 497
[INFO] [stdout] thread 'test::module::generate_tests::one_str_arg_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod str_fn { pub fn print_out_to (x : & str) { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"print_out_to\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < ImmutableString > ()] , print_out_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod str_fn { pub fn print_out_to (x : & str) { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"print_out_to\" , FnNamespace :: Internal , FnAccess :: Public , Some (print_out_to_token :: PARAM_NAMES) , & [TypeId :: of :: < ImmutableString > ()] , print_out_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a63a1b1bc - rhai_codegen::test::module::generate_tests::one_str_arg_fn_module::hda5dddf8ff6001a2
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1237:9
[INFO] [stdout]   23:     0x560a63a17337 - rhai_codegen::test::module::generate_tests::one_str_arg_fn_module::{{closure}}::h64c32bd8eb4acd21
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1181:31
[INFO] [stdout]   24:     0x560a63abef46 - core::ops::function::FnOnce::call_once::h8b05ec9ab4d522e5
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::two_fn_overload_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 547
[INFO] [stdout] thread 'test::module::generate_tests::two_fn_overload_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add_n\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < INT > ()] , add_one_to_token () . into ()) ; m . set_fn (\"add_n\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_n_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add_n\" , FnNamespace :: Internal , FnAccess :: Public , Some (add_one_to_token :: PARAM_NAMES) , & [TypeId :: of :: < INT > ()] , add_one_to_token () . into ()) ; m . set_fn (\"add_n\" , FnNamespace :: Internal , FnAccess :: Public , Some (add_n_to_token :: PARAM_NAMES) , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_n_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7fea627fc62c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7fea627fc62c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7fea627fc62c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x7fea627fc62c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7fea6284f630 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7fea6284f630 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7fea627f04bf - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x7fea627fc414 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7fea627fc414 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7fea627ff0a7 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x7fea627fed93 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7fea628cad07 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x7fea628cad07 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7fea627ff7e8 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x7fea627ff7e8 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7fea627ff53e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7fea627fcaf6 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x7fea627ff2a2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7fea6284bd15 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7fea6284c28b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x560a63acec3e - core::panicking::assert_failed::h3abcbcbce2464543
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x560a639e51bb - rhai_codegen::test::module::generate_tests::assert_streams_eq::h21f3e041ba912238
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x560a639fe042 - rhai_codegen::test::module::generate_tests::two_fn_overload_module::h1fac3f424245e3ac
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:721:9
[INFO] [stdout]   23:     0x560a639f6cc7 - rhai_codegen::test::module::generate_tests::two_fn_overload_module::{{closure}}::h73818c1f94578b2a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:630:32
[INFO] [stdout]   24:     0x560a63abf636 - core::ops::function::FnOnce::call_once::hf17acfa52474752f
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7fea628d0c9f - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7fea628d0c9f - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   27:     0x7fea628cfcb5 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   28:     0x7fea628cfcb5 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7fea628cfcb5 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7fea628cfcb5 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7fea628cfcb5 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7fea628cfcb5 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   33:     0x7fea628cfcb5 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   34:     0x7fea62893a26 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   35:     0x7fea62893a26 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   36:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7fea62898ad7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7fea62898ad7 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7fea62898ad7 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7fea62898ad7 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7fea62898ad7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7fea62898ad7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x7fea628096a5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   45:     0x7fea628096a5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7fea6257aac3 - <unknown>
[INFO] [stdout]   47:     0x7fea6260bbf4 - __clone
[INFO] [stdout]   48:                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. 34 passed; 32 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "34395b244f3ff8299b8f5c821794c132c1269acd83451bbd011f17156a9afce0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34395b244f3ff8299b8f5c821794c132c1269acd83451bbd011f17156a9afce0", kill_on_drop: false }`
[INFO] [stdout] 34395b244f3ff8299b8f5c821794c132c1269acd83451bbd011f17156a9afce0
[INFO] testing rhai_codegen-1.6.0 against beta-2023-12-22 for beta-1.76-1
[INFO] extracting crate rhai_codegen 1.6.0 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate rhai_codegen 1.6.0 on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rhai_codegen 1.6.0
[INFO] finished tweaking crates.io crate rhai_codegen 1.6.0
[INFO] tweaked toml for crates.io crate rhai_codegen 1.6.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6d44b4558e66eba31beec55b1c44617c52711def3b623a529853ccd44b963c12
[INFO] running `Command { std: "docker" "start" "-a" "6d44b4558e66eba31beec55b1c44617c52711def3b623a529853ccd44b963c12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d44b4558e66eba31beec55b1c44617c52711def3b623a529853ccd44b963c12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d44b4558e66eba31beec55b1c44617c52711def3b623a529853ccd44b963c12", kill_on_drop: false }`
[INFO] [stdout] 6d44b4558e66eba31beec55b1c44617c52711def3b623a529853ccd44b963c12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2239689b166f1711c2c6d8de95ce51c67de1e3b73ba15b18d7494a22926919b5
[INFO] running `Command { std: "docker" "start" "-a" "2239689b166f1711c2c6d8de95ce51c67de1e3b73ba15b18d7494a22926919b5", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling rhai_codegen v1.6.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.75s
[INFO] running `Command { std: "docker" "inspect" "2239689b166f1711c2c6d8de95ce51c67de1e3b73ba15b18d7494a22926919b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2239689b166f1711c2c6d8de95ce51c67de1e3b73ba15b18d7494a22926919b5", kill_on_drop: false }`
[INFO] [stdout] 2239689b166f1711c2c6d8de95ce51c67de1e3b73ba15b18d7494a22926919b5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e5886e387698d8cf2aa4c9f686455168011e2a2f174906643104010cfcb1818a
[INFO] running `Command { std: "docker" "start" "-a" "e5886e387698d8cf2aa4c9f686455168011e2a2f174906643104010cfcb1818a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.75
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling trybuild v1.0.87
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling smartstring v1.0.1
[INFO] [stderr]    Compiling ahash v0.8.7
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling getrandom v0.2.11
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling const-random v0.1.17
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling rhai_codegen v1.6.0
[INFO] [stderr]    Compiling rhai_codegen v1.6.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling smallvec v1.11.2
[INFO] [stderr]    Compiling basic-toml v0.1.8
[INFO] [stderr]    Compiling rhai v1.16.3
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 24.44s
[INFO] running `Command { std: "docker" "inspect" "e5886e387698d8cf2aa4c9f686455168011e2a2f174906643104010cfcb1818a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5886e387698d8cf2aa4c9f686455168011e2a2f174906643104010cfcb1818a", kill_on_drop: false }`
[INFO] [stdout] e5886e387698d8cf2aa4c9f686455168011e2a2f174906643104010cfcb1818a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9c729aa5fa22becf1ec3c98d5b8199481e2ac2976fa2cdc12d0017e20d9a1b74
[INFO] running `Command { std: "docker" "start" "-a" "9c729aa5fa22becf1ec3c98d5b8199481e2ac2976fa2cdc12d0017e20d9a1b74", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rhai_codegen-ab86798ca2972c2f)
[INFO] [stdout] 
[INFO] [stdout] running 66 tests
[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::function::function_tests::mut_ref_second_arg_fn ... ok
[INFO] [stdout] test test::function::function_tests::ptr_returning_fn ... ok
[INFO] [stdout] test test::function::function_tests::receiver_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::two_arg_fn ... ok
[INFO] [stdout] test test::function::function_tests::ref_second_arg_fn ... ok
[INFO] [stdout] test test::function::function_tests::str_second_arg_fn ... ok
[INFO] [stdout] test test::function::function_tests::str_arg_fn ... ok
[INFO] [stdout] test test::function::function_tests::usize_returning_fn ... ok
[INFO] [stdout] test test::module::generate_tests::empty_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_constant_module_imports_preserved ... ok
[INFO] [stdout] test test::module::generate_tests::one_constant_module ... 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::module::generate_tests::deep_tree_nested_module ... 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::str_arg_fn ... FAILED
[INFO] [stdout] test test::function::generate_tests::return_dynamic ... FAILED
[INFO] [stdout] test test::function::generate_tests::mut_arg_usize_fn ... FAILED
[INFO] [stdout] test test::function::generate_tests::one_arg_usize_fn_impl ... FAILED
[INFO] [stdout] test test::function::generate_tests::two_arg_returning_usize_fn ... FAILED
[INFO] [stdout] test test::function::generate_tests::one_arg_usize_fn ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_constant_type_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_factory_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_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_private_constant_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_fn_nested_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_fn_with_cfg_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_getter_and_rename_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_getter_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_private_fn_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_index_getter_and_rename_fn_module ... FAILED
[INFO] [stdout] test test::module::module_tests::empty_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_mut_ref_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_index_getter_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_index_getter_fn_with_cfg_attr_module ... FAILED
[INFO] [stdout] test test::module::module_tests::one_constant_module ... ok
[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::module::module_tests::one_factory_fn_module ... ok
[INFO] [stdout] test test::module::module_tests::one_single_arg_fn_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_index_setter_fn_module ... FAILED
[INFO] [stdout] test test::module::module_tests::one_factory_fn_with_custom_type_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_skipped_fn_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_index_setter_and_rename_fn_module ... FAILED
[INFO] [stdout] test test::module::module_tests::one_skipped_fn_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_setter_fn_module ... FAILED
[INFO] [stdout] test test::module::module_tests::one_skipped_fn_nested_module ... ok
[INFO] [stdout] test test::module::module_tests::one_double_arg_fn_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_skipped_sub_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_str_arg_fn_module ... FAILED
[INFO] [stdout] test test::module::module_tests::one_skipped_nested_module ... ok
[INFO] [stdout] test test::module::generate_tests::one_single_arg_global_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_string_arg_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_single_arg_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::one_setter_and_rename_fn_module ... FAILED
[INFO] [stdout] test test::module::generate_tests::two_fn_overload_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] thread 'test::function::generate_tests::minimal_fn' 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 PluginFunction 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 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 PluginFunction 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 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:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d177ecb - rhai_codegen::test::function::generate_tests::assert_streams_eq::h80c2b48619fae539
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x56274d17a82e - rhai_codegen::test::function::generate_tests::minimal_fn::hfd095a00224d6f74
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:300:9
[INFO] [stdout]   23:     0x56274d178027 - rhai_codegen::test::function::generate_tests::minimal_fn::{{closure}}::hae391e92083a0197
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:266:20
[INFO] [stdout]   24:     0x56274d1bbeb6 - core::ops::function::FnOnce::call_once::h6112297289f206f9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                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] thread 'test::function::generate_tests::one_arg_fn_with_context' 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 PluginFunction 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 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 PluginFunction 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 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:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d177ecb - rhai_codegen::test::function::generate_tests::assert_streams_eq::h80c2b48619fae539
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x56274d1807e6 - rhai_codegen::test::function::generate_tests::one_arg_fn_with_context::he07af348f1d539c1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:381:9
[INFO] [stdout]   23:     0x56274d17d767 - rhai_codegen::test::function::generate_tests::one_arg_fn_with_context::{{closure}}::h55203ae79c156ee1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:344:33
[INFO] [stdout]   24:     0x56274d1bc116 - core::ops::function::FnOnce::call_once::h897c2069ecccb255
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::function::generate_tests::str_arg_fn stdout ----
[INFO] [stdout] actual != expected, diverge at char 144
[INFO] [stdout] thread 'test::function::generate_tests::str_arg_fn' 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 PluginFunction 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 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 PluginFunction 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 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:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d177ecb - rhai_codegen::test::function::generate_tests::assert_streams_eq::h80c2b48619fae539
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x56274d18f105 - rhai_codegen::test::function::generate_tests::str_arg_fn::hed38fa03bf83f6c9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:575:9
[INFO] [stdout]   23:     0x56274d18c067 - rhai_codegen::test::function::generate_tests::str_arg_fn::{{closure}}::h307d1994c71a2d32
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:538:20
[INFO] [stdout]   24:     0x56274d1bb9b6 - core::ops::function::FnOnce::call_once::h1818b19e0157d1e8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::function::generate_tests::return_dynamic stdout ----
[INFO] [stdout] actual != expected, diverge at char 145
[INFO] [stdout] thread 'test::function::generate_tests::return_dynamic' 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 PluginFunction 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 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 PluginFunction 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 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:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d177ecb - rhai_codegen::test::function::generate_tests::assert_streams_eq::h80c2b48619fae539
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x56274d18336e - rhai_codegen::test::function::generate_tests::return_dynamic::h14f0eb3ed97e48a4
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:422:9
[INFO] [stdout]   23:     0x56274d180877 - rhai_codegen::test::function::generate_tests::return_dynamic::{{closure}}::h06a0595f8164493d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:385:24
[INFO] [stdout]   24:     0x56274d1bb936 - core::ops::function::FnOnce::call_once::h0f61f82b6d682454
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                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] thread 'test::function::generate_tests::mut_arg_usize_fn' 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 PluginFunction 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 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 PluginFunction 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 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:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d177ecb - rhai_codegen::test::function::generate_tests::assert_streams_eq::h80c2b48619fae539
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x56274d18bfdf - rhai_codegen::test::function::generate_tests::mut_arg_usize_fn::hb3b460e61c495bcd
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:534:9
[INFO] [stdout]   23:     0x56274d188ae7 - rhai_codegen::test::function::generate_tests::mut_arg_usize_fn::{{closure}}::h4a627a4e0a4a3e37
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:496:26
[INFO] [stdout]   24:     0x56274d1bc626 - core::ops::function::FnOnce::call_once::hd2f4bbcbecabdbf5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                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] thread 'test::function::generate_tests::one_arg_usize_fn_impl' 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 PluginFunction 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 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 PluginFunction 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 has_context (& self) -> bool { false } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d177ecb - rhai_codegen::test::function::generate_tests::assert_streams_eq::h80c2b48619fae539
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x56274d1855c4 - rhai_codegen::test::function::generate_tests::one_arg_usize_fn_impl::h957dc7dca8fb721c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:451:9
[INFO] [stdout]   23:     0x56274d1833e7 - rhai_codegen::test::function::generate_tests::one_arg_usize_fn_impl::{{closure}}::h0b6b43b50493db3e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:426:31
[INFO] [stdout]   24:     0x56274d1bcb56 - core::ops::function::FnOnce::call_once::hfaf2a5433a5d5854
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                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] thread 'test::function::generate_tests::two_arg_returning_usize_fn' 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 PluginFunction 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 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 PluginFunction 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 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:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d177ecb - rhai_codegen::test::function::generate_tests::assert_streams_eq::h80c2b48619fae539
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x56274d188a79 - rhai_codegen::test::function::generate_tests::two_arg_returning_usize_fn::h53afdc864dd1e8a0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:492:9
[INFO] [stdout]   23:     0x56274d185647 - rhai_codegen::test::function::generate_tests::two_arg_returning_usize_fn::{{closure}}::h557140e92c20860a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:455:36
[INFO] [stdout]   24:     0x56274d1bc956 - core::ops::function::FnOnce::call_once::he67790443bac9172
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                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] thread 'test::function::generate_tests::one_arg_usize_fn' 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 PluginFunction 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 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 PluginFunction 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 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:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d177ecb - rhai_codegen::test::function::generate_tests::assert_streams_eq::h80c2b48619fae539
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:262:9
[INFO] [stdout]   22:     0x56274d17d6ec - rhai_codegen::test::function::generate_tests::one_arg_usize_fn::h3a2d77f59dc90404
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:340:9
[INFO] [stdout]   23:     0x56274d17a8a7 - rhai_codegen::test::function::generate_tests::one_arg_usize_fn::{{closure}}::h281b7853247ffb2b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/function.rs:304:26
[INFO] [stdout]   24:     0x56274d1bbbb6 - core::ops::function::FnOnce::call_once::h298899f1667bed93
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_constant_type_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 646
[INFO] [stdout] thread 'test::module::generate_tests::one_constant_type_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get_mystic_number\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < Hello > ()] , get_mystic_number_token () . into ()) ; m . set_var (\"MYSTIC_NUMBER\" , MYSTIC_NUMBER) ; m . set_custom_type :: < Foo > (\"Hello\") ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get_mystic_number\" , FnNamespace :: Internal , FnAccess :: Public , Some (get_mystic_number_token :: PARAM_NAMES) , & [TypeId :: of :: < Hello > ()] , get_mystic_number_token () . into ()) ; m . set_var (\"MYSTIC_NUMBER\" , MYSTIC_NUMBER) ; m . set_custom_type :: < Foo > (\"Hello\") ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d1114d1 - rhai_codegen::test::module::generate_tests::one_constant_type_module::h86fc68764e36d8e1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:927:9
[INFO] [stdout]   23:     0x56274d10c997 - rhai_codegen::test::module::generate_tests::one_constant_type_module::{{closure}}::h01ad610b099282d0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:854:34
[INFO] [stdout]   24:     0x56274d1bbe76 - core::ops::function::FnOnce::call_once::h60d4176699d68d36
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_factory_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 502
[INFO] [stdout] thread 'test::module::generate_tests::one_factory_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn get_mystic_number () -> INT { 42 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get_mystic_number\" , FnNamespace :: Internal , FnAccess :: Public , None , & [] , get_mystic_number_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn get_mystic_number () -> INT { 42 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get_mystic_number\" , FnNamespace :: Internal , FnAccess :: Public , Some (get_mystic_number_token :: PARAM_NAMES) , & [] , get_mystic_number_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d0eed25 - rhai_codegen::test::module::generate_tests::one_factory_fn_module::h91f31247f6a49096
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:408:9
[INFO] [stdout]   23:     0x56274d0eb5f7 - rhai_codegen::test::module::generate_tests::one_factory_fn_module::{{closure}}::h983ba774b3520b18
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:353:31
[INFO] [stdout]   24:     0x56274d1bbd46 - core::ops::function::FnOnce::call_once::h52adeaed89432216
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::mut_ref_pure_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 515
[INFO] [stdout] thread 'test::module::generate_tests::mut_ref_pure_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod ref_fn { pub fn foo (x : & mut FLOAT , y : INT) -> FLOAT { * x + y as FLOAT } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"foo\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < FLOAT > () , TypeId :: of :: < INT > ()] , foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod ref_fn { pub fn foo (x : & mut FLOAT , y : INT) -> FLOAT { * x + y as FLOAT } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"foo\" , FnNamespace :: Internal , FnAccess :: Public , Some (foo_token :: PARAM_NAMES) , & [TypeId :: of :: < FLOAT > () , TypeId :: of :: < INT > ()] , foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d12875a - rhai_codegen::test::module::generate_tests::mut_ref_pure_fn_module::h19a519fdae4fb1dd
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1359:9
[INFO] [stdout]   23:     0x56274d1240a7 - rhai_codegen::test::module::generate_tests::mut_ref_pure_fn_module::{{closure}}::h7c38b9dc42cc9fcb
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1301:32
[INFO] [stdout]   24:     0x56274d1bbef6 - core::ops::function::FnOnce::call_once::h66bc674aa89cf0c6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_factory_fn_with_comments_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 671
[INFO] [stdout] thread 'test::module::generate_tests::one_factory_fn_with_comments_module' panicked at src/test/module.rs:318:9:
[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)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get_mystic_number\" , FnNamespace :: Internal , FnAccess :: Public , None , & [] , get_mystic_number_token () . into ()) ; m . set_custom_type :: < String > (\"World\") ; if flatten { } else { } } # [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 PluginFunction 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 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)] 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)] 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 } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn_with_comments (\"get_mystic_number\" , FnNamespace :: Internal , FnAccess :: Public , Some (get_mystic_number_token :: PARAM_NAMES) , & [] , & [\"/// This is a doc-comment.\\n/// Another line.\\n/// block doc-comment \\n/// Final line.\" , \"/** doc-comment\\n                    in multiple lines\\n                 */\"] , get_mystic_number_token () . into ()) ; m . set_custom_type_with_comments :: < String > (\"World\" , & [\"/// We are the world!\"]) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d0f3cc2 - rhai_codegen::test::module::generate_tests::one_factory_fn_with_comments_module::hd1c0394d4461d0d9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:505:9
[INFO] [stdout]   23:     0x56274d0eed97 - rhai_codegen::test::module::generate_tests::one_factory_fn_with_comments_module::{{closure}}::h20655b0305724952
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:412:45
[INFO] [stdout]   24:     0x56274d1bbff6 - core::ops::function::FnOnce::call_once::h72d4707c1e4919ea
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_double_arg_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 512
[INFO] [stdout] thread 'test::module::generate_tests::one_double_arg_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn add_together (x : INT , y : INT) -> INT { x + y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add_together\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_together_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn add_together (x : INT , y : INT) -> INT { x + y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add_together\" , FnNamespace :: Internal , FnAccess :: Public , Some (add_together_token :: PARAM_NAMES) , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_together_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d10752b - rhai_codegen::test::module::generate_tests::one_double_arg_fn_module::h3e0a173771e8d8e1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:782:9
[INFO] [stdout]   23:     0x56274d1030a7 - rhai_codegen::test::module::generate_tests::one_double_arg_fn_module::{{closure}}::he5a9936f2d255f72
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:725:34
[INFO] [stdout]   24:     0x56274d1bc426 - core::ops::function::FnOnce::call_once::haf20147cea615a8a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_double_rename_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 503
[INFO] [stdout] thread 'test::module::generate_tests::one_double_rename_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn add_together (x : INT , y : INT) -> INT { x + y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_together_token () . into ()) ; m . set_fn (\"+\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_together_token () . into ()) ; m . set_fn (\"add_together\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_together_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn add_together (x : INT , y : INT) -> INT { x + y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add\" , FnNamespace :: Internal , FnAccess :: Public , Some (add_together_token :: PARAM_NAMES) , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_together_token () . into ()) ; m . set_fn (\"+\" , FnNamespace :: Internal , FnAccess :: Public , Some (add_together_token :: PARAM_NAMES) , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_together_token () . into ()) ; m . set_fn (\"add_together\" , FnNamespace :: Internal , FnAccess :: Public , Some (add_together_token :: PARAM_NAMES) , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_together_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d10c92a - rhai_codegen::test::module::generate_tests::one_double_rename_fn_module::h3de0ce800ac9ba1a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:850:9
[INFO] [stdout]   23:     0x56274d1075a7 - rhai_codegen::test::module::generate_tests::one_double_rename_fn_module::{{closure}}::h2ff77526161805ca
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:786:37
[INFO] [stdout]   24:     0x56274d1bc716 - core::ops::function::FnOnce::call_once::hd9d3adcc9850652d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_fn_nested_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 574
[INFO] [stdout] thread 'test::module::generate_tests::one_fn_nested_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { # [allow (clippy :: needless_pass_by_value)] pub mod it_is { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"increment\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < FLOAT > ()] , increment_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] 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)] pub mod one_fn { # [allow (clippy :: needless_pass_by_value)] pub mod it_is { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"increment\" , FnNamespace :: Internal , FnAccess :: Public , Some (increment_token :: PARAM_NAMES) , & [TypeId :: of :: < FLOAT > ()] , increment_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] 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:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d131c81 - rhai_codegen::test::module::generate_tests::one_fn_nested_module::h0697ced92a6083e2
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1503:9
[INFO] [stdout]   23:     0x56274d12c767 - rhai_codegen::test::module::generate_tests::one_fn_nested_module::{{closure}}::hbc865df0c023e5d9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1423:30
[INFO] [stdout]   24:     0x56274d1bc156 - core::ops::function::FnOnce::call_once::h8b73b878b0b3f489
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_fn_with_cfg_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 611
[INFO] [stdout] thread 'test::module::generate_tests::one_fn_with_cfg_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { # [cfg (not (feature = \"no_float\"))] # [allow (clippy :: needless_pass_by_value)] pub mod it_is { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"increment\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < FLOAT > ()] , increment_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { if flatten { { # [cfg (not (feature = \"no_float\"))] self :: it_is :: rhai_generate_into_module (m , flatten) ; } } else { { # [cfg (not (feature = \"no_float\"))] m . set_sub_module (\"it_is\" , self :: it_is :: rhai_module_generate ()) ; } } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { # [cfg (not (feature = \"no_float\"))] # [allow (clippy :: needless_pass_by_value)] pub mod it_is { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"increment\" , FnNamespace :: Internal , FnAccess :: Public , Some (increment_token :: PARAM_NAMES) , & [TypeId :: of :: < FLOAT > ()] , increment_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { if flatten { { # [cfg (not (feature = \"no_float\"))] self :: it_is :: rhai_generate_into_module (m , flatten) ; } } else { { # [cfg (not (feature = \"no_float\"))] m . set_sub_module (\"it_is\" , self :: it_is :: rhai_module_generate ()) ; } } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d137aff - rhai_codegen::test::module::generate_tests::one_fn_with_cfg_module::hfa27daae09d3f33e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1595:9
[INFO] [stdout]   23:     0x56274d131cf7 - rhai_codegen::test::module::generate_tests::one_fn_with_cfg_module::{{closure}}::h7719ad467741d8fd
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1507:32
[INFO] [stdout]   24:     0x56274d1bc796 - core::ops::function::FnOnce::call_once::hda7c6a70f9037d7c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_getter_and_rename_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 505
[INFO] [stdout] thread 'test::module::generate_tests::one_getter_and_rename_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn int_foo (x : & mut u64) -> u64 { (* x) * (* x) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"square\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; m . set_fn (\"get$square\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn int_foo (x : & mut u64) -> u64 { (* x) * (* x) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"square\" , FnNamespace :: Internal , FnAccess :: Public , Some (int_foo_token :: PARAM_NAMES) , & [TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; m . set_fn (\"get$square\" , FnNamespace :: Global , FnAccess :: Public , Some (int_foo_token :: PARAM_NAMES) , & [TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d140739 - rhai_codegen::test::module::generate_tests::one_getter_and_rename_fn_module::h72a5cef7471189fd
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1720:9
[INFO] [stdout]   23:     0x56274d13beb7 - rhai_codegen::test::module::generate_tests::one_getter_and_rename_fn_module::{{closure}}::h46d20adb71980cb4
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1660:41
[INFO] [stdout]   24:     0x56274d1bc7d6 - core::ops::function::FnOnce::call_once::hdbf7f9403f85da73
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_getter_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 507
[INFO] [stdout] thread 'test::module::generate_tests::one_getter_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn int_foo (x : & mut u64) -> u64 { (* x) * (* x) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get$square\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn int_foo (x : & mut u64) -> u64 { (* x) * (* x) } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get$square\" , FnNamespace :: Global , FnAccess :: Public , Some (int_foo_token :: PARAM_NAMES) , & [TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d13be3c - rhai_codegen::test::module::generate_tests::one_getter_fn_module::h32b9207cf4639b69
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1656:9
[INFO] [stdout]   23:     0x56274d137b77 - rhai_codegen::test::module::generate_tests::one_getter_fn_module::{{closure}}::h967a90e40f6a3452
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1599:30
[INFO] [stdout]   24:     0x56274d1bb9f6 - core::ops::function::FnOnce::call_once::h189d9c59b5788e5b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                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 532
[INFO] [stdout] thread 'test::module::generate_tests::one_index_getter_and_rename_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] , get_by_index_token () . into ()) ; m . set_fn (\"index$get$\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] , get_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get\" , FnNamespace :: Internal , FnAccess :: Public , Some (get_by_index_token :: PARAM_NAMES) , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] , get_by_index_token () . into ()) ; m . set_fn (\"index$get$\" , FnNamespace :: Global , FnAccess :: Public , Some (get_by_index_token :: PARAM_NAMES) , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] , get_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d158391 - rhai_codegen::test::module::generate_tests::one_index_getter_and_rename_fn_module::h793ea4171a613e8f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:2044:9
[INFO] [stdout]   23:     0x56274d153577 - rhai_codegen::test::module::generate_tests::one_index_getter_and_rename_fn_module::{{closure}}::h4168ae4af8d69aa1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1983:47
[INFO] [stdout]   24:     0x56274d1bc2c6 - core::ops::function::FnOnce::call_once::h9da39b5c68c068e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_mut_ref_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 513
[INFO] [stdout] thread 'test::module::generate_tests::one_mut_ref_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod ref_fn { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"increment\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < FLOAT > ()] , increment_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod ref_fn { pub fn increment (x : & mut FLOAT) { * x += 1.0 as FLOAT ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"increment\" , FnNamespace :: Internal , FnAccess :: Public , Some (increment_token :: PARAM_NAMES) , & [TypeId :: of :: < FLOAT > ()] , increment_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d12c6f1 - rhai_codegen::test::module::generate_tests::one_mut_ref_fn_module::h678ab3569b2faea0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1419:9
[INFO] [stdout]   23:     0x56274d1287c7 - rhai_codegen::test::module::generate_tests::one_mut_ref_fn_module::{{closure}}::h6c33560f091cf020
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1363:31
[INFO] [stdout]   24:     0x56274d1bb886 - core::ops::function::FnOnce::call_once::h034458f04817d761
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_index_getter_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 537
[INFO] [stdout] thread 'test::module::generate_tests::one_index_getter_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"index$get$\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] , get_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"index$get$\" , FnNamespace :: Global , FnAccess :: Public , Some (get_by_index_token :: PARAM_NAMES) , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] , get_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d14e37a - rhai_codegen::test::module::generate_tests::one_index_getter_fn_module::he683798809c4fd56
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1909:9
[INFO] [stdout]   23:     0x56274d149c17 - rhai_codegen::test::module::generate_tests::one_index_getter_fn_module::{{closure}}::he52528fb1c5f90c4
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1851:36
[INFO] [stdout]   24:     0x56274d1bb8f6 - core::ops::function::FnOnce::call_once::h09f0cd95abc96e4d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                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 589
[INFO] [stdout] thread 'test::module::generate_tests::one_index_getter_fn_with_cfg_attr_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { # [cfg (hello)] m . set_fn (\"index$get$\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] , get_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { # [cfg (hello)] m . set_fn (\"index$get$\" , FnNamespace :: Global , FnAccess :: Public , Some (get_by_index_token :: PARAM_NAMES) , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > ()] , get_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d153508 - rhai_codegen::test::module::generate_tests::one_index_getter_fn_with_cfg_attr_module::ha52e1cd0aeb36d38
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1979:9
[INFO] [stdout]   23:     0x56274d14e3e7 - rhai_codegen::test::module::generate_tests::one_index_getter_fn_with_cfg_attr_module::{{closure}}::hb12abd5a445f3c58
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1913:50
[INFO] [stdout]   24:     0x56274d1bbf36 - core::ops::function::FnOnce::call_once::h67140bcbbd3b46c5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_index_setter_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 558
[INFO] [stdout] thread 'test::module::generate_tests::one_index_setter_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"index$set$\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > () , TypeId :: of :: < FLOAT > ()] , set_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"index$set$\" , FnNamespace :: Global , FnAccess :: Public , Some (set_by_index_token :: PARAM_NAMES) , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > () , TypeId :: of :: < FLOAT > ()] , set_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d15d2a8 - rhai_codegen::test::module::generate_tests::one_index_setter_fn_module::h0b62e88d9b7b8b8f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:2107:9
[INFO] [stdout]   23:     0x56274d158407 - rhai_codegen::test::module::generate_tests::one_index_setter_fn_module::{{closure}}::h4b18710096bea146
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:2048:36
[INFO] [stdout]   24:     0x56274d1bc4a6 - core::ops::function::FnOnce::call_once::hb8c9192f1b6e1e83
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                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 553
[INFO] [stdout] thread 'test::module::generate_tests::one_index_setter_and_rename_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"set\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > () , TypeId :: of :: < FLOAT > ()] , set_by_index_token () . into ()) ; m . set_fn (\"index$set$\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > () , TypeId :: of :: < FLOAT > ()] , set_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"set\" , FnNamespace :: Internal , FnAccess :: Public , Some (set_by_index_token :: PARAM_NAMES) , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > () , TypeId :: of :: < FLOAT > ()] , set_by_index_token () . into ()) ; m . set_fn (\"index$set$\" , FnNamespace :: Global , FnAccess :: Public , Some (set_by_index_token :: PARAM_NAMES) , & [TypeId :: of :: < MyCollection > () , TypeId :: of :: < u64 > () , TypeId :: of :: < FLOAT > ()] , set_by_index_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d162969 - rhai_codegen::test::module::generate_tests::one_index_setter_and_rename_fn_module::h6152906feb21e130
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:2173:9
[INFO] [stdout]   23:     0x56274d15d317 - rhai_codegen::test::module::generate_tests::one_index_setter_and_rename_fn_module::{{closure}}::hed240a9ae9cbc528
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:2111:47
[INFO] [stdout]   24:     0x56274d1bc856 - core::ops::function::FnOnce::call_once::hde2cfe6e48545cd7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_setter_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 509
[INFO] [stdout] thread 'test::module::generate_tests::one_setter_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn int_foo (x : & mut u64 , y : u64) { * x = y * y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"set$squared\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < u64 > () , TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn int_foo (x : & mut u64 , y : u64) { * x = y * y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"set$squared\" , FnNamespace :: Global , FnAccess :: Public , Some (int_foo_token :: PARAM_NAMES) , & [TypeId :: of :: < u64 > () , TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d144e10 - rhai_codegen::test::module::generate_tests::one_setter_fn_module::hc2fa13a924bed6ca
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1782:9
[INFO] [stdout]   23:     0x56274d1407a7 - rhai_codegen::test::module::generate_tests::one_setter_fn_module::{{closure}}::h3556fa980a2c6978
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1724:30
[INFO] [stdout]   24:     0x56274d1bc066 - core::ops::function::FnOnce::call_once::h7d2c852f9e8a989a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_skipped_sub_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 610
[INFO] [stdout] thread 'test::module::generate_tests::one_skipped_sub_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn get_mystic_number () -> INT { 42 } # [allow (clippy :: needless_pass_by_value)] pub mod inner_secrets { pub const SECRET_NUMBER : INT = 86 ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get_mystic_number\" , FnNamespace :: Internal , FnAccess :: Public , None , & [] , get_mystic_number_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn get_mystic_number () -> INT { 42 } # [allow (clippy :: needless_pass_by_value)] pub mod inner_secrets { pub const SECRET_NUMBER : INT = 86 ; } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"get_mystic_number\" , FnNamespace :: Internal , FnAccess :: Public , Some (get_mystic_number_token :: PARAM_NAMES) , & [] , get_mystic_number_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d11add1 - rhai_codegen::test::module::generate_tests::one_skipped_sub_module::hf32f9c215ffb147e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1143:9
[INFO] [stdout]   23:     0x56274d117037 - rhai_codegen::test::module::generate_tests::one_skipped_sub_module::{{closure}}::h37ad6374f81bdc32
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1080:32
[INFO] [stdout]   24:     0x56274d1bcad6 - core::ops::function::FnOnce::call_once::hf66853c3c7de0871
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_str_arg_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 497
[INFO] [stdout] thread 'test::module::generate_tests::one_str_arg_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod str_fn { pub fn print_out_to (x : & str) { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"print_out_to\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < ImmutableString > ()] , print_out_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod str_fn { pub fn print_out_to (x : & str) { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"print_out_to\" , FnNamespace :: Internal , FnAccess :: Public , Some (print_out_to_token :: PARAM_NAMES) , & [TypeId :: of :: < ImmutableString > ()] , print_out_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout]   22:     0x56274d12016c - rhai_codegen::test::module::generate_tests::one_str_arg_fn_module::h0a6118213121c42d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1237:9
[INFO] [stdout]   23:     0x56274d11c2e7 - rhai_codegen::test::module::generate_tests::one_str_arg_fn_module::{{closure}}::h8d340b12f2a1acb8
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1181:31
[INFO] [stdout]   24:     0x56274d1bc816 - core::ops::function::FnOnce::call_once::hdd35102ad089fd20
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_single_arg_global_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 503
[INFO] [stdout] thread 'test::module::generate_tests::one_single_arg_global_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_global_fn { pub fn add_one_to (x : INT) -> INT { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add_one_to\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < INT > ()] , add_one_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_global_fn { pub fn add_one_to (x : INT) -> INT { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add_one_to\" , FnNamespace :: Global , FnAccess :: Public , Some (add_one_to_token :: PARAM_NAMES) , & [TypeId :: of :: < INT > ()] , add_one_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d0f7d2e - rhai_codegen::test::module::generate_tests::one_single_arg_global_fn_module::hfa6c6f33417424fa
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:566:9
[INFO] [stdout]   23:     0x56274d0f3d37 - rhai_codegen::test::module::generate_tests::one_single_arg_global_fn_module::{{closure}}::hb5f2efce705f55ca
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:509:41
[INFO] [stdout]   24:     0x56274d1bba36 - core::ops::function::FnOnce::call_once::h1c0f01c7d061512d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_string_arg_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 498
[INFO] [stdout] thread 'test::module::generate_tests::one_string_arg_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod str_fn { pub fn print_out_to (x : String) { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"print_out_to\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < ImmutableString > ()] , print_out_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod str_fn { pub fn print_out_to (x : String) { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"print_out_to\" , FnNamespace :: Internal , FnAccess :: Public , Some (print_out_to_token :: PARAM_NAMES) , & [TypeId :: of :: < ImmutableString > ()] , print_out_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d124033 - rhai_codegen::test::module::generate_tests::one_string_arg_fn_module::hafa45ce68eaaf258
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1297:9
[INFO] [stdout]   23:     0x56274d1201e7 - rhai_codegen::test::module::generate_tests::one_string_arg_fn_module::{{closure}}::h43dc39813572d7ce
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1241:34
[INFO] [stdout]   24:     0x56274d1bbdc6 - core::ops::function::FnOnce::call_once::h58950ed9049167cc
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_single_arg_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 498
[INFO] [stdout] thread 'test::module::generate_tests::one_single_arg_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn add_one_to (x : INT) -> INT { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add_one_to\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < INT > ()] , add_one_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn add_one_to (x : INT) -> INT { x + 1 } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add_one_to\" , FnNamespace :: Internal , FnAccess :: Public , Some (add_one_to_token :: PARAM_NAMES) , & [TypeId :: of :: < INT > ()] , add_one_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d0fbc3f - rhai_codegen::test::module::generate_tests::one_single_arg_fn_module::ha5d33bf9441bad31
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:626:9
[INFO] [stdout]   23:     0x56274d0f7da7 - rhai_codegen::test::module::generate_tests::one_single_arg_fn_module::{{closure}}::h6980503f335bd4e8
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:570:34
[INFO] [stdout]   24:     0x56274d1bbe36 - core::ops::function::FnOnce::call_once::h5a8bdd185e7902f0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::one_setter_and_rename_fn_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 506
[INFO] [stdout] thread 'test::module::generate_tests::one_setter_and_rename_fn_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn int_foo (x : & mut u64 , y : u64) { * x = y * y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"set_sq\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < u64 > () , TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; m . set_fn (\"set$squared\" , FnNamespace :: Global , FnAccess :: Public , None , & [TypeId :: of :: < u64 > () , TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] pub mod one_fn { pub fn int_foo (x : & mut u64 , y : u64) { * x = y * y } # [allow (unused_imports)] use super :: * ; # [doc (hidden)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"set_sq\" , FnNamespace :: Internal , FnAccess :: Public , Some (int_foo_token :: PARAM_NAMES) , & [TypeId :: of :: < u64 > () , TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; m . set_fn (\"set$squared\" , FnNamespace :: Global , FnAccess :: Public , Some (int_foo_token :: PARAM_NAMES) , & [TypeId :: of :: < u64 > () , TypeId :: of :: < u64 > ()] , int_foo_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d149ba7 - rhai_codegen::test::module::generate_tests::one_setter_and_rename_fn_module::haa14f3ce0974b5e4
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1847:9
[INFO] [stdout]   23:     0x56274d144e87 - rhai_codegen::test::module::generate_tests::one_setter_and_rename_fn_module::{{closure}}::he6a8d527cebd6048
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:1786:41
[INFO] [stdout]   24:     0x56274d1bc5a6 - core::ops::function::FnOnce::call_once::hd08f79ea33c35a7e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- test::module::generate_tests::two_fn_overload_module stdout ----
[INFO] [stdout] actual != expected, diverge at char 547
[INFO] [stdout] thread 'test::module::generate_tests::two_fn_overload_module' panicked at src/test/module.rs:318:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add_n\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < INT > ()] , add_one_to_token () . into ()) ; m . set_fn (\"add_n\" , FnNamespace :: Internal , FnAccess :: Public , None , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_n_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout]  right: "# [allow (clippy :: needless_pass_by_value)] 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)] pub fn rhai_module_generate () -> Module { let mut m = Module :: new () ; rhai_generate_into_module (& mut m , false) ; m . build_index () ; m } # [allow (unused_mut)] # [doc (hidden)] pub fn rhai_generate_into_module (m : & mut Module , flatten : bool) { m . set_fn (\"add_n\" , FnNamespace :: Internal , FnAccess :: Public , Some (add_one_to_token :: PARAM_NAMES) , & [TypeId :: of :: < INT > ()] , add_one_to_token () . into ()) ; m . set_fn (\"add_n\" , FnNamespace :: Internal , FnAccess :: Public , Some (add_n_to_token :: PARAM_NAMES) , & [TypeId :: of :: < INT > () , TypeId :: of :: < INT > ()] , add_n_to_token () . into ()) ; if flatten { } else { } } # [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 PluginFunction 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 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 PluginFunction 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 has_context (& self) -> bool { false } } }"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x7f90ddf676f6 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x7f90ddf676f6 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x7f90ddf676f6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x7f90ddfb9f40 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x7f90ddfb9f40 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x7f90ddf5b4af - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x7f90ddf674d4 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x7f90ddf674d4 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x7f90ddf6a267 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x7f90ddf69f4d - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x7f90de036cc7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x7f90de036cc7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x7f90ddf6a9b6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x7f90ddf6a9b6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x7f90ddf6a702 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x7f90ddf67bf6 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x7f90ddf6a460 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x7f90ddfb6645 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x7f90ddfb6bdb - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x56274d1d063e - core::panicking::assert_failed::he25f6649302bf1eb
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x56274d0ea1ab - rhai_codegen::test::module::generate_tests::assert_streams_eq::hd7cbeee28273b68a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:318:9
[INFO] [stdout]   22:     0x56274d103032 - rhai_codegen::test::module::generate_tests::two_fn_overload_module::hfe33fa33f7199050
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:721:9
[INFO] [stdout]   23:     0x56274d0fbcb7 - rhai_codegen::test::module::generate_tests::two_fn_overload_module::{{closure}}::hd1326326ecb66b2b
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/module.rs:630:32
[INFO] [stdout]   24:     0x56274d1bc566 - core::ops::function::FnOnce::call_once::hc17e034efe95b4c9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x7f90de03ceff - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x7f90de03ceff - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   27:     0x7f90de03bc81 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   28:     0x7f90de03bc81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   29:     0x7f90de03bc81 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   30:     0x7f90de03bc81 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   31:     0x7f90de03bc81 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   32:     0x7f90de03bc81 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   33:     0x7f90de03bc81 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   34:     0x7f90ddffea66 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   35:     0x7f90ddffea66 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   36:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   37:     0x7f90de003ac7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   38:     0x7f90de003ac7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   39:     0x7f90de003ac7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   40:     0x7f90de003ac7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   41:     0x7f90de003ac7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   42:     0x7f90de003ac7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x7f90ddf748e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   45:     0x7f90ddf748e5 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   46:     0x7f90ddce0ac3 - <unknown>
[INFO] [stdout]   47:     0x7f90ddd71bf4 - __clone
[INFO] [stdout]   48:                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. 34 passed; 32 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "9c729aa5fa22becf1ec3c98d5b8199481e2ac2976fa2cdc12d0017e20d9a1b74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c729aa5fa22becf1ec3c98d5b8199481e2ac2976fa2cdc12d0017e20d9a1b74", kill_on_drop: false }`
[INFO] [stdout] 9c729aa5fa22becf1ec3c98d5b8199481e2ac2976fa2cdc12d0017e20d9a1b74
