[INFO] fetching crate rhai_codegen 0.2.0... [INFO] checking rhai_codegen-0.2.0 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate rhai_codegen 0.2.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate rhai_codegen 0.2.0 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rhai_codegen 0.2.0 [INFO] finished tweaking crates.io crate rhai_codegen 0.2.0 [INFO] tweaked toml for crates.io crate rhai_codegen 0.2.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 800efd5541b19817561dfadd36f0cf3bf4266aeb5be9546f5c96e1c6a2051e00 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "800efd5541b19817561dfadd36f0cf3bf4266aeb5be9546f5c96e1c6a2051e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "800efd5541b19817561dfadd36f0cf3bf4266aeb5be9546f5c96e1c6a2051e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "800efd5541b19817561dfadd36f0cf3bf4266aeb5be9546f5c96e1c6a2051e00", kill_on_drop: false }` [INFO] [stdout] 800efd5541b19817561dfadd36f0cf3bf4266aeb5be9546f5c96e1c6a2051e00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 16dc6c6a2575f90a5eeea524b604f0e7ceca7a0a5b492aef636091028e63b5df [INFO] running `Command { std: "docker" "start" "-a" "16dc6c6a2575f90a5eeea524b604f0e7ceca7a0a5b492aef636091028e63b5df", kill_on_drop: false }` [INFO] [stderr] Compiling trybuild v1.0.35 [INFO] [stderr] Compiling rhai_codegen v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml v0.5.7 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_nested.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rhai::module_resolvers::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_nested.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_nested.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_nested.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_nested.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_nested.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rhai::module_resolvers::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_nested.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | use rhai::{FLOAT, INT}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_nested.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | use rhai::{FLOAT, INT}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_nested.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | use rhai::{FLOAT, INT}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rhai::module_resolvers::*`, `rhai::plugin::*`, `rhai` [INFO] [stdout] --> tests/test_functions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rhai::module_resolvers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use rhai::plugin::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use rhai::{Engine, EvalAltResult, Module, RegisterFn, FLOAT}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_nested.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | use rhai::{FLOAT, INT}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_functions.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use rhai::FLOAT; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_functions.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use rhai::FLOAT; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_functions.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use rhai::INT; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_functions.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | use rhai::FLOAT; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | rhai::set_exported_fn!(m, "euclidean_distance", raw_fn::distance_function); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | rhai::set_exported_fn!(m, "add_in_place", raw_fn_mut::add_in_place); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_nested.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rhai::{Array, Engine, EvalAltResult, RegisterFn, FLOAT, INT}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | rhai::set_exported_fn!(m, "write_out_str", raw_fn_str::write_out_str); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | rhai::set_exported_fn!(m, "new_message", mut_opaque_ref::new_message); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | rhai::set_exported_fn!(m, "new_os_message", mut_opaque_ref::new_os_message); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | rhai::set_exported_fn!(m, "write_out_message", mut_opaque_ref::write_out_message); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_nested.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use rhai::FLOAT; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | rhai::set_exported_fn!(m, "euclidean_distance", raw_returning_fn::distance_function); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_nested.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | use rhai::FLOAT; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_nested.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let m = rhai::exported_module!(crate::one_fn_module_nested_attr::advanced_math); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rhai::module_resolvers::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | use rhai::plugin::*; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_nested.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let m = rhai::exported_module!(crate::one_fn_submodule_nested_attr::advanced_math); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_nested.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let m = rhai::exported_module!(crate::export_nested_by_prefix::my_adds); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_fn` in this scope [INFO] [stdout] --> tests/test_functions.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[export_fn] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_fn` in this scope [INFO] [stdout] --> tests/test_functions.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[export_fn] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_fn` in this scope [INFO] [stdout] --> tests/test_functions.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[export_fn] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_nested.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_fn` in this scope [INFO] [stdout] --> tests/test_functions.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | #[export_fn] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_fn` in this scope [INFO] [stdout] --> tests/test_functions.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | #[export_fn] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_fn` in this scope [INFO] [stdout] --> tests/test_functions.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | #[export_fn] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_fn` in this scope [INFO] [stdout] --> tests/test_functions.rs:163:7 [INFO] [stdout] | [INFO] [stdout] 163 | #[export_fn(return_raw)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_fn` in this scope [INFO] [stdout] --> tests/test_nested.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[rhai_fn(return_raw)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_nested.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_mod` in this scope [INFO] [stdout] --> tests/test_nested.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | #[rhai_mod(name = "constants")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_fn` in this scope [INFO] [stdout] --> tests/test_nested.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[rhai_fn(return_raw)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_nested.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | #[export_module(export_prefix = "foo_")] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticModuleResolver` [INFO] [stdout] --> tests/test_functions.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let mut r = StaticModuleResolver::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `StaticModuleResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticModuleResolver` [INFO] [stdout] --> tests/test_functions.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | let mut r = StaticModuleResolver::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `StaticModuleResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_mod` in this scope [INFO] [stdout] --> tests/test_nested.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | #[rhai_mod(name = "foo_third_adders")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticModuleResolver` [INFO] [stdout] --> tests/test_functions.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let mut r = StaticModuleResolver::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `StaticModuleResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticModuleResolver` [INFO] [stdout] --> tests/test_functions.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | let mut r = StaticModuleResolver::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `StaticModuleResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | ) -> Result> { [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dynamic` [INFO] [stdout] --> tests/test_nested.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | Ok(Dynamic::from(42.0 as FLOAT)) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Dynamic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 169 | ) -> Result> { [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dynamic` [INFO] [stdout] --> tests/test_functions.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | Ok(Dynamic::from( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Dynamic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_modules.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use rhai::FLOAT; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_modules.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | use rhai::FLOAT; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_modules.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | use rhai::{FLOAT, INT}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticModuleResolver` [INFO] [stdout] --> tests/test_functions.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | let mut r = StaticModuleResolver::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `StaticModuleResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_modules.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | use rhai::{FLOAT, INT}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticModuleResolver` [INFO] [stdout] --> tests/test_nested.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let mut r = StaticModuleResolver::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `StaticModuleResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_modules.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | use rhai::{FLOAT, INT}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_modules.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | use rhai::{FLOAT, INT}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_modules.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rhai::{Array, Engine, EvalAltResult, RegisterFn, FLOAT, INT}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dynamic` [INFO] [stdout] --> tests/test_nested.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(Dynamic::from(42.0 as FLOAT)) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Dynamic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rhai`, `super::StatusMessage`, `super::INT` [INFO] [stdout] --> tests/test_modules.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | use rhai::INT; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] ... [INFO] [stdout] 136 | use super::{StatusMessage, INT}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let m = rhai::exported_module!(crate::empty_module::EmptyModule); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let m = rhai::exported_module!(crate::one_fn_module::advanced_math); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let m = rhai::exported_module!(crate::one_fn_and_const_module::advanced_math); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let m = rhai::exported_module!(crate::raw_fn_str_module::host_io); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let m = rhai::exported_module!(crate::mut_opaque_ref_module::host_msg); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let m = rhai::exported_module!(crate::duplicate_fn_rename::my_adds); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let m = rhai::exported_module!(crate::multiple_fn_rename::my_adds); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | let m = rhai::exported_module!(crate::export_by_prefix::my_adds); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | let m = rhai::exported_module!(crate::export_all::my_adds); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticModuleResolver` [INFO] [stdout] --> tests/test_nested.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let mut r = StaticModuleResolver::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `StaticModuleResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticModuleResolver` [INFO] [stdout] --> tests/test_nested.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | let mut r = StaticModuleResolver::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `StaticModuleResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_nested.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | && p == rhai::Position::new(3, 41))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_nested.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | && p == rhai::Position::new(3, 41))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_nested.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | && p == rhai::Position::new(3, 42))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_nested.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | && p == rhai::Position::new(3, 42))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dynamic` in this scope [INFO] [stdout] --> tests/test_nested.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_mystic_number() -> Result> { [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvalAltResult` in this scope [INFO] [stdout] --> tests/test_nested.rs:13:59 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_mystic_number() -> Result> { [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dynamic` in this scope [INFO] [stdout] --> tests/test_nested.rs:48:50 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_mystic_number() -> Result> { [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvalAltResult` in this scope [INFO] [stdout] --> tests/test_nested.rs:48:63 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_mystic_number() -> Result> { [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_modules.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_modules.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_modules.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_modules.rs:95:7 [INFO] [stdout] | [INFO] [stdout] 95 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_modules.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_modules.rs:186:7 [INFO] [stdout] | [INFO] [stdout] 186 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_fn` in this scope [INFO] [stdout] --> tests/test_modules.rs:190:11 [INFO] [stdout] | [INFO] [stdout] 190 | #[rhai_fn(name = "add")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_fn` in this scope [INFO] [stdout] --> tests/test_modules.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | #[rhai_fn(name = "add")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_functions.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | os_code: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_modules.rs:227:7 [INFO] [stdout] | [INFO] [stdout] 227 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_fn` in this scope [INFO] [stdout] --> tests/test_modules.rs:234:11 [INFO] [stdout] | [INFO] [stdout] 234 | #[rhai_fn(name = "add", name = "+", name = "add_together")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_fn` in this scope [INFO] [stdout] --> tests/test_modules.rs:239:11 [INFO] [stdout] | [INFO] [stdout] 239 | #[rhai_fn(name = "add", name = "+", name = "add_together")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_fn` in this scope [INFO] [stdout] --> tests/test_modules.rs:244:11 [INFO] [stdout] | [INFO] [stdout] 244 | #[rhai_fn(name = "prop", get = "prop")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_fn` in this scope [INFO] [stdout] --> tests/test_modules.rs:249:11 [INFO] [stdout] | [INFO] [stdout] 249 | #[rhai_fn(name = "idx", index_get)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_modules.rs:294:7 [INFO] [stdout] | [INFO] [stdout] 294 | #[export_module(export_prefix = "foo_")] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_fn` in this scope [INFO] [stdout] --> tests/test_modules.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 298 | #[rhai_fn(name = "foo_add_f")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_fn` in this scope [INFO] [stdout] --> tests/test_modules.rs:303:11 [INFO] [stdout] | [INFO] [stdout] 303 | #[rhai_fn(name = "bar_add_i")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_fn` in this scope [INFO] [stdout] --> tests/test_modules.rs:308:11 [INFO] [stdout] | [INFO] [stdout] 308 | #[rhai_fn(name = "foo_add_float2")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_modules.rs:376:7 [INFO] [stdout] | [INFO] [stdout] 376 | #[export_module(export_all)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_fn` in this scope [INFO] [stdout] --> tests/test_modules.rs:380:11 [INFO] [stdout] | [INFO] [stdout] 380 | #[rhai_fn(name = "foo_add_f")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_fn` in this scope [INFO] [stdout] --> tests/test_modules.rs:385:11 [INFO] [stdout] | [INFO] [stdout] 385 | #[rhai_fn(name = "foo_add_i")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_fn` in this scope [INFO] [stdout] --> tests/test_modules.rs:390:11 [INFO] [stdout] | [INFO] [stdout] 390 | #[rhai_fn(skip)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_fn` in this scope [INFO] [stdout] --> tests/test_modules.rs:403:11 [INFO] [stdout] | [INFO] [stdout] 403 | #[rhai_fn(skip)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticModuleResolver` [INFO] [stdout] --> tests/test_modules.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let mut r = StaticModuleResolver::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `StaticModuleResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticModuleResolver` [INFO] [stdout] --> tests/test_modules.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let mut r = StaticModuleResolver::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `StaticModuleResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rhai_codegen` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticModuleResolver` [INFO] [stdout] --> tests/test_modules.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | let mut r = StaticModuleResolver::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `StaticModuleResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticModuleResolver` [INFO] [stdout] --> tests/test_modules.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let mut r = StaticModuleResolver::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `StaticModuleResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticModuleResolver` [INFO] [stdout] --> tests/test_modules.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | let mut r = StaticModuleResolver::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `StaticModuleResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticModuleResolver` [INFO] [stdout] --> tests/test_modules.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | let mut r = StaticModuleResolver::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `StaticModuleResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticModuleResolver` [INFO] [stdout] --> tests/test_modules.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | let mut r = StaticModuleResolver::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `StaticModuleResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:359:21 [INFO] [stdout] | [INFO] [stdout] 359 | && p == rhai::Position::new(3, 23))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:369:21 [INFO] [stdout] | [INFO] [stdout] 369 | && p == rhai::Position::new(3, 23))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StaticModuleResolver` [INFO] [stdout] --> tests/test_modules.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | let mut r = StaticModuleResolver::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `StaticModuleResolver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:442:21 [INFO] [stdout] | [INFO] [stdout] 442 | && p == rhai::Position::new(3, 23))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 36 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/test_modules.rs:141:26 [INFO] [stdout] | [INFO] [stdout] 141 | os_code: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 61 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "16dc6c6a2575f90a5eeea524b604f0e7ceca7a0a5b492aef636091028e63b5df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16dc6c6a2575f90a5eeea524b604f0e7ceca7a0a5b492aef636091028e63b5df", kill_on_drop: false }` [INFO] [stdout] 16dc6c6a2575f90a5eeea524b604f0e7ceca7a0a5b492aef636091028e63b5df