[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] 883d760b33e3329dca4947f0858add564ae196a5 [INFO] building LemonHX/sap-lang against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemonHX%2Fsap-lang" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LemonHX/sap-lang on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-0-tc1/source/sap-lang-repl/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/sap-lang-repl/Cargo.toml: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#strip-option for more information about using this feature. [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/Cargo.toml: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#strip-option for more information about using this feature. [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded error-code v2.3.0 [INFO] [stderr] Downloaded clipboard-win v4.2.1 [INFO] [stderr] Downloaded fd-lock v3.0.0 [INFO] [stderr] Downloaded nom_locate v4.0.0 [INFO] [stderr] Downloaded rustyline v9.0.0 [INFO] [stderr] Downloaded syn v1.0.78 [INFO] [stderr] Downloaded serde_yaml v0.8.21 [INFO] [stderr] Downloaded nix v0.22.2 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5c5d3a063c87ee63d653f54da6ea5145777f8f6e210623fb242c3dc49b7eb9e [INFO] running `Command { std: "docker" "start" "-a" "a5c5d3a063c87ee63d653f54da6ea5145777f8f6e210623fb242c3dc49b7eb9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5c5d3a063c87ee63d653f54da6ea5145777f8f6e210623fb242c3dc49b7eb9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5c5d3a063c87ee63d653f54da6ea5145777f8f6e210623fb242c3dc49b7eb9e", kill_on_drop: false }` [INFO] [stdout] a5c5d3a063c87ee63d653f54da6ea5145777f8f6e210623fb242c3dc49b7eb9e [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69b4a88d1261a364a17a5b5d9954fa2d42be714f16fa5dd74b62cde60f15f542 [INFO] running `Command { std: "docker" "start" "-a" "69b4a88d1261a364a17a5b5d9954fa2d42be714f16fa5dd74b62cde60f15f542", 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] warning: /opt/rustwide/workdir/Cargo.toml: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#strip-option for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/sap-lang-repl/Cargo.toml: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#strip-option for more information about using this feature. [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling minimal-lexical v0.1.3 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling nom_locate v4.0.0 [INFO] [stderr] Compiling 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: `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` and `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: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` 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: 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: 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: 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: 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/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: function `char` is never used [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 `ControlChar` is never used [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 `NativeFunction` is never constructed [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: method `into_value` is never used [INFO] [stdout] --> src/state/std/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl NativeFunction { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 28 | fn into_value(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `err` is never used [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/mod.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | ptr: unsafe extern "C" fn(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] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/evaluator/value.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe extern "C" fn(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] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/mod.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | ptr: extern "C" fn(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] | ^^^^^^^^^^^^^^ [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] = 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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.49s [INFO] running `Command { std: "docker" "inspect" "69b4a88d1261a364a17a5b5d9954fa2d42be714f16fa5dd74b62cde60f15f542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69b4a88d1261a364a17a5b5d9954fa2d42be714f16fa5dd74b62cde60f15f542", kill_on_drop: false }` [INFO] [stdout] 69b4a88d1261a364a17a5b5d9954fa2d42be714f16fa5dd74b62cde60f15f542 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecfff2ebecc1ef4a9cec28415b797d23e046582f7efeec4e129eb4defa17a6eb [INFO] running `Command { std: "docker" "start" "-a" "ecfff2ebecc1ef4a9cec28415b797d23e046582f7efeec4e129eb4defa17a6eb", 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] warning: /opt/rustwide/workdir/sap-lang-repl/Cargo.toml: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#strip-option for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: the cargo feature `strip` has been stabilized in the 1.58 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#strip-option for more information about using this feature. [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` and `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: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` 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: 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: 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: 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: 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/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: function `char` is never used [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 `ControlChar` is never used [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 `NativeFunction` is never constructed [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: method `into_value` is never used [INFO] [stdout] --> src/state/std/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl NativeFunction { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 28 | fn into_value(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `err` is never used [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/mod.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | ptr: unsafe extern "C" fn(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] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/evaluator/value.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe extern "C" fn(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] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/mod.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | ptr: extern "C" fn(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] | ^^^^^^^^^^^^^^ [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] = 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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling 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: `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` and `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: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` 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: `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: 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: 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: 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: 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/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: function `char` is never used [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 `ControlChar` is never used [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 `NativeFunction` is never constructed [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: method `into_value` is never used [INFO] [stdout] --> src/state/std/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl NativeFunction { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 28 | fn into_value(&self) -> Rc> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `err` is never used [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/mod.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | ptr: unsafe extern "C" fn(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] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/evaluator/value.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe extern "C" fn(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] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> src/state/std/mod.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | ptr: extern "C" fn(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] | ^^^^^^^^^^^^^^ [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] = 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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "ecfff2ebecc1ef4a9cec28415b797d23e046582f7efeec4e129eb4defa17a6eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecfff2ebecc1ef4a9cec28415b797d23e046582f7efeec4e129eb4defa17a6eb", kill_on_drop: false }` [INFO] [stdout] ecfff2ebecc1ef4a9cec28415b797d23e046582f7efeec4e129eb4defa17a6eb