[INFO] cloning repository https://github.com/LemonHX/sap-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LemonHX/sap-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemonHX%2Fsap-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemonHX%2Fsap-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0181244ff370f730383b589181dca9604f4decc [INFO] checking LemonHX/sap-lang against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemonHX%2Fsap-lang" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LemonHX/sap-lang on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LemonHX/sap-lang [INFO] finished tweaking git repo https://github.com/LemonHX/sap-lang [INFO] tweaked toml for git repo https://github.com/LemonHX/sap-lang written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/LemonHX/sap-lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-14/source/sap-lang-repl/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-14/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nibble_vec v0.1.0 [INFO] [stderr] Downloaded radix_trie v0.2.1 [INFO] [stderr] Downloaded clipboard-win v4.2.1 [INFO] [stderr] Downloaded fd-lock v3.0.0 [INFO] [stderr] Downloaded bytecount v0.6.2 [INFO] [stderr] Downloaded error-code v2.3.0 [INFO] [stderr] Downloaded str-buf v1.0.5 [INFO] [stderr] Downloaded endian-type v0.1.2 [INFO] [stderr] Downloaded serde_yaml v0.8.21 [INFO] [stderr] Downloaded nix v0.22.2 [INFO] [stderr] Downloaded nom_locate v4.0.0 [INFO] [stderr] Downloaded syn v1.0.78 [INFO] [stderr] Downloaded rustyline v9.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c13f1821bfb10149aa654fef9bcda1263945a32df2263a3e3309e03a9c58f42 [INFO] running `Command { std: "docker" "start" "-a" "0c13f1821bfb10149aa654fef9bcda1263945a32df2263a3e3309e03a9c58f42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c13f1821bfb10149aa654fef9bcda1263945a32df2263a3e3309e03a9c58f42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c13f1821bfb10149aa654fef9bcda1263945a32df2263a3e3309e03a9c58f42", kill_on_drop: false }` [INFO] [stdout] 0c13f1821bfb10149aa654fef9bcda1263945a32df2263a3e3309e03a9c58f42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 607472901f9dceaf9549070a77a5714c920a6e2ec63d688f29da93e3b2796120 [INFO] running `Command { std: "docker" "start" "-a" "607472901f9dceaf9549070a77a5714c920a6e2ec63d688f29da93e3b2796120", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/sap-lang-repl/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.78 [INFO] [stderr] Checking minimal-lexical v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fd-lock v3.0.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking nix v0.22.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking nom_locate v4.0.0 [INFO] [stderr] Checking sap-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `many1` [INFO] [stdout] --> src/parser/expr/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | multi::{many1, separated_list1}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `many1` [INFO] [stdout] --> src/parser/expr/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | multi::{many1, separated_list1}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::list1` [INFO] [stdout] --> src/parser/top_level.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::list1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `expr::Expr`, `ty::Type` [INFO] [stdout] --> src/parser/top_level.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use super::{expr::Expr, ty::Type}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::list1` [INFO] [stdout] --> src/parser/top_level.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::list1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `expr::Expr`, `ty::Type` [INFO] [stdout] --> src/parser/top_level.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use super::{expr::Expr, ty::Type}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/state/evaluator/mod.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 314 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 315 | Ok(Rc::new(UnsafeCell::new(Value::Null))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/state/evaluator/mod.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 314 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 315 | Ok(Rc::new(UnsafeCell::new(Value::Null))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/state/type_checker/mod.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | Some(source) => unsafe { &*unsafe { &*c.imports.get() }.imports[&s[0]].get() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/state/type_checker/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | Some(source) => unsafe { &*unsafe { &*c.imports.get() }.imports[&s[0]].get() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/state/evaluator/mod.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | Some(source) => unsafe { &*unsafe { &*c.imports.get() }.imports[&s[0]].get() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/parser/expr/mod.rs:626:14 [INFO] [stdout] | [INFO] [stdout] 626 | let (r0, r1) = r.unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/state/type_checker/mod.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | Some(source) => unsafe { &*unsafe { &*c.imports.get() }.imports[&s[0]].get() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/state/type_checker/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | Some(source) => unsafe { &*unsafe { &*c.imports.get() }.imports[&s[0]].get() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/state/evaluator/mod.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | Some(source) => unsafe { &*unsafe { &*c.imports.get() }.imports[&s[0]].get() } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state/type_checker/mod.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | Some(source) => unsafe { &*unsafe { &*c.imports.get() }.imports[&s[0]].get() } [INFO] [stdout] | ------ ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | | [INFO] [stdout] | because it's nested under this `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state/type_checker/mod.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | Some(source) => unsafe { &*unsafe { &*c.imports.get() }.imports[&s[0]].get() } [INFO] [stdout] | ------ ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | | [INFO] [stdout] | because it's nested under this `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state/evaluator/mod.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | Some(source) => unsafe { &*unsafe { &*c.imports.get() }.imports[&s[0]].get() } [INFO] [stdout] | ------ ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | | [INFO] [stdout] | because it's nested under this `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state/evaluator/mod.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 64 | / pub unsafe fn call_func_with_expr( [INFO] [stdout] 65 | | f: Value, [INFO] [stdout] 66 | | args: Vec, [INFO] [stdout] 67 | | context: Rc>, [INFO] [stdout] 68 | | ) -> Result>, &'static str> { [INFO] [stdout] | |________________________________________________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 72 | unsafe { &*eval_expr(a, context.clone())?.get() }.clone(), [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state/evaluator/mod.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 64 | / pub unsafe fn call_func_with_expr( [INFO] [stdout] 65 | | f: Value, [INFO] [stdout] 66 | | args: Vec, [INFO] [stdout] 67 | | context: Rc>, [INFO] [stdout] 68 | | ) -> Result>, &'static str> { [INFO] [stdout] | |________________________________________________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 88 | let r = unsafe { &mut *r.get() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state/evaluator/mod.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 64 | / pub unsafe fn call_func_with_expr( [INFO] [stdout] 65 | | f: Value, [INFO] [stdout] 66 | | args: Vec, [INFO] [stdout] 67 | | context: Rc>, [INFO] [stdout] 68 | | ) -> Result>, &'static str> { [INFO] [stdout] | |________________________________________________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 151 | let r = unsafe { &mut *r.get() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state/std/mod.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 134 | unsafe extern "C" fn uncons(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ---------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 139 | Rc::new(UnsafeCell::new(unsafe { &*a[0].get() }.clone())), [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `char` [INFO] [stdout] --> src/parser/expr/literal/char.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn char(s: LocatedSpan<&str>) -> IResult, char> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ControlChar` [INFO] [stdout] --> src/parser/expr/literal/string.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum ControlChar { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NativeFunction` [INFO] [stdout] --> src/state/std/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct NativeFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_value` [INFO] [stdout] --> src/state/std/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn into_value(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `err` [INFO] [stdout] --> src/state/std/mod.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe extern "C" fn err(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/mod.rs:37:69 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe extern "C" fn err(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/mod.rs:46:68 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe extern "C" fn id(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/mod.rs:52:71 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe extern "C" fn range(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/mod.rs:106:70 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe extern "C" fn cons(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/mod.rs:134:72 [INFO] [stdout] | [INFO] [stdout] 134 | unsafe extern "C" fn uncons(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/mod.rs:152:74 [INFO] [stdout] | [INFO] [stdout] 152 | unsafe extern "C" fn is_empty(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:10:68 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe extern "C" fn lt(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:48:68 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe extern "C" fn gt(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:86:68 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe extern "C" fn le(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:124:68 [INFO] [stdout] | [INFO] [stdout] 124 | unsafe extern "C" fn ge(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:162:68 [INFO] [stdout] | [INFO] [stdout] 162 | unsafe extern "C" fn eq(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:200:68 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe extern "C" fn ne(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:238:69 [INFO] [stdout] | [INFO] [stdout] 238 | unsafe extern "C" fn add(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:276:69 [INFO] [stdout] | [INFO] [stdout] 276 | unsafe extern "C" fn sub(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:314:69 [INFO] [stdout] | [INFO] [stdout] 314 | unsafe extern "C" fn mul(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:352:69 [INFO] [stdout] | [INFO] [stdout] 352 | unsafe extern "C" fn div(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:390:69 [INFO] [stdout] | [INFO] [stdout] 390 | unsafe extern "C" fn rem(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state/type_checker/mod.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | Some(source) => unsafe { &*unsafe { &*c.imports.get() }.imports[&s[0]].get() } [INFO] [stdout] | ------ ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | | [INFO] [stdout] | because it's nested under this `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state/type_checker/mod.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | Some(source) => unsafe { &*unsafe { &*c.imports.get() }.imports[&s[0]].get() } [INFO] [stdout] | ------ ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | | [INFO] [stdout] | because it's nested under this `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state/evaluator/mod.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | Some(source) => unsafe { &*unsafe { &*c.imports.get() }.imports[&s[0]].get() } [INFO] [stdout] | ------ ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | | [INFO] [stdout] | because it's nested under this `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state/evaluator/mod.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 64 | / pub unsafe fn call_func_with_expr( [INFO] [stdout] 65 | | f: Value, [INFO] [stdout] 66 | | args: Vec, [INFO] [stdout] 67 | | context: Rc>, [INFO] [stdout] 68 | | ) -> Result>, &'static str> { [INFO] [stdout] | |________________________________________________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 72 | unsafe { &*eval_expr(a, context.clone())?.get() }.clone(), [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state/evaluator/mod.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 64 | / pub unsafe fn call_func_with_expr( [INFO] [stdout] 65 | | f: Value, [INFO] [stdout] 66 | | args: Vec, [INFO] [stdout] 67 | | context: Rc>, [INFO] [stdout] 68 | | ) -> Result>, &'static str> { [INFO] [stdout] | |________________________________________________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 88 | let r = unsafe { &mut *r.get() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state/evaluator/mod.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 64 | / pub unsafe fn call_func_with_expr( [INFO] [stdout] 65 | | f: Value, [INFO] [stdout] 66 | | args: Vec, [INFO] [stdout] 67 | | context: Rc>, [INFO] [stdout] 68 | | ) -> Result>, &'static str> { [INFO] [stdout] | |________________________________________________- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 151 | let r = unsafe { &mut *r.get() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/state/std/mod.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 134 | unsafe extern "C" fn uncons(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ---------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 139 | Rc::new(UnsafeCell::new(unsafe { &*a[0].get() }.clone())), [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `char` [INFO] [stdout] --> src/parser/expr/literal/char.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn char(s: LocatedSpan<&str>) -> IResult, char> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ControlChar` [INFO] [stdout] --> src/parser/expr/literal/string.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum ControlChar { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NativeFunction` [INFO] [stdout] --> src/state/std/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct NativeFunction { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_value` [INFO] [stdout] --> src/state/std/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn into_value(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `err` [INFO] [stdout] --> src/state/std/mod.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe extern "C" fn err(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/mod.rs:37:69 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe extern "C" fn err(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/mod.rs:46:68 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe extern "C" fn id(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/mod.rs:52:71 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe extern "C" fn range(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/mod.rs:106:70 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe extern "C" fn cons(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/mod.rs:134:72 [INFO] [stdout] | [INFO] [stdout] 134 | unsafe extern "C" fn uncons(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/mod.rs:152:74 [INFO] [stdout] | [INFO] [stdout] 152 | unsafe extern "C" fn is_empty(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:10:68 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe extern "C" fn lt(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:48:68 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe extern "C" fn gt(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:86:68 [INFO] [stdout] | [INFO] [stdout] 86 | unsafe extern "C" fn le(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:124:68 [INFO] [stdout] | [INFO] [stdout] 124 | unsafe extern "C" fn ge(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:162:68 [INFO] [stdout] | [INFO] [stdout] 162 | unsafe extern "C" fn eq(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:200:68 [INFO] [stdout] | [INFO] [stdout] 200 | unsafe extern "C" fn ne(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:238:69 [INFO] [stdout] | [INFO] [stdout] 238 | unsafe extern "C" fn add(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:276:69 [INFO] [stdout] | [INFO] [stdout] 276 | unsafe extern "C" fn sub(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:314:69 [INFO] [stdout] | [INFO] [stdout] 314 | unsafe extern "C" fn mul(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:352:69 [INFO] [stdout] | [INFO] [stdout] 352 | unsafe extern "C" fn div(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/numerical.rs:390:69 [INFO] [stdout] | [INFO] [stdout] 390 | unsafe extern "C" fn rem(args_count: usize, va: *mut *mut Value) -> UnsafeCell { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/state/evaluator/value.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / pub enum Value { [INFO] [stdout] 8 | | Pair(String, Rc>), [INFO] [stdout] 9 | | Number(Number), [INFO] [stdout] 10 | | String(String), [INFO] [stdout] ... | [INFO] [stdout] 31 | | Error(String), [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rustyline v9.0.0 [INFO] [stderr] Checking sap-lang-repl v0.1.0 (/opt/rustwide/workdir/sap-lang-repl) [INFO] [stdout] warning: unused imports: `RefCell`, `UnsafeCell` [INFO] [stdout] --> sap-lang-repl/src/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::{RefCell, UnsafeCell}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> sap-lang-repl/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> sap-lang-repl/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EvalContext`, `eval_expr` [INFO] [stdout] --> sap-lang-repl/src/main.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use sap_lang::state::evaluator::{eval_expr, EvalContext}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TypeCheckContext`, `type_check_expr` [INFO] [stdout] --> sap-lang-repl/src/main.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | use sap_lang::state::type_checker::{type_check_expr, TypeCheckContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefCell`, `UnsafeCell` [INFO] [stdout] --> sap-lang-repl/src/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::{RefCell, UnsafeCell}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> sap-lang-repl/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> sap-lang-repl/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EvalContext`, `eval_expr` [INFO] [stdout] --> sap-lang-repl/src/main.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use sap_lang::state::evaluator::{eval_expr, EvalContext}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TypeCheckContext`, `type_check_expr` [INFO] [stdout] --> sap-lang-repl/src/main.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | use sap_lang::state::type_checker::{type_check_expr, TypeCheckContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> sap-lang-repl/src/main.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | ... TopLevel::Expr(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> sap-lang-repl/src/main.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> sap-lang-repl/src/main.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | ... TopLevel::Expr(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> sap-lang-repl/src/main.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_yaml v0.8.21 [INFO] [stderr] Checking quick-xml v0.22.0 [INFO] [stderr] Checking sap v0.1.0 (/opt/rustwide/workdir/sap) [INFO] [stdout] warning: unused imports: `cell::UnsafeCell`, `collections::BTreeMap`, `rc::Rc` [INFO] [stdout] --> sap/src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::UnsafeCell, collections::BTreeMap, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `Arg`, `clap_app` [INFO] [stdout] --> sap/src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::{clap_app, App, Arg}; [INFO] [stdout] | ^^^^^^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quick_xml::Reader` [INFO] [stdout] --> sap/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use quick_xml::Reader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `parser::expr::literal::Number`, `state::evaluator::value::Value` [INFO] [stdout] --> sap/src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use sap_lang::{parser::expr::literal::Number, state::evaluator::value::Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::UnsafeCell`, `collections::BTreeMap`, `rc::Rc` [INFO] [stdout] --> sap/src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::UnsafeCell, collections::BTreeMap, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `Arg`, `clap_app` [INFO] [stdout] --> sap/src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::{clap_app, App, Arg}; [INFO] [stdout] | ^^^^^^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quick_xml::Reader` [INFO] [stdout] --> sap/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use quick_xml::Reader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `parser::expr::literal::Number`, `state::evaluator::value::Value` [INFO] [stdout] --> sap/src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use sap_lang::{parser::expr::literal::Number, state::evaluator::value::Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 30s [INFO] running `Command { std: "docker" "inspect" "607472901f9dceaf9549070a77a5714c920a6e2ec63d688f29da93e3b2796120", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "607472901f9dceaf9549070a77a5714c920a6e2ec63d688f29da93e3b2796120", kill_on_drop: false }` [INFO] [stdout] 607472901f9dceaf9549070a77a5714c920a6e2ec63d688f29da93e3b2796120