[INFO] cloning repository https://github.com/ShivaBhattacharjee/Synthia [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ShivaBhattacharjee/Synthia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShivaBhattacharjee%2FSynthia", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShivaBhattacharjee%2FSynthia'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c92df593157341829a008aa945c0f47405eae54 [INFO] testing ShivaBhattacharjee/Synthia against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShivaBhattacharjee%2FSynthia" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/ShivaBhattacharjee/Synthia [INFO] finished tweaking git repo https://github.com/ShivaBhattacharjee/Synthia [INFO] tweaked toml for git repo https://github.com/ShivaBhattacharjee/Synthia written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ShivaBhattacharjee/Synthia on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ShivaBhattacharjee/Synthia already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chrono-tz-build v0.0.3 [INFO] [stderr] Downloaded pest_generator v2.7.1 [INFO] [stderr] Downloaded uncased v0.9.9 [INFO] [stderr] Downloaded pest_derive v2.7.1 [INFO] [stderr] Downloaded pest_meta v2.7.1 [INFO] [stderr] Downloaded openssl-sys v0.9.90 [INFO] [stderr] Downloaded serde v1.0.173 [INFO] [stderr] Downloaded pest v2.7.1 [INFO] [stderr] Downloaded aho-corasick v1.0.2 [INFO] [stderr] Downloaded openssl v0.10.55 [INFO] [stderr] Downloaded regex v1.9.1 [INFO] [stderr] Downloaded regex-automata v0.3.3 [INFO] [stderr] Downloaded chrono-tz v0.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2daf85d6aa8cc551354efa76ca0b9cb168bdd2b6952f438efdba5b094db70828 [INFO] running `Command { std: "docker" "start" "-a" "2daf85d6aa8cc551354efa76ca0b9cb168bdd2b6952f438efdba5b094db70828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2daf85d6aa8cc551354efa76ca0b9cb168bdd2b6952f438efdba5b094db70828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2daf85d6aa8cc551354efa76ca0b9cb168bdd2b6952f438efdba5b094db70828", kill_on_drop: false }` [INFO] [stdout] 2daf85d6aa8cc551354efa76ca0b9cb168bdd2b6952f438efdba5b094db70828 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99b59982408c1d551b309acce7a0a914515a5340d328d77c01fd20d65582bb49 [INFO] running `Command { std: "docker" "start" "-a" "99b59982408c1d551b309acce7a0a914515a5340d328d77c01fd20d65582bb49", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling serde v1.0.173 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.0.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling chrono-tz v0.6.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling pest v2.7.1 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling pest_meta v2.7.1 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling pest_generator v2.7.1 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling pest_derive v2.7.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling synthia v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/evaluation/object.rs:41:57 [INFO] [stdout] | [INFO] [stdout] 41 | (Object::Inbuilt(a), Object::Inbuilt(b)) => a == b, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 41 - (Object::Inbuilt(a), Object::Inbuilt(b)) => a == b, [INFO] [stdout] 41 + (Object::Inbuilt(a), Object::Inbuilt(b)) => std::ptr::fn_addr_eq(*a, *b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/evaluation/store.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter (&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter (&self) -> std::collections::hash_map::Iter<'_, String, Object> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.34s [INFO] running `Command { std: "docker" "inspect" "99b59982408c1d551b309acce7a0a914515a5340d328d77c01fd20d65582bb49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99b59982408c1d551b309acce7a0a914515a5340d328d77c01fd20d65582bb49", kill_on_drop: false }` [INFO] [stdout] 99b59982408c1d551b309acce7a0a914515a5340d328d77c01fd20d65582bb49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58d00e38743972f5d7c160c740463107c24453f0f32f10699cd51d4e486d0908 [INFO] running `Command { std: "docker" "start" "-a" "58d00e38743972f5d7c160c740463107c24453f0f32f10699cd51d4e486d0908", kill_on_drop: false }` [INFO] [stderr] Compiling synthia v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/evaluation/object.rs:41:57 [INFO] [stdout] | [INFO] [stdout] 41 | (Object::Inbuilt(a), Object::Inbuilt(b)) => a == b, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 41 - (Object::Inbuilt(a), Object::Inbuilt(b)) => a == b, [INFO] [stdout] 41 + (Object::Inbuilt(a), Object::Inbuilt(b)) => std::ptr::fn_addr_eq(*a, *b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/evaluation/store.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter (&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter (&self) -> std::collections::hash_map::Iter<'_, String, Object> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/evaluation/object.rs:41:57 [INFO] [stdout] | [INFO] [stdout] 41 | (Object::Inbuilt(a), Object::Inbuilt(b)) => a == b, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 41 - (Object::Inbuilt(a), Object::Inbuilt(b)) => a == b, [INFO] [stdout] 41 + (Object::Inbuilt(a), Object::Inbuilt(b)) => std::ptr::fn_addr_eq(*a, *b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.03s [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/evaluation/store.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter (&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter (&self) -> std::collections::hash_map::Iter<'_, String, Object> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "58d00e38743972f5d7c160c740463107c24453f0f32f10699cd51d4e486d0908", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58d00e38743972f5d7c160c740463107c24453f0f32f10699cd51d4e486d0908", kill_on_drop: false }` [INFO] [stdout] 58d00e38743972f5d7c160c740463107c24453f0f32f10699cd51d4e486d0908 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1fdb35d49c8eeee60848869cff0224af9de331c24388b769f4d8cf287a264885 [INFO] running `Command { std: "docker" "start" "-a" "1fdb35d49c8eeee60848869cff0224af9de331c24388b769f4d8cf287a264885", kill_on_drop: false }` [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/evaluation/object.rs:41:57 [INFO] [stderr] | [INFO] [stderr] 41 | (Object::Inbuilt(a), Object::Inbuilt(b)) => a == b, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stderr] | [INFO] [stderr] 41 - (Object::Inbuilt(a), Object::Inbuilt(b)) => a == b, [INFO] [stderr] 41 + (Object::Inbuilt(a), Object::Inbuilt(b)) => std::ptr::fn_addr_eq(*a, *b), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/evaluation/store.rs:63:18 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn iter (&self) -> std::collections::hash_map::Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 63 | pub fn iter (&self) -> std::collections::hash_map::Iter<'_, String, Object> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `synthia` (lib) generated 2 warnings (run `cargo fix --lib -p synthia` to apply 1 suggestion) [INFO] [stderr] warning: `synthia` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/synthia-0ff0fe0fc6c20d19) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/synthia-b044a94aae75257c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests synthia [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/evaluation/mod.rs - evaluation::Eval::is_truthy (line 43) ... FAILED [INFO] [stdout] test src/evaluation/mod.rs - evaluation::Eval::is_error (line 60) ... FAILED [INFO] [stdout] test src/evaluation/mod.rs - evaluation::Eval::eval_object_literal (line 592) ... FAILED [INFO] [stdout] test src/evaluation/mod.rs - evaluation::Eval::eval_statement (line 117) ... FAILED [INFO] [stdout] test src/evaluation/mod.rs - evaluation::Eval::eval_minus_prefix_expr (line 333) ... FAILED [INFO] [stdout] test src/evaluation/mod.rs - evaluation::Eval::eval (line 80) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/evaluation/mod.rs - evaluation::Eval::is_truthy (line 43) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crate::eval` [INFO] [stdout] --> src/evaluation/mod.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::eval::Eval; [INFO] [stdout] | ^^^^ could not find `eval` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/evaluation/mod.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 4 | let eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^ use of undeclared type `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefCell` [INFO] [stdout] --> src/evaluation/mod.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 4 | let eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `RefCell` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> src/evaluation/mod.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 4 | let eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::evaluation::store::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object` [INFO] [stdout] --> src/evaluation/mod.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 5 | let obj = Object::Boolean(true); [INFO] [stdout] | ^^^^^^ use of undeclared type `Object` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::evaluation::object::Object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_truthy` in this scope [INFO] [stdout] --> src/evaluation/mod.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(true, is_truthy(obj)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/evaluation/mod.rs - evaluation::Eval::is_error (line 60) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crate::eval` [INFO] [stdout] --> src/evaluation/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::eval::Eval; [INFO] [stdout] | ^^^^ could not find `eval` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/evaluation/mod.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 4 | let eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^ use of undeclared type `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefCell` [INFO] [stdout] --> src/evaluation/mod.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 4 | let eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `RefCell` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> src/evaluation/mod.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 4 | let eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::evaluation::store::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object` [INFO] [stdout] --> src/evaluation/mod.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 5 | let obj = Object::Error(String::from("Error")); [INFO] [stdout] | ^^^^^^ use of undeclared type `Object` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::evaluation::object::Object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_error` in this scope [INFO] [stdout] --> src/evaluation/mod.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(true, is_error(obj)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/evaluation/mod.rs - evaluation::Eval::eval_object_literal (line 592) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `etrl` [INFO] [stdout] --> src/evaluation/mod.rs:593:5 [INFO] [stdout] | [INFO] [stdout] 3 | use etrl::{Evaluator, Literal, Ident}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `etrl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `etrl`, use `cargo add etrl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object` [INFO] [stdout] --> src/evaluation/mod.rs:597:20 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(result, Object::Object(vec![(Ident::new("a"), Object::Number(1)), (Ident::new("b"), Object::Number(2))])); [INFO] [stdout] | ^^^^^^ use of undeclared type `Object` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::evaluation::object::Object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object` [INFO] [stdout] --> src/evaluation/mod.rs:597:58 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(result, Object::Object(vec![(Ident::new("a"), Object::Number(1)), (Ident::new("b"), Object::Number(2))])); [INFO] [stdout] | ^^^^^^ use of undeclared type `Object` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::evaluation::object::Object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object` [INFO] [stdout] --> src/evaluation/mod.rs:597:96 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(result, Object::Object(vec![(Ident::new("a"), Object::Number(1)), (Ident::new("b"), Object::Number(2))])); [INFO] [stdout] | ^^^^^^ use of undeclared type `Object` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::evaluation::object::Object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/evaluation/mod.rs - evaluation::Eval::eval_statement (line 117) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crate::eval` [INFO] [stdout] --> src/evaluation/mod.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::eval::Eval; [INFO] [stdout] | ^^^^ could not find `eval` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/evaluation/mod.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 4 | let eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^ use of undeclared type `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefCell` [INFO] [stdout] --> src/evaluation/mod.rs:119:30 [INFO] [stdout] | [INFO] [stdout] 4 | let eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `RefCell` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> src/evaluation/mod.rs:119:43 [INFO] [stdout] | [INFO] [stdout] 4 | let eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::evaluation::store::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/evaluation/mod.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 5 | let statement = Statement::Expression(Expression::Identifier(String::from("x"))); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::ast::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/evaluation/mod.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 6 | let mut eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^ use of undeclared type `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefCell` [INFO] [stdout] --> src/evaluation/mod.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 6 | let mut eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `RefCell` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> src/evaluation/mod.rs:121:47 [INFO] [stdout] | [INFO] [stdout] 6 | let mut eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::evaluation::store::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object` [INFO] [stdout] --> src/evaluation/mod.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Some(Object::Null), result); [INFO] [stdout] | ^^^^^^ use of undeclared type `Object` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::evaluation::object::Object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression` [INFO] [stdout] --> src/evaluation/mod.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 5 | let statement = Statement::Expression(Expression::Identifier(String::from("x"))); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Expression` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `synthia::ast::Statement::Expression`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 5 - let statement = Statement::Expression(Expression::Identifier(String::from("x"))); [INFO] [stdout] 5 + let statement = Statement::Expression(synthia::ast::Statement::Identifier(String::from("x"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/evaluation/mod.rs - evaluation::Eval::eval_minus_prefix_expr (line 333) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crate::eval` [INFO] [stdout] --> src/evaluation/mod.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::eval::Eval; [INFO] [stdout] | ^^^^ could not find `eval` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/evaluation/mod.rs:335:22 [INFO] [stdout] | [INFO] [stdout] 4 | let eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^ use of undeclared type `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefCell` [INFO] [stdout] --> src/evaluation/mod.rs:335:30 [INFO] [stdout] | [INFO] [stdout] 4 | let eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `RefCell` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] --> src/evaluation/mod.rs:335:43 [INFO] [stdout] | [INFO] [stdout] 4 | let eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::evaluation::store::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Literal` [INFO] [stdout] --> src/evaluation/mod.rs:336:32 [INFO] [stdout] | [INFO] [stdout] 5 | let expr = Expression::Literal(Literal::Number(1.0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Literal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::ast::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/evaluation/mod.rs:337:26 [INFO] [stdout] | [INFO] [stdout] 6 | let mut eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^ use of undeclared type `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefCell` [INFO] [stdout] --> src/evaluation/mod.rs:337:34 [INFO] [stdout] | [INFO] [stdout] 6 | let mut eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `RefCell` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> src/evaluation/mod.rs:337:47 [INFO] [stdout] | [INFO] [stdout] 6 | let mut eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::evaluation::store::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object` [INFO] [stdout] --> src/evaluation/mod.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Some(Object::Number(-1.0)), result); [INFO] [stdout] | ^^^^^^ use of undeclared type `Object` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::evaluation::object::Object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression` [INFO] [stdout] --> src/evaluation/mod.rs:336:12 [INFO] [stdout] | [INFO] [stdout] 5 | let expr = Expression::Literal(Literal::Number(1.0)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Expression` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `synthia::ast::Statement::Expression`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 5 - let expr = Expression::Literal(Literal::Number(1.0)); [INFO] [stdout] 5 + let expr = synthia::ast::Statement::Literal(Literal::Number(1.0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/evaluation/mod.rs - evaluation::Eval::eval (line 80) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crate::eval` [INFO] [stdout] --> src/evaluation/mod.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::eval::Eval; [INFO] [stdout] | ^^^^ could not find `eval` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/evaluation/mod.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 4 | let eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^ use of undeclared type `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefCell` [INFO] [stdout] --> src/evaluation/mod.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 4 | let eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `RefCell` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> src/evaluation/mod.rs:82:43 [INFO] [stdout] | [INFO] [stdout] 4 | let eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::evaluation::store::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Program` in this scope [INFO] [stdout] --> src/evaluation/mod.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 5 | let program = Program { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::ast::Program; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/evaluation/mod.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 7 | Statement::Expression(Expression::Identifier(String::from("x"))), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::ast::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/evaluation/mod.rs:86:6 [INFO] [stdout] | [INFO] [stdout] 8 | Statement::Expression(Expression::Identifier(String::from("y"))), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::ast::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Statement` [INFO] [stdout] --> src/evaluation/mod.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 9 | Statement::Expression(Expression::Identifier(String::from("z"))), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Statement` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::ast::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/evaluation/mod.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 12 | let mut eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^ use of undeclared type `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefCell` [INFO] [stdout] --> src/evaluation/mod.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 12 | let mut eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `RefCell` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Store` [INFO] [stdout] --> src/evaluation/mod.rs:90:47 [INFO] [stdout] | [INFO] [stdout] 12 | let mut eval = Eval::new(Rc::new(RefCell::new(Store::new()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Store` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::evaluation::store::Store; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object` [INFO] [stdout] --> src/evaluation/mod.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(Object::Null, result); [INFO] [stdout] | ^^^^^^ use of undeclared type `Object` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use synthia::evaluation::object::Object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression` [INFO] [stdout] --> src/evaluation/mod.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 7 | Statement::Expression(Expression::Identifier(String::from("x"))), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Expression` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `synthia::ast::Statement::Expression`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 7 - Statement::Expression(Expression::Identifier(String::from("x"))), [INFO] [stdout] 7 + Statement::Expression(synthia::ast::Statement::Identifier(String::from("x"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression` [INFO] [stdout] --> src/evaluation/mod.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 8 | Statement::Expression(Expression::Identifier(String::from("y"))), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Expression` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `synthia::ast::Statement::Expression`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 8 - Statement::Expression(Expression::Identifier(String::from("y"))), [INFO] [stdout] 8 + Statement::Expression(synthia::ast::Statement::Identifier(String::from("y"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expression` [INFO] [stdout] --> src/evaluation/mod.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 9 | Statement::Expression(Expression::Identifier(String::from("z"))), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Expression` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `synthia::ast::Statement::Expression`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 9 - Statement::Expression(Expression::Identifier(String::from("z"))), [INFO] [stdout] 9 + Statement::Expression(synthia::ast::Statement::Identifier(String::from("z"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/evaluation/mod.rs - evaluation::Eval::eval (line 80) [INFO] [stdout] src/evaluation/mod.rs - evaluation::Eval::eval_minus_prefix_expr (line 333) [INFO] [stdout] src/evaluation/mod.rs - evaluation::Eval::eval_object_literal (line 592) [INFO] [stdout] src/evaluation/mod.rs - evaluation::Eval::eval_statement (line 117) [INFO] [stdout] src/evaluation/mod.rs - evaluation::Eval::is_error (line 60) [INFO] [stdout] src/evaluation/mod.rs - evaluation::Eval::is_truthy (line 43) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1fdb35d49c8eeee60848869cff0224af9de331c24388b769f4d8cf287a264885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fdb35d49c8eeee60848869cff0224af9de331c24388b769f4d8cf287a264885", kill_on_drop: false }` [INFO] [stdout] 1fdb35d49c8eeee60848869cff0224af9de331c24388b769f4d8cf287a264885