[INFO] fetching crate spo-rhai_codegen 2.0.0... [INFO] checking spo-rhai_codegen-2.0.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate spo-rhai_codegen 2.0.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate spo-rhai_codegen 2.0.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate spo-rhai_codegen 2.0.0 [INFO] finished tweaking crates.io crate spo-rhai_codegen 2.0.0 [INFO] tweaked toml for crates.io crate spo-rhai_codegen 2.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 32 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7323780c3858023d3ff1ed28bb51222dca85cd9fc9f9a97fda7cf7fa4204acc7 [INFO] running `Command { std: "docker" "start" "-a" "7323780c3858023d3ff1ed28bb51222dca85cd9fc9f9a97fda7cf7fa4204acc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7323780c3858023d3ff1ed28bb51222dca85cd9fc9f9a97fda7cf7fa4204acc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7323780c3858023d3ff1ed28bb51222dca85cd9fc9f9a97fda7cf7fa4204acc7", kill_on_drop: false }` [INFO] [stdout] 7323780c3858023d3ff1ed28bb51222dca85cd9fc9f9a97fda7cf7fa4204acc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1ea0c570ab3649efc84410b73c70b2d8685b6a720268eb42ae3a121cbe56616 [INFO] running `Command { std: "docker" "start" "-a" "a1ea0c570ab3649efc84410b73c70b2d8685b6a720268eb42ae3a121cbe56616", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking spo-rhai_codegen v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `no_std` [INFO] [stdout] --> src/function.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(no_std)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_std` [INFO] [stdout] --> src/function.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(no_std))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_std` [INFO] [stdout] --> src/module.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(no_std)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_std` [INFO] [stdout] --> src/module.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(no_std))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `typ` and `expr` are never read [INFO] [stdout] --> src/rhai_module.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ExportedConst { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 15 | pub name: String, [INFO] [stdout] 16 | pub typ: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | pub expr: syn::Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExportedConst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stdout] warning: unexpected `cfg` condition name: `no_std` [INFO] [stdout] --> src/function.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(no_std)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_std` [INFO] [stdout] --> src/function.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(no_std))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_std` [INFO] [stdout] --> src/module.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(no_std)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_std` [INFO] [stdout] --> src/module.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(no_std))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `typ` and `expr` are never read [INFO] [stdout] --> src/rhai_module.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ExportedConst { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 15 | pub name: String, [INFO] [stdout] 16 | pub typ: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | pub expr: syn::Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExportedConst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | 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:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | 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:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | 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:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | 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:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | 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:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | 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:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | 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:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | 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:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | 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_modules.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rhai::{Array, Engine, EvalAltResult, 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:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | 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:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | 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:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | 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:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | 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:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | 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:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | 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:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | use rhai::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_modules.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | 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 crate or module `rhai` [INFO] [stdout] --> tests/test_modules.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | 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:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | 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:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | 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:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | 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:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | 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:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | 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:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | 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: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_functions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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: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_functions.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | 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:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | 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:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | 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:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | 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_functions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rhai::{Engine, EvalAltResult, Module, 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:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | 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:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | 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:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | 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:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rhai::{Array, Engine, EvalAltResult, 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:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | 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:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | 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:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | 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 crate or module `rhai` [INFO] [stdout] --> tests/test_nested.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | 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:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | 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:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | 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_nested.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | 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[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_nested.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let m = rhai::exported_module!(crate::one_fn_sub_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_nested.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | 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[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_functions.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | 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:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | 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:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | 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:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | 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:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | 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:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | 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[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | 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:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | 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:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | 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:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | 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[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | 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: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_modules.rs:354:7 [INFO] [stdout] | [INFO] [stdout] 354 | #[export_module(export_all)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 352 + use spo_rhai_codegen::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:358:11 [INFO] [stdout] | [INFO] [stdout] 358 | #[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:363:11 [INFO] [stdout] | [INFO] [stdout] 363 | #[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:368:11 [INFO] [stdout] | [INFO] [stdout] 368 | #[rhai_fn(skip)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_fn` in this scope [INFO] [stdout] --> tests/test_modules.rs:381:11 [INFO] [stdout] | [INFO] [stdout] 381 | #[rhai_fn(skip)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rhai` [INFO] [stdout] --> tests/test_custom_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rhai::{CustomType, Engine, TypeBuilder, INT}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_modules.rs:274:7 [INFO] [stdout] | [INFO] [stdout] 274 | #[export_module(export_prefix = "foo_")] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 272 + use spo_rhai_codegen::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:278:11 [INFO] [stdout] | [INFO] [stdout] 278 | #[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:283:11 [INFO] [stdout] | [INFO] [stdout] 283 | #[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:288:11 [INFO] [stdout] | [INFO] [stdout] 288 | #[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:204:7 [INFO] [stdout] | [INFO] [stdout] 204 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 203 + use spo_rhai_codegen::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:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | #[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:216:11 [INFO] [stdout] | [INFO] [stdout] 216 | #[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:221:11 [INFO] [stdout] | [INFO] [stdout] 221 | #[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:226:11 [INFO] [stdout] | [INFO] [stdout] 226 | #[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:165:7 [INFO] [stdout] | [INFO] [stdout] 165 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 164 + use spo_rhai_codegen::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:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | #[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:174:11 [INFO] [stdout] | [INFO] [stdout] 174 | #[rhai_fn(name = "add")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_modules.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 104 + use spo_rhai_codegen::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:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[export_fn] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 5 + use spo_rhai_codegen::export_fn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_modules.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 80 + use spo_rhai_codegen::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:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[export_fn] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 32 + use spo_rhai_codegen::export_fn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_modules.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 46 + use spo_rhai_codegen::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:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 21 + use spo_rhai_codegen::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:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 4 + use spo_rhai_codegen::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:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[export_fn] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 61 + use spo_rhai_codegen::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:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | #[export_fn] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 85 + use spo_rhai_codegen::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:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | #[export_fn] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 85 + use spo_rhai_codegen::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:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[export_module(export_prefix = "foo_")] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 67 + use spo_rhai_codegen::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:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | #[rhai_mod(name = "foo_third_adders")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_fn` in this scope [INFO] [stdout] --> tests/test_functions.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | #[export_fn] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 85 + use spo_rhai_codegen::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:147:7 [INFO] [stdout] | [INFO] [stdout] 147 | #[export_fn(return_raw)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 144 + use spo_rhai_codegen::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:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 32 + use spo_rhai_codegen::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:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | #[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:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | #[rhai_fn(return_raw)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_type` in this scope [INFO] [stdout] --> tests/test_custom_type.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[rhai_type(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_type` in this scope [INFO] [stdout] --> tests/test_custom_type.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[rhai_type(name = "boo", readonly)] String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_type` in this scope [INFO] [stdout] --> tests/test_custom_type.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[rhai_type(name = "MyFoo", extra = Self::build_extra)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_module` in this scope [INFO] [stdout] --> tests/test_nested.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[export_module] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 4 + use spo_rhai_codegen::export_module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_fn` in this scope [INFO] [stdout] --> tests/test_nested.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[rhai_fn(return_raw)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvalAltResult` in this scope [INFO] [stdout] --> tests/test_nested.rs:12:57 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 12 | pub fn get_mystic_number() -> Result> { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvalAltResult` in this scope [INFO] [stdout] --> tests/test_nested.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | 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] 41 | pub fn get_mystic_number() -> Result> { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_type` in this scope [INFO] [stdout] --> tests/test_custom_type.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[rhai_type(skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_type` in this scope [INFO] [stdout] --> tests/test_custom_type.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[rhai_type(get = get_bar)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_type` in this scope [INFO] [stdout] --> tests/test_custom_type.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[rhai_type(name = "boo", readonly)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rhai_type` in this scope [INFO] [stdout] --> tests/test_custom_type.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[rhai_type(set = Self::set_qux)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 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] [stderr] error: could not compile `spo-rhai_codegen` (test "test_nested") due to 25 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition value: `no_float` [INFO] [stdout] --> tests/test_custom_type.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(not(feature = "no_float"))] // check other attributes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `metadata` [INFO] [stdout] = help: consider adding `no_float` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `no_float` [INFO] [stdout] --> tests/test_custom_type.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(not(feature = "no_float"))] // check other attributes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `metadata` [INFO] [stdout] = help: consider adding `no_float` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spo-rhai_codegen` (test "test_modules") due to 49 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_functions.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | ) -> Result> { [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:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | ) -> Result> { [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rhai` [INFO] [stdout] --> tests/test_custom_type.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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_custom_type.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | _dummy: rhai::FLOAT, [INFO] [stdout] | ^^^^ use of undeclared crate or module `rhai` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spo-rhai_codegen` (test "test_functions") due to 28 previous errors [INFO] [stderr] error: could not compile `spo-rhai_codegen` (test "test_custom_type") due to 11 previous errors; 2 warnings emitted [INFO] [stdout] warning: unexpected `cfg` condition name: `no_std` [INFO] [stdout] --> src/function.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(no_std)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_std` [INFO] [stdout] --> src/function.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(no_std))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_std` [INFO] [stdout] --> src/module.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(no_std)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_std` [INFO] [stdout] --> src/module.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(no_std))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `typ` is never read [INFO] [stdout] --> src/rhai_module.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ExportedConst { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 15 | pub name: String, [INFO] [stdout] 16 | pub typ: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExportedConst` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a1ea0c570ab3649efc84410b73c70b2d8685b6a720268eb42ae3a121cbe56616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1ea0c570ab3649efc84410b73c70b2d8685b6a720268eb42ae3a121cbe56616", kill_on_drop: false }` [INFO] [stdout] a1ea0c570ab3649efc84410b73c70b2d8685b6a720268eb42ae3a121cbe56616