[INFO] cloning repository https://github.com/ggodet-bar/lisp-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ggodet-bar/lisp-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggodet-bar%2Flisp-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggodet-bar%2Flisp-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 03a31f705636532920c58cedfee626ca89539cba [INFO] checking ggodet-bar/lisp-rs against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggodet-bar%2Flisp-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ggodet-bar/lisp-rs on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ggodet-bar/lisp-rs [INFO] finished tweaking git repo https://github.com/ggodet-bar/lisp-rs [INFO] tweaked toml for git repo https://github.com/ggodet-bar/lisp-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ggodet-bar/lisp-rs 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded filesystem v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 648d9b05267efaa46c57c4881566200b9865b1c17eae8790e5c679f0fd39034f [INFO] running `Command { std: "docker" "start" "-a" "648d9b05267efaa46c57c4881566200b9865b1c17eae8790e5c679f0fd39034f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "648d9b05267efaa46c57c4881566200b9865b1c17eae8790e5c679f0fd39034f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "648d9b05267efaa46c57c4881566200b9865b1c17eae8790e5c679f0fd39034f", kill_on_drop: false }` [INFO] [stdout] 648d9b05267efaa46c57c4881566200b9865b1c17eae8790e5c679f0fd39034f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d53a3ec7295cdbeb70a79ea43b16b68018158dc2de8f270b56c49d83f39e996c [INFO] running `Command { std: "docker" "start" "-a" "d53a3ec7295cdbeb70a79ea43b16b68018158dc2de8f270b56c49d83f39e996c", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling rust-embed-utils v7.2.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking plotters-backend v0.3.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking plotters-svg v0.3.2 [INFO] [stderr] Checking clap_lex v0.1.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking plotters v0.3.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking filesystem v0.4.4 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling rust-embed-impl v6.2.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking rust-embed v6.4.0 [INFO] [stderr] Checking clap v3.1.12 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking lisp-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/lisprs/iter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol_cell_car` [INFO] [stdout] --> src/lisprs/core/put.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_cell_car` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_name_cell_car` [INFO] [stdout] --> src/lisprs/core/put.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_name_cell_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_value` [INFO] [stdout] --> src/lisprs/core/put.rs:18:69 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lisprs/evaluator.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let mut previous_cell = &mut self.memory.borrow_mem_mut(previous_cell_idx); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lisprs/parser.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let mut last_cell = &mut self.memory.borrow_mem_mut(list_tail_ptr); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lisprs/symbol.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let mut prop_cell = &mut mem.mem[prop_cell_idx]; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_list`, `car_ptr`, `deallocate`, and `is_deallocated` are never used [INFO] [stdout] --> src/lisprs/cell.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Cell { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn is_list(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn car_ptr(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn deallocate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn is_deallocated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_stack_frame_idx` is never read [INFO] [stdout] --> src/lisprs/lisp_env.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 24 | pub(crate) mem: Slab, [INFO] [stdout] 25 | pub(crate) last_stack_frame_idx: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_memory`, `memory_size`, and `global_scope_contains_property` are never used [INFO] [stdout] --> src/lisprs/lisp_env.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 91 | impl LispEnv { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 216 | pub(crate) fn print_memory(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub(crate) fn memory_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub(crate) fn global_scope_contains_property(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_property_by_name`, `get_property_value_by_name`, and `property_count` are never used [INFO] [stdout] --> src/lisprs/symbol.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Symbol<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn get_property_by_name(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn get_property_value_by_name(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn property_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_true` is never used [INFO] [stdout] --> src/lisprs/util.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn is_true(val: u64) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::cell::Cell` [INFO] [stdout] --> benches/../src/lisprs/cell.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | use crate::lisprs::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `as_number`, `is_number`, `number_pointer` [INFO] [stdout] --> benches/../src/lisprs/core/add.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | use crate::lisprs::util::{as_number, is_number, number_pointer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::LispEnv` [INFO] [stdout] --> benches/../src/lisprs/core/add.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | use crate::lisprs::LispEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::util::as_number` [INFO] [stdout] --> benches/../src/lisprs/core/car.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::lisprs::util::as_number; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::LispEnv` [INFO] [stdout] --> benches/../src/lisprs/core/car.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::lisprs::LispEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::list::List` [INFO] [stdout] --> benches/../src/lisprs/core/cdr.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::lisprs::list::List; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `as_number`, `is_pointer`, `is_true`, `ptr` [INFO] [stdout] --> benches/../src/lisprs/core/cdr.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::lisprs::util::{as_number, is_pointer, is_true, ptr}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::LispEnv` [INFO] [stdout] --> benches/../src/lisprs/core/cdr.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::lisprs::LispEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `as_number`, `is_number` [INFO] [stdout] --> benches/../src/lisprs/core/if.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::lisprs::util::{as_number, is_number}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::LispEnv` [INFO] [stdout] --> benches/../src/lisprs/core/if.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::lisprs::LispEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::util::true_symbol` [INFO] [stdout] --> benches/../src/lisprs/core/lt_equal.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::lisprs::util::true_symbol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::LispEnv` [INFO] [stdout] --> benches/../src/lisprs/core/lt_equal.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | use crate::lisprs::LispEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::util::number_pointer` [INFO] [stdout] --> benches/../src/lisprs/core/mult.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use crate::lisprs::util::number_pointer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::LispEnv` [INFO] [stdout] --> benches/../src/lisprs/core/mult.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use crate::lisprs::LispEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::util::is_true` [INFO] [stdout] --> benches/../src/lisprs/core/not.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::lisprs::util::is_true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::LispEnv` [INFO] [stdout] --> benches/../src/lisprs/core/not.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::lisprs::LispEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::util::is_true` [INFO] [stdout] --> benches/../src/lisprs/core/structural_eq.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | use crate::lisprs::util::is_true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::LispEnv` [INFO] [stdout] --> benches/../src/lisprs/core/structural_eq.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | use crate::lisprs::LispEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::util::number_pointer` [INFO] [stdout] --> benches/../src/lisprs/core/sub.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::lisprs::util::number_pointer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::LispEnv` [INFO] [stdout] --> benches/../src/lisprs/core/sub.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::lisprs::LispEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::cell::Cell` [INFO] [stdout] --> benches/../src/lisprs/core/symbols.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | use crate::lisprs::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_pointer`, `ptr` [INFO] [stdout] --> benches/../src/lisprs/core/symbols.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | use crate::lisprs::util::{is_pointer, ptr}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::LispEnv` [INFO] [stdout] --> benches/../src/lisprs/core/symbols.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use crate::lisprs::LispEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::cell::Cell` [INFO] [stdout] --> benches/../src/lisprs/evaluator.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | use crate::lisprs::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::list::List` [INFO] [stdout] --> benches/../src/lisprs/evaluator.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | use crate::lisprs::list::List; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::symbol::Symbol` [INFO] [stdout] --> benches/../src/lisprs/evaluator.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | use crate::lisprs::symbol::Symbol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `as_number`, `is_number`, `is_pointer`, `is_symbol_ptr`, `number_pointer`, `ptr` [INFO] [stdout] --> benches/../src/lisprs/evaluator.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | as_number, is_number, is_pointer, is_symbol_ptr, number_pointer, ptr, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::LispEnv` [INFO] [stdout] --> benches/../src/lisprs/evaluator.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | use crate::lisprs::LispEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> benches/../src/lisprs/evaluator.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::cell::Cell` [INFO] [stdout] --> benches/../src/lisprs/frame.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | use crate::lisprs::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_symbol_ptr`, `ptr` [INFO] [stdout] --> benches/../src/lisprs/frame.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 135 | use crate::lisprs::util::{is_symbol_ptr, ptr}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::LispEnv` [INFO] [stdout] --> benches/../src/lisprs/frame.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | use crate::lisprs::LispEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> benches/../src/lisprs/iter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `as_number`, `ptr` [INFO] [stdout] --> benches/../src/lisprs/iter.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | use crate::lisprs::util::{as_number, ptr}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::LispEnv` [INFO] [stdout] --> benches/../src/lisprs/iter.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use crate::lisprs::LispEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> benches/../src/lisprs/lisp_env.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::util::as_number` [INFO] [stdout] --> benches/../src/lisprs/lisp_env.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | use crate::lisprs::util::as_number; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::cell::Cell` [INFO] [stdout] --> benches/../src/lisprs/parser.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | use crate::lisprs::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::parser::LispEnv` [INFO] [stdout] --> benches/../src/lisprs/parser.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | use crate::lisprs::parser::LispEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `as_number`, `as_ptr`, `is_number`, `is_pointer`, `is_symbol_ptr`, `ptr` [INFO] [stdout] --> benches/../src/lisprs/parser.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | use crate::lisprs::util::{as_number, as_ptr, is_number, is_pointer, is_symbol_ptr, ptr}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::cell::Cell` [INFO] [stdout] --> benches/../src/lisprs/symbol.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | use crate::lisprs::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::util::number_pointer` [INFO] [stdout] --> benches/../src/lisprs/symbol.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | use crate::lisprs::util::number_pointer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lisprs::LispEnv` [INFO] [stdout] --> benches/../src/lisprs/symbol.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | use crate::lisprs::LispEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::Cell` [INFO] [stdout] --> benches/../src/lisprs/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use cell::Cell; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/lisprs/iter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol_cell_car` [INFO] [stdout] --> benches/../src/lisprs/core/put.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_cell_car` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_name_cell_car` [INFO] [stdout] --> benches/../src/lisprs/core/put.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_name_cell_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_value` [INFO] [stdout] --> benches/../src/lisprs/core/put.rs:18:69 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/../src/lisprs/evaluator.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let mut previous_cell = &mut self.memory.borrow_mem_mut(previous_cell_idx); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/../src/lisprs/parser.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let mut last_cell = &mut self.memory.borrow_mem_mut(list_tail_ptr); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/../src/lisprs/symbol.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let mut prop_cell = &mut mem.mem[prop_cell_idx]; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_list`, `car_ptr`, `deallocate`, and `is_deallocated` are never used [INFO] [stdout] --> benches/../src/lisprs/cell.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Cell { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn is_list(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn car_ptr(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn deallocate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn is_deallocated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_stack_frame_idx` is never read [INFO] [stdout] --> benches/../src/lisprs/lisp_env.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 24 | pub(crate) mem: Slab, [INFO] [stdout] 25 | pub(crate) last_stack_frame_idx: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_memory`, `memory_size`, and `global_scope_contains_property` are never used [INFO] [stdout] --> benches/../src/lisprs/lisp_env.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 91 | impl LispEnv { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 216 | pub(crate) fn print_memory(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub(crate) fn memory_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub(crate) fn global_scope_contains_property(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_property_by_name`, `get_property_value_by_name`, and `property_count` are never used [INFO] [stdout] --> benches/../src/lisprs/symbol.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Symbol<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn get_property_by_name(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn get_property_value_by_name(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn property_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_true` is never used [INFO] [stdout] --> benches/../src/lisprs/util.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn is_true(val: u64) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol_cell_car` [INFO] [stdout] --> src/lisprs/core/put.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_cell_car` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_name_cell_car` [INFO] [stdout] --> src/lisprs/core/put.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_name_cell_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_value` [INFO] [stdout] --> src/lisprs/core/put.rs:18:69 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lisprs/evaluator.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let mut previous_cell = &mut self.memory.borrow_mem_mut(previous_cell_idx); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lisprs/parser.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let mut last_cell = &mut self.memory.borrow_mem_mut(list_tail_ptr); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lisprs/symbol.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let mut prop_cell = &mut mem.mem[prop_cell_idx]; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `deallocate` and `is_deallocated` are never used [INFO] [stdout] --> src/lisprs/cell.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Cell { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn deallocate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn is_deallocated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_stack_frame_idx` is never read [INFO] [stdout] --> src/lisprs/lisp_env.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 24 | pub(crate) mem: Slab, [INFO] [stdout] 25 | pub(crate) last_stack_frame_idx: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.79s [INFO] running `Command { std: "docker" "inspect" "d53a3ec7295cdbeb70a79ea43b16b68018158dc2de8f270b56c49d83f39e996c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d53a3ec7295cdbeb70a79ea43b16b68018158dc2de8f270b56c49d83f39e996c", kill_on_drop: false }` [INFO] [stdout] d53a3ec7295cdbeb70a79ea43b16b68018158dc2de8f270b56c49d83f39e996c [INFO] checking ggodet-bar/lisp-rs against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggodet-bar%2Flisp-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ggodet-bar/lisp-rs on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ggodet-bar/lisp-rs [INFO] finished tweaking git repo https://github.com/ggodet-bar/lisp-rs [INFO] tweaked toml for git repo https://github.com/ggodet-bar/lisp-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ggodet-bar/lisp-rs 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eebb34626eec7ab48763a5ffdbed7dbfca5e95583bb6543d9653234f5247c414 [INFO] running `Command { std: "docker" "start" "-a" "eebb34626eec7ab48763a5ffdbed7dbfca5e95583bb6543d9653234f5247c414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eebb34626eec7ab48763a5ffdbed7dbfca5e95583bb6543d9653234f5247c414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eebb34626eec7ab48763a5ffdbed7dbfca5e95583bb6543d9653234f5247c414", kill_on_drop: false }` [INFO] [stdout] eebb34626eec7ab48763a5ffdbed7dbfca5e95583bb6543d9653234f5247c414 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d7cc082f503c156c25b3c4167f77b0a20f7fa4efd9ee20685e3d4ce4761c310 [INFO] running `Command { std: "docker" "start" "-a" "2d7cc082f503c156c25b3c4167f77b0a20f7fa4efd9ee20685e3d4ce4761c310", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling rust-embed-utils v7.2.0 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking plotters-backend v0.3.4 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking clap_lex v0.1.1 [INFO] [stderr] Checking plotters-svg v0.3.2 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking plotters v0.3.2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking filesystem v0.4.4 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling rust-embed-impl v6.2.0 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking rust-embed v6.4.0 [INFO] [stderr] Checking clap v3.1.12 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking lisp-rs v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lisprs/symbol.rs (1 fix) [INFO] [stderr] Fixed src/lisprs/evaluator.rs (1 fix) [INFO] [stderr] Fixed src/lisprs/parser.rs (1 fix) [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/lisprs/iter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol_cell_car` [INFO] [stdout] --> src/lisprs/core/put.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_cell_car` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_name_cell_car` [INFO] [stdout] --> src/lisprs/core/put.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_name_cell_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_value` [INFO] [stdout] --> src/lisprs/core/put.rs:18:69 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_list`, `car_ptr`, `deallocate`, and `is_deallocated` are never used [INFO] [stdout] --> src/lisprs/cell.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Cell { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn is_list(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn car_ptr(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn deallocate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn is_deallocated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_stack_frame_idx` is never read [INFO] [stdout] --> src/lisprs/lisp_env.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 24 | pub(crate) mem: Slab, [INFO] [stdout] 25 | pub(crate) last_stack_frame_idx: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_memory`, `memory_size`, and `global_scope_contains_property` are never used [INFO] [stdout] --> src/lisprs/lisp_env.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 91 | impl LispEnv { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 216 | pub(crate) fn print_memory(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub(crate) fn memory_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub(crate) fn global_scope_contains_property(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_property_by_name`, `get_property_value_by_name`, and `property_count` are never used [INFO] [stdout] --> src/lisprs/symbol.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Symbol<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn get_property_by_name(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn get_property_value_by_name(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn property_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_true` is never used [INFO] [stdout] --> src/lisprs/util.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn is_true(val: u64) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/lisprs/iter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol_cell_car` [INFO] [stdout] --> src/lisprs/core/put.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_cell_car` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_name_cell_car` [INFO] [stdout] --> src/lisprs/core/put.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_name_cell_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_value` [INFO] [stdout] --> src/lisprs/core/put.rs:18:69 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `deallocate` and `is_deallocated` are never used [INFO] [stdout] --> src/lisprs/cell.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Cell { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn deallocate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn is_deallocated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_stack_frame_idx` is never read [INFO] [stdout] --> src/lisprs/lisp_env.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 24 | pub(crate) mem: Slab, [INFO] [stdout] 25 | pub(crate) last_stack_frame_idx: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating benches/fib_bench.rs from 2021 edition to 2024 [INFO] [stderr] Fixed benches/../src/lisprs/core/cdr.rs (3 fixes) [INFO] [stderr] Fixed benches/../src/lisprs/core/if.rs (2 fixes) [INFO] [stderr] Fixed benches/../src/lisprs/core/lt_equal.rs (2 fixes) [INFO] [stderr] Fixed benches/../src/lisprs/core/sub.rs (2 fixes) [INFO] [stderr] Fixed benches/../src/lisprs/evaluator.rs (6 fixes) [INFO] [stderr] Fixed benches/../src/lisprs/core/structural_eq.rs (2 fixes) [INFO] [stderr] Fixed benches/../src/lisprs/symbol.rs (3 fixes) [INFO] [stderr] Fixed benches/../src/lisprs/parser.rs (3 fixes) [INFO] [stderr] Fixed benches/../src/lisprs/core/car.rs (2 fixes) [INFO] [stderr] Fixed benches/../src/lisprs/lisp_env.rs (2 fixes) [INFO] [stderr] Fixed benches/../src/lisprs/frame.rs (3 fixes) [INFO] [stderr] Fixed benches/../src/lisprs/iter.rs (2 fixes) [INFO] [stderr] Fixed benches/../src/lisprs/mod.rs (1 fix) [INFO] [stderr] Fixed benches/../src/lisprs/core/symbols.rs (3 fixes) [INFO] [stderr] Fixed benches/../src/lisprs/cell.rs (1 fix) [INFO] [stderr] Fixed benches/../src/lisprs/core/not.rs (2 fixes) [INFO] [stderr] Fixed benches/../src/lisprs/core/mult.rs (2 fixes) [INFO] [stderr] Fixed benches/../src/lisprs/core/add.rs (2 fixes) [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> benches/../src/lisprs/iter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol_cell_car` [INFO] [stdout] --> benches/../src/lisprs/core/put.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_cell_car` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.42s [INFO] [stdout] warning: unused variable: `property_name_cell_car` [INFO] [stdout] --> benches/../src/lisprs/core/put.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_name_cell_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_value` [INFO] [stdout] --> benches/../src/lisprs/core/put.rs:18:69 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_list`, `car_ptr`, `deallocate`, and `is_deallocated` are never used [INFO] [stdout] --> benches/../src/lisprs/cell.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Cell { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn is_list(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn car_ptr(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn deallocate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn is_deallocated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_stack_frame_idx` is never read [INFO] [stdout] --> benches/../src/lisprs/lisp_env.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 24 | pub(crate) mem: Slab, [INFO] [stdout] 25 | pub(crate) last_stack_frame_idx: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_memory`, `memory_size`, and `global_scope_contains_property` are never used [INFO] [stdout] --> benches/../src/lisprs/lisp_env.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 91 | impl LispEnv { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 216 | pub(crate) fn print_memory(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub(crate) fn memory_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub(crate) fn global_scope_contains_property(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_property_by_name`, `get_property_value_by_name`, and `property_count` are never used [INFO] [stdout] --> benches/../src/lisprs/symbol.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Symbol<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn get_property_by_name(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn get_property_value_by_name(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn property_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_true` is never used [INFO] [stdout] --> benches/../src/lisprs/util.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn is_true(val: u64) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking lisp-rs v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> benches/../src/lisprs/iter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::lisprs::Cell` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lisprs::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Cell` in `lisprs` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lisprs::cell; [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 2 | use core::cell::Cell; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] 2 | use std::cell::Cell; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/lisprs/iter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::lisprs::Cell` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lisprs::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Cell` in `lisprs` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lisprs::cell; [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 2 | use core::cell::Cell; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] 2 | use std::cell::Cell; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | trace!("-----"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::trace; [INFO] [stdout] | [INFO] [stdout] 202 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | trace!("------"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::trace; [INFO] [stdout] | [INFO] [stdout] 202 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | trace!("Res: {:?}", result); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::trace; [INFO] [stdout] | [INFO] [stdout] 202 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | trace!("Result: {}", Cell::format_component(result)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::trace; [INFO] [stdout] | [INFO] [stdout] 202 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:493:9 [INFO] [stdout] | [INFO] [stdout] 493 | trace!("------"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::trace; [INFO] [stdout] | [INFO] [stdout] 202 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | trace!("Res: {:?}", result); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::trace; [INFO] [stdout] | [INFO] [stdout] 202 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | trace!("Result: {}", Cell::format_component(result)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::trace; [INFO] [stdout] | [INFO] [stdout] 202 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:516:9 [INFO] [stdout] | [INFO] [stdout] 516 | trace!("------"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::trace; [INFO] [stdout] | [INFO] [stdout] 202 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | trace!("Res: {:?}", result); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::trace; [INFO] [stdout] | [INFO] [stdout] 202 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | trace!("Result: {}", Cell::format_component(result)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::trace; [INFO] [stdout] | [INFO] [stdout] 202 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | trace!("------"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::trace; [INFO] [stdout] | [INFO] [stdout] 202 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | trace!("Res: {:?}", result); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::trace; [INFO] [stdout] | [INFO] [stdout] 202 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:545:9 [INFO] [stdout] | [INFO] [stdout] 545 | trace!("Result: {}", Cell::format_component(result)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::trace; [INFO] [stdout] | [INFO] [stdout] 202 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | trace!("------"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::trace; [INFO] [stdout] | [INFO] [stdout] 202 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 564 | trace!("Res: {:?}", result); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::trace; [INFO] [stdout] | [INFO] [stdout] 202 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:568:9 [INFO] [stdout] | [INFO] [stdout] 568 | trace!("Result: {}", Cell::format_component(result)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::trace; [INFO] [stdout] | [INFO] [stdout] 202 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:477:9 [INFO] [stdout] | [INFO] [stdout] 477 | trace!("Foo prop ptr is {}", ptr(first_prop_ptr)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::trace; [INFO] [stdout] | [INFO] [stdout] 285 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | trace!("Bar prop slot is {}", ptr(nested_prop_slot)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::trace; [INFO] [stdout] | [INFO] [stdout] 285 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol_cell_car` [INFO] [stdout] --> benches/../src/lisprs/core/put.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_cell_car` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_name_cell_car` [INFO] [stdout] --> benches/../src/lisprs/core/put.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_name_cell_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_value` [INFO] [stdout] --> benches/../src/lisprs/core/put.rs:18:69 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol_cell_car` [INFO] [stdout] --> src/lisprs/core/put.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_cell_car` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_name_cell_car` [INFO] [stdout] --> src/lisprs/core/put.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_name_cell_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_value` [INFO] [stdout] --> src/lisprs/core/put.rs:18:69 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_list`, `car_ptr`, `deallocate`, and `is_deallocated` are never used [INFO] [stdout] --> benches/../src/lisprs/cell.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Cell { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn is_list(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn car_ptr(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn deallocate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn is_deallocated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_stack_frame_idx` is never read [INFO] [stdout] --> benches/../src/lisprs/lisp_env.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 24 | pub(crate) mem: Slab, [INFO] [stdout] 25 | pub(crate) last_stack_frame_idx: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_memory`, `memory_size`, and `global_scope_contains_property` are never used [INFO] [stdout] --> benches/../src/lisprs/lisp_env.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 91 | impl LispEnv { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 216 | pub(crate) fn print_memory(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub(crate) fn memory_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub(crate) fn global_scope_contains_property(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_property_by_name`, `get_property_value_by_name`, and `property_count` are never used [INFO] [stdout] --> benches/../src/lisprs/symbol.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> Symbol<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn get_property_by_name(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn get_property_value_by_name(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn property_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_true` is never used [INFO] [stdout] --> benches/../src/lisprs/util.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn is_true(val: u64) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lisp-rs` (bin "lisp-rs") due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/cell.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | let mut cell = Cell::empty(); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 112 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 112 + use crate::lisprs::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 112 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/add.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/core/add.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(number_pointer(3), result); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 52 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/add.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_number` in this scope [INFO] [stdout] --> src/lisprs/core/add.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | assert!(is_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 52 + use crate::lisprs::util::is_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/core/add.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(7, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 52 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/add.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 52 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_number` in this scope [INFO] [stdout] --> src/lisprs/core/add.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | assert!(is_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 52 + use crate::lisprs::util::is_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/core/add.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(21, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 52 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/car.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 44 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/core/car.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(1, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 44 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/car.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 44 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/car.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 44 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/core/car.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(1, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 44 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/car.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 44 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/core/car.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!(2, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 44 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/cdr.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 31 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/cdr.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 31 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/cdr.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 31 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_pointer` in this scope [INFO] [stdout] --> src/lisprs/core/cdr.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | assert!(is_pointer(result)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 31 + use crate::lisprs::util::is_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/core/cdr.rs:67:48 [INFO] [stdout] | [INFO] [stdout] 67 | let first_item = env.memory.borrow_mem(ptr(result)).cell.car; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 31 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/core/cdr.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(2, as_number(first_item)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 31 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_true` in this scope [INFO] [stdout] --> src/lisprs/core/cdr.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | assert!(is_true(test_result)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 31 + use crate::lisprs::util::is_true; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/cdr.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 31 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_pointer` in this scope [INFO] [stdout] --> src/lisprs/core/cdr.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | assert!(is_pointer(result)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 31 + use crate::lisprs::util::is_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> src/lisprs/core/cdr.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | let list_values = List::as_list(result, &env) [INFO] [stdout] | ^^^^ use of undeclared type `List` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 + use crate::lisprs::list::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/core/cdr.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | .map(|val| as_number(val)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 31 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/if.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 39 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_number` in this scope [INFO] [stdout] --> src/lisprs/core/if.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | assert!(is_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 39 + use crate::lisprs::util::is_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/core/if.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(1, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 39 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/if.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 39 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_number` in this scope [INFO] [stdout] --> src/lisprs/core/if.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | assert!(is_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 39 + use crate::lisprs::util::is_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/core/if.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(2, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 39 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/if.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 39 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_number` in this scope [INFO] [stdout] --> src/lisprs/core/if.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | assert!(is_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 39 + use crate::lisprs::util::is_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/core/if.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | assert_eq!(2, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 39 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/if.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 39 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_number` in this scope [INFO] [stdout] --> src/lisprs/core/if.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | assert!(is_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 39 + use crate::lisprs::util::is_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/core/if.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | assert_eq!(2, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 39 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/if.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 39 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_number` in this scope [INFO] [stdout] --> src/lisprs/core/if.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | assert!(is_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 39 + use crate::lisprs::util::is_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/core/if.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(3, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 39 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/lt_equal.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 45 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `true_symbol` in this scope [INFO] [stdout] --> src/lisprs/core/lt_equal.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(true_symbol(), result); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 45 + use crate::lisprs::util::true_symbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/lt_equal.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 45 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `true_symbol` in this scope [INFO] [stdout] --> src/lisprs/core/lt_equal.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | assert_eq!(true_symbol(), result); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 45 + use crate::lisprs::util::true_symbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/lt_equal.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 45 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/mult.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 50 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/core/mult.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(number_pointer(12), result); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/mult.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 50 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/core/mult.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | assert_eq!(number_pointer(60), result); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/mult.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 50 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/core/mult.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(number_pointer(18), result); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 50 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/not.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 32 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/not.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 32 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_true` in this scope [INFO] [stdout] --> src/lisprs/core/not.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | assert!(is_true(result.unwrap())); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 32 + use crate::lisprs::util::is_true; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/structural_eq.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 105 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/structural_eq.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 105 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_true` in this scope [INFO] [stdout] --> src/lisprs/core/structural_eq.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | assert!(is_true(result.unwrap())); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 105 + use crate::lisprs::util::is_true; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/structural_eq.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 105 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/structural_eq.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 105 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_true` in this scope [INFO] [stdout] --> src/lisprs/core/structural_eq.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | assert!(is_true(result.unwrap())); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 105 + use crate::lisprs::util::is_true; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/structural_eq.rs:147:23 [INFO] [stdout] | [INFO] [stdout] 147 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 105 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/structural_eq.rs:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 105 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_true` in this scope [INFO] [stdout] --> src/lisprs/core/structural_eq.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | assert!(is_true(result.unwrap())); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 105 + use crate::lisprs::util::is_true; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/structural_eq.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 105 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/structural_eq.rs:177:23 [INFO] [stdout] | [INFO] [stdout] 177 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 105 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_true` in this scope [INFO] [stdout] --> src/lisprs/core/structural_eq.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | assert!(is_true(result.unwrap())); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 105 + use crate::lisprs::util::is_true; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/structural_eq.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 105 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_true` in this scope [INFO] [stdout] --> src/lisprs/core/structural_eq.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | assert!(is_true(result.unwrap())); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 105 + use crate::lisprs::util::is_true; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/sub.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 41 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/core/sub.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(number_pointer(3), result); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 41 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/core/symbols.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 47 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_pointer` in this scope [INFO] [stdout] --> src/lisprs/core/symbols.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | assert!(is_pointer(result)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 + use crate::lisprs::util::is_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/core/symbols.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | let root_cell = &env.memory.borrow_mem(ptr(result)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 47 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/core/symbols.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(Cell::encode_symbol_name("_lisprs").0, root_cell.cell.car); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 47 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 47 + use crate::lisprs::core::symbols::Cell; [INFO] [stdout] | [INFO] [stdout] 47 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | let env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(Ok(number_pointer(1)), env.evaluate_atom(number_pointer(1))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:205:61 [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(Ok(number_pointer(1)), env.evaluate_atom(number_pointer(1))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:210:23 [INFO] [stdout] | [INFO] [stdout] 210 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/evaluator.rs:216:20 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(Cell::encode_symbol_name("a").0, result); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::Cell; [INFO] [stdout] | [INFO] [stdout] 202 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:221:23 [INFO] [stdout] | [INFO] [stdout] 221 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> src/lisprs/evaluator.rs:228:27 [INFO] [stdout] | [INFO] [stdout] 228 | let symbol_ptrs = List::as_list(result, &env).iter().collect::>(); [INFO] [stdout] | ^^^^ use of undeclared type `List` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::list::List; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:235:23 [INFO] [stdout] | [INFO] [stdout] 235 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_pointer` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | assert!(is_pointer(result)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::is_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:244:42 [INFO] [stdout] | [INFO] [stdout] 244 | let list = env.memory.borrow_mem(ptr(result)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 245 | assert_eq!(number_pointer(1), list.cell.car); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:247:43 [INFO] [stdout] | [INFO] [stdout] 247 | let entry = env.memory.borrow_mem(ptr(list.cell.cdr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 248 | assert_eq!(number_pointer(2), entry.cell.car); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:250:43 [INFO] [stdout] | [INFO] [stdout] 250 | let entry = env.memory.borrow_mem(ptr(entry.cell.cdr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | assert_eq!(number_pointer(3), entry.cell.car); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_pointer` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | assert!(is_pointer(result)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::is_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:264:48 [INFO] [stdout] | [INFO] [stdout] 264 | let list_head = &env.memory.borrow_mem(ptr(result)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:265:20 [INFO] [stdout] | [INFO] [stdout] 265 | assert_eq!(number_pointer(2), list_head.cell.car); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:267:48 [INFO] [stdout] | [INFO] [stdout] 267 | let list_tail = &env.memory.borrow_mem(ptr(list_head.cell.cdr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_number` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | assert!(is_number(list_tail.cell.car)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::is_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:269:20 [INFO] [stdout] | [INFO] [stdout] 269 | assert_eq!(number_pointer(18), list_tail.cell.car); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:274:23 [INFO] [stdout] | [INFO] [stdout] 274 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_number` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 280 | assert!(is_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::is_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 281 | assert_eq!(10, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:286:23 [INFO] [stdout] | [INFO] [stdout] 286 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | assert_eq!(300, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:297:23 [INFO] [stdout] | [INFO] [stdout] 297 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/evaluator.rs:306:40 [INFO] [stdout] | [INFO] [stdout] 306 | .get_property_value_by_ptr(Cell::encode_symbol_name("foo").0) [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::Cell; [INFO] [stdout] | [INFO] [stdout] 202 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:309:55 [INFO] [stdout] | [INFO] [stdout] 309 | let foo_def_cell = &env.memory.borrow_mem(ptr(foo_def)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_pointer` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:310:21 [INFO] [stdout] | [INFO] [stdout] 310 | assert!(is_pointer(foo_def_cell.cell.car)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::is_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:311:56 [INFO] [stdout] | [INFO] [stdout] 311 | let arg_list_cell = &env.memory.borrow_mem(ptr(foo_def_cell.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_pointer` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | assert!(is_pointer(arg_list_cell.cell.car)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::is_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:315:52 [INFO] [stdout] | [INFO] [stdout] 315 | let first_arg = &env.memory.borrow_mem(ptr(arg_list_cell.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/evaluator.rs:316:29 [INFO] [stdout] | [INFO] [stdout] 316 | assert_eq!("X", Cell::decode_symbol_name(first_arg.cell.car)); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::Cell; [INFO] [stdout] | [INFO] [stdout] 202 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_pointer` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:319:21 [INFO] [stdout] | [INFO] [stdout] 319 | assert!(is_pointer(foo_def_cell.cell.cdr)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::is_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_symbol_ptr` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:320:21 [INFO] [stdout] | [INFO] [stdout] 320 | assert!(is_symbol_ptr(foo_def_cell.cell.cdr)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::is_symbol_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:322:52 [INFO] [stdout] | [INFO] [stdout] 322 | let prog_body = &env.memory.borrow_mem(ptr(foo_def_cell.cell.cdr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/evaluator.rs:323:29 [INFO] [stdout] | [INFO] [stdout] 323 | assert_eq!("X", Cell::decode_symbol_name(prog_body.cell.car)); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::Cell; [INFO] [stdout] | [INFO] [stdout] 202 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:331:23 [INFO] [stdout] | [INFO] [stdout] 331 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/evaluator.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | Cell::decode_symbol_name(env.memory.borrow_mem(ptr(result)).cell.car) [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 202 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::evaluator::Cell; [INFO] [stdout] | [INFO] [stdout] 202 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:340:60 [INFO] [stdout] | [INFO] [stdout] 340 | Cell::decode_symbol_name(env.memory.borrow_mem(ptr(result)).cell.car) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:352:23 [INFO] [stdout] | [INFO] [stdout] 352 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:368:23 [INFO] [stdout] | [INFO] [stdout] 368 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/lisprs/evaluator.rs:381:24 [INFO] [stdout] | [INFO] [stdout] 381 | let x_symbol = Symbol::as_symbol(x_prop, &env); [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::symbol::Symbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:387:23 [INFO] [stdout] | [INFO] [stdout] 387 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:395:24 [INFO] [stdout] | [INFO] [stdout] 395 | assert_eq!(42, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:400:23 [INFO] [stdout] | [INFO] [stdout] 400 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:415:20 [INFO] [stdout] | [INFO] [stdout] 415 | assert_eq!(as_number(result.unwrap()), 1); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:420:23 [INFO] [stdout] | [INFO] [stdout] 420 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:435:20 [INFO] [stdout] | [INFO] [stdout] 435 | assert_eq!(as_number(result.unwrap()), 1); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:440:23 [INFO] [stdout] | [INFO] [stdout] 440 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:455:20 [INFO] [stdout] | [INFO] [stdout] 455 | assert_eq!(as_number(result.unwrap()), 19); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:460:23 [INFO] [stdout] | [INFO] [stdout] 460 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:478:23 [INFO] [stdout] | [INFO] [stdout] 478 | assert_eq!(1, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:483:23 [INFO] [stdout] | [INFO] [stdout] 483 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:501:23 [INFO] [stdout] | [INFO] [stdout] 501 | assert_eq!(2, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:506:23 [INFO] [stdout] | [INFO] [stdout] 506 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:524:23 [INFO] [stdout] | [INFO] [stdout] 524 | assert_eq!(3, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:529:23 [INFO] [stdout] | [INFO] [stdout] 529 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:547:23 [INFO] [stdout] | [INFO] [stdout] 547 | assert_eq!(5, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/evaluator.rs:552:23 [INFO] [stdout] | [INFO] [stdout] 552 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/evaluator.rs:571:24 [INFO] [stdout] | [INFO] [stdout] 571 | assert_eq!(55, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 202 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/frame.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | let env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 138 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_symbol_ptr` in this scope [INFO] [stdout] --> src/lisprs/frame.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | assert!(is_symbol_ptr(frame.symbol_map_ptr)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 138 + use crate::lisprs::util::is_symbol_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/frame.rs:146:54 [INFO] [stdout] | [INFO] [stdout] 146 | let stack_slot_cell = &env.memory.borrow_mem(ptr(head_stack_cdr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 138 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/frame.rs:149:49 [INFO] [stdout] | [INFO] [stdout] 149 | let frame_cell = &env.memory.borrow_mem(ptr(stack_slot_cell.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 138 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/frame.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | let env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 138 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/frame.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 164 | let env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 138 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/frame.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 166 | frame.append_property(Cell::encode_symbol_name("foo").0, 10); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 138 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 138 + use crate::lisprs::frame::Cell; [INFO] [stdout] | [INFO] [stdout] 138 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/frame.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | frame.append_property(Cell::encode_symbol_name("bar").0, 42); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 138 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 138 + use crate::lisprs::frame::Cell; [INFO] [stdout] | [INFO] [stdout] 138 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/frame.rs:168:31 [INFO] [stdout] | [INFO] [stdout] 168 | frame.append_property(Cell::encode_symbol_name("foobar").0, 24); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 138 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 138 + use crate::lisprs::frame::Cell; [INFO] [stdout] | [INFO] [stdout] 138 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/iter.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 56 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/iter.rs:61:47 [INFO] [stdout] | [INFO] [stdout] 61 | let list_cell = env.memory.borrow_mem(ptr(list_ptr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 56 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/iter.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | .map(|car| as_number(car)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 56 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/iter.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 56 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/iter.rs:75:47 [INFO] [stdout] | [INFO] [stdout] 75 | let list_cell = env.memory.borrow_mem(ptr(list_ptr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 56 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/lisp_env.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 287 | let env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:294:23 [INFO] [stdout] | [INFO] [stdout] 294 | let encoded = Cell::encode_symbol_name("NIL").0; [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:301:31 [INFO] [stdout] | [INFO] [stdout] 301 | let (encoded, rest) = Cell::encode_symbol_name("abcdefghijklmnop"); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:317:24 [INFO] [stdout] | [INFO] [stdout] 317 | let (val, _) = Cell::encode_symbol_name("a"); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:323:25 [INFO] [stdout] | [INFO] [stdout] 323 | assert_eq!("a", Cell::decode_symbol_name(24834_u64)); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:328:27 [INFO] [stdout] | [INFO] [stdout] 328 | assert_eq!("nil", Cell::decode_symbol_name(1818848770_u64)); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/lisp_env.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 333 | let env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:336:48 [INFO] [stdout] | [INFO] [stdout] 336 | let scope_root = env.memory.borrow_mem(ptr(env.internal_symbols_key)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_pointer` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 338 | assert!(is_pointer(scope_root.cell.car)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::is_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:340:48 [INFO] [stdout] | [INFO] [stdout] 340 | let scope_name = env.memory.borrow_mem(ptr(scope_root.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:342:20 [INFO] [stdout] | [INFO] [stdout] 342 | assert_eq!(Cell::encode_symbol_name("_lisprs").0, scope_name.cell.cdr); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/lisp_env.rs:348:19 [INFO] [stdout] | [INFO] [stdout] 348 | let env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:352:24 [INFO] [stdout] | [INFO] [stdout] 352 | let name_ptr = Cell::encode_symbol_name("foo").0; [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:353:58 [INFO] [stdout] | [INFO] [stdout] 353 | let prop_slot = symbol.append_property(name_ptr, number_pointer(10)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:370:38 [INFO] [stdout] | [INFO] [stdout] 370 | assert_eq!(symbol.idx() + 3, ptr(root_cell.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | Cell::encode_symbol_name("symb").0, [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:378:52 [INFO] [stdout] | [INFO] [stdout] 378 | let prop_slot_cell = env.memory.borrow_mem(ptr(symbol_name_cell.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:381:46 [INFO] [stdout] | [INFO] [stdout] 381 | let prop_ptr = env.memory.borrow_mem(ptr(prop_slot)).cell.car; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:382:47 [INFO] [stdout] | [INFO] [stdout] 382 | let prop_cell = env.memory.borrow_mem(ptr(prop_ptr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:383:24 [INFO] [stdout] | [INFO] [stdout] 383 | assert_eq!(10, as_number(prop_cell.cell.car)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:384:20 [INFO] [stdout] | [INFO] [stdout] 384 | assert_eq!(Cell::encode_symbol_name("foo").0, prop_cell.cell.cdr); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/lisp_env.rs:390:19 [INFO] [stdout] | [INFO] [stdout] 390 | let env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:393:30 [INFO] [stdout] | [INFO] [stdout] 393 | let first_name_ptr = Cell::encode_symbol_name("foo").0; [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:394:70 [INFO] [stdout] | [INFO] [stdout] 394 | let first_prop_slot = symbol.append_property(first_name_ptr, number_pointer(10)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:396:31 [INFO] [stdout] | [INFO] [stdout] 396 | let second_name_ptr = Cell::encode_symbol_name("bar").0; [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:397:72 [INFO] [stdout] | [INFO] [stdout] 397 | let second_prop_slot = symbol.append_property(second_name_ptr, number_pointer(42)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:410:52 [INFO] [stdout] | [INFO] [stdout] 410 | let first_prop_ptr = env.memory.borrow_mem(ptr(first_prop_slot)).cell.car; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:411:47 [INFO] [stdout] | [INFO] [stdout] 411 | let foo_cell = &env.memory.borrow_mem(ptr(first_prop_ptr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:413:24 [INFO] [stdout] | [INFO] [stdout] 413 | assert_eq!(10, as_number(foo_cell.cell.car)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:415:53 [INFO] [stdout] | [INFO] [stdout] 415 | let second_prop_ptr = env.memory.borrow_mem(ptr(second_prop_slot)).cell.car; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:416:47 [INFO] [stdout] | [INFO] [stdout] 416 | let bar_cell = &env.memory.borrow_mem(ptr(second_prop_ptr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:418:24 [INFO] [stdout] | [INFO] [stdout] 418 | assert_eq!(42, as_number(bar_cell.cell.car)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:421:56 [INFO] [stdout] | [INFO] [stdout] 421 | let property_root_cell = env.memory.borrow_mem(ptr(property_root_ptr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | Cell::encode_symbol_name("symb").0, [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:427:52 [INFO] [stdout] | [INFO] [stdout] 427 | let foo_slot_cell = &env.memory.borrow_mem(ptr(property_root_cell.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:430:52 [INFO] [stdout] | [INFO] [stdout] 430 | let bar_slot_cell = &env.memory.borrow_mem(ptr(foo_slot_cell.cell.cdr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/lisp_env.rs:451:19 [INFO] [stdout] | [INFO] [stdout] 451 | let env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:455:41 [INFO] [stdout] | [INFO] [stdout] 455 | root_symbol.append_property(Cell::encode_symbol_name("bar").0, property_symbol.ptr()); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/lisp_env.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | let env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:475:30 [INFO] [stdout] | [INFO] [stdout] 475 | let first_name_ptr = Cell::encode_symbol_name("foo").0; [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/lisprs/lisp_env.rs:489:27 [INFO] [stdout] | [INFO] [stdout] 489 | let prop_symbol = Symbol::as_symbol(first_prop_ptr, &env); [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::symbol::Symbol; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:491:41 [INFO] [stdout] | [INFO] [stdout] 491 | prop_symbol.append_property(Cell::encode_symbol_name("bar").0, number_pointer(42)); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:491:76 [INFO] [stdout] | [INFO] [stdout] 491 | prop_symbol.append_property(Cell::encode_symbol_name("bar").0, number_pointer(42)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:507:53 [INFO] [stdout] | [INFO] [stdout] 507 | let nested_prop_ptr = env.memory.borrow_mem(ptr(nested_prop_slot)).cell.car; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:508:47 [INFO] [stdout] | [INFO] [stdout] 508 | let bar_cell = &env.memory.borrow_mem(ptr(nested_prop_ptr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:509:24 [INFO] [stdout] | [INFO] [stdout] 509 | assert_eq!(42, as_number(bar_cell.cell.car)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:510:20 [INFO] [stdout] | [INFO] [stdout] 510 | assert_eq!(Cell::encode_symbol_name("bar").0, bar_cell.cell.cdr); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/lisp_env.rs:515:19 [INFO] [stdout] | [INFO] [stdout] 515 | let env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:516:24 [INFO] [stdout] | [INFO] [stdout] 516 | let name_ptr = Cell::encode_symbol_name("foo").0; [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:518:40 [INFO] [stdout] | [INFO] [stdout] 518 | .append_property(name_ptr, number_pointer(10)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/lisp_env.rs:524:19 [INFO] [stdout] | [INFO] [stdout] 524 | let env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/lisp_env.rs:526:24 [INFO] [stdout] | [INFO] [stdout] 526 | let name_ptr = Cell::encode_symbol_name("bar").0; [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 285 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::lisp_env::Cell; [INFO] [stdout] | [INFO] [stdout] 285 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:527:40 [INFO] [stdout] | [INFO] [stdout] 527 | symb.append_property(name_ptr, number_pointer(10)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:529:18 [INFO] [stdout] | [INFO] [stdout] 529 | Some(number_pointer(10)), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/lisp_env.rs:536:23 [INFO] [stdout] | [INFO] [stdout] 536 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/lisp_env.rs:544:23 [INFO] [stdout] | [INFO] [stdout] 544 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:548:23 [INFO] [stdout] | [INFO] [stdout] 548 | assert_eq!(1, as_number(env.memory.borrow_mem(last_idx).cell.car)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/lisp_env.rs:553:23 [INFO] [stdout] | [INFO] [stdout] 553 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:557:23 [INFO] [stdout] | [INFO] [stdout] 557 | assert_eq!(3, as_number(env.memory.borrow_mem(last_idx).cell.car)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/lisp_env.rs:562:23 [INFO] [stdout] | [INFO] [stdout] 562 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:565:23 [INFO] [stdout] | [INFO] [stdout] 565 | assert_eq!(2, as_number(result)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/lisp_env.rs:570:19 [INFO] [stdout] | [INFO] [stdout] 570 | let env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_pointer` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:574:17 [INFO] [stdout] | [INFO] [stdout] 574 | assert!(is_pointer(root_stack_cell.cell.car)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::is_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/lisp_env.rs:576:48 [INFO] [stdout] | [INFO] [stdout] 576 | let frame_cell = env.memory.borrow_mem(ptr(root_stack_cell.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 285 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/parser.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:137:43 [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!(1, env.get_list_length(as_ptr(statements))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::as_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/parser.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:148:43 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(1, env.get_list_length(as_ptr(result))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::as_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_pointer` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | assert!(is_pointer(statement.cell.car)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:153:42 [INFO] [stdout] | [INFO] [stdout] 153 | let cell = env.memory.borrow_mem(ptr(statement.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_symbol_ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | assert!(is_symbol_ptr(cell.cell.car)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_symbol_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_number` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | assert!(is_number(first_element.cell.car)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/parser.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!("a", Cell::decode_symbol_name(first_element.cell.car)); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 130 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::parser::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/parser.rs:164:23 [INFO] [stdout] | [INFO] [stdout] 164 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_pointer` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | assert!(is_pointer(first_statement.cell.car)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:180:42 [INFO] [stdout] | [INFO] [stdout] 180 | let cell = env.memory.borrow_mem(ptr(first_statement.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/parser.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_pointer` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | assert!(is_pointer(first_statement.cell.car)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:200:47 [INFO] [stdout] | [INFO] [stdout] 200 | let list_head = env.memory.borrow_mem(ptr(first_statement.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/parser.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:218:47 [INFO] [stdout] | [INFO] [stdout] 218 | let list_head = env.memory.borrow_mem(ptr(first_statement.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_pointer` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | assert!(is_pointer(list_head.cell.car)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:222:54 [INFO] [stdout] | [INFO] [stdout] 222 | let nested_list_head = env.memory.borrow_mem(ptr(list_head.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_symbol_ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | assert!(is_symbol_ptr(nested_list_head.cell.car)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_symbol_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:227:44 [INFO] [stdout] | [INFO] [stdout] 227 | let symbol = env.memory.borrow_mem(ptr(nested_list_head.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/parser.rs:228:25 [INFO] [stdout] | [INFO] [stdout] 228 | assert_eq!("a", Cell::decode_symbol_name(symbol.cell.car)); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 130 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::parser::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/parser.rs:233:23 [INFO] [stdout] | [INFO] [stdout] 233 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:239:47 [INFO] [stdout] | [INFO] [stdout] 239 | let list_head = env.memory.borrow_mem(ptr(first_statement.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:240:23 [INFO] [stdout] | [INFO] [stdout] 240 | assert_eq!(1, as_number(list_head.cell.car)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:241:23 [INFO] [stdout] | [INFO] [stdout] 241 | assert_eq!(2, as_number(list_head.cell.cdr)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/parser.rs:246:23 [INFO] [stdout] | [INFO] [stdout] 246 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:252:47 [INFO] [stdout] | [INFO] [stdout] 252 | let list_head = env.memory.borrow_mem(ptr(first_statement.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:253:23 [INFO] [stdout] | [INFO] [stdout] 253 | assert_eq!(1, as_number(list_head.cell.car)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_pointer` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | assert!(is_pointer(list_head.cell.cdr)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:256:49 [INFO] [stdout] | [INFO] [stdout] 256 | let second_cell = env.memory.borrow_mem(ptr(list_head.cell.cdr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:257:23 [INFO] [stdout] | [INFO] [stdout] 257 | assert_eq!(2, as_number(second_cell.cell.car)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_pointer` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | assert!(is_pointer(second_cell.cell.cdr)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:260:48 [INFO] [stdout] | [INFO] [stdout] 260 | let third_cell = env.memory.borrow_mem(ptr(second_cell.cell.cdr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:261:23 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(3, as_number(third_cell.cell.car)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_symbol_ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | assert!(is_symbol_ptr(third_cell.cell.cdr)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_symbol_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:264:56 [INFO] [stdout] | [INFO] [stdout] 264 | let final_symbol_cell = &env.memory.borrow_mem(ptr(third_cell.cell.cdr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/parser.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | Cell::encode_symbol_name("NIL").0, [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 130 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::parser::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/parser.rs:273:23 [INFO] [stdout] | [INFO] [stdout] 273 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:279:53 [INFO] [stdout] | [INFO] [stdout] 279 | let first_statement = env.memory.borrow_mem(ptr(first_statement_ptr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_symbol_ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | assert!(is_symbol_ptr(first_statement.cell.car)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_symbol_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:284:49 [INFO] [stdout] | [INFO] [stdout] 284 | let symbol_cell = env.memory.borrow_mem(ptr(first_statement.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/parser.rs:285:20 [INFO] [stdout] | [INFO] [stdout] 285 | assert_eq!(Cell::encode_symbol_name("quote").0, symbol_cell.cell.car); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 130 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::parser::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:287:49 [INFO] [stdout] | [INFO] [stdout] 287 | let number_cell = env.memory.borrow_mem(ptr(first_statement.cell.cdr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_number` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | assert!(is_number(number_cell.cell.car)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_number` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:289:23 [INFO] [stdout] | [INFO] [stdout] 289 | assert_eq!(1, as_number(number_cell.cell.car)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::as_number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/parser.rs:295:23 [INFO] [stdout] | [INFO] [stdout] 295 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:301:53 [INFO] [stdout] | [INFO] [stdout] 301 | let first_statement = env.memory.borrow_mem(ptr(first_statement_ptr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_symbol_ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | assert!(is_symbol_ptr(first_statement.cell.car)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_symbol_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:306:55 [INFO] [stdout] | [INFO] [stdout] 306 | let quote_symbol_cell = env.memory.borrow_mem(ptr(first_statement.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/parser.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | Cell::encode_symbol_name("quote").0, [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 130 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::parser::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:312:54 [INFO] [stdout] | [INFO] [stdout] 312 | let symbol_slot_cell = env.memory.borrow_mem(ptr(first_statement.cell.cdr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_symbol_ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | assert!(is_symbol_ptr(symbol_slot_cell.cell.car)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_symbol_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:316:50 [INFO] [stdout] | [INFO] [stdout] 316 | let symbol_cell = &env.memory.borrow_mem(ptr(symbol_slot_cell.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/parser.rs:317:25 [INFO] [stdout] | [INFO] [stdout] 317 | assert_eq!("a", Cell::decode_symbol_name(symbol_cell.cell.car)); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 130 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::parser::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/parser.rs:323:23 [INFO] [stdout] | [INFO] [stdout] 323 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:329:53 [INFO] [stdout] | [INFO] [stdout] 329 | let first_statement = env.memory.borrow_mem(ptr(first_statement_ptr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_symbol_ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | assert!(is_symbol_ptr(first_statement.cell.car)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_symbol_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/parser.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | Cell::encode_symbol_name("quote").0, [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 130 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::parser::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:335:29 [INFO] [stdout] | [INFO] [stdout] 335 | .borrow_mem(ptr(first_statement.cell.car)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:341:54 [INFO] [stdout] | [INFO] [stdout] 341 | let symbol_slot_cell = env.memory.borrow_mem(ptr(first_statement.cell.cdr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_symbol_ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | assert!(is_symbol_ptr(symbol_slot_cell.cell.car)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_symbol_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:345:49 [INFO] [stdout] | [INFO] [stdout] 345 | let symbol_cell = env.memory.borrow_mem(ptr(symbol_slot_cell.cell.car)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/parser.rs:346:25 [INFO] [stdout] | [INFO] [stdout] 346 | assert_eq!("a", Cell::decode_symbol_name(symbol_cell.cell.car)); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 130 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::parser::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/parser.rs:352:23 [INFO] [stdout] | [INFO] [stdout] 352 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:358:54 [INFO] [stdout] | [INFO] [stdout] 358 | let first_statement = &env.memory.borrow_mem(ptr(first_statement_ptr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_symbol_ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | assert!(is_symbol_ptr(first_statement.cell.car)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_symbol_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/parser.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | Cell::encode_symbol_name("a").0, [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 130 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::parser::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:364:29 [INFO] [stdout] | [INFO] [stdout] 364 | .borrow_mem(ptr(first_statement.cell.car)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:369:51 [INFO] [stdout] | [INFO] [stdout] 369 | let second_entry = &env.memory.borrow_mem(ptr(first_statement.cell.cdr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_symbol_ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | assert!(is_symbol_ptr(second_entry.cell.car)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_symbol_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/parser.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | Cell::encode_symbol_name("a").0, [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 130 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::parser::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:373:35 [INFO] [stdout] | [INFO] [stdout] 373 | env.memory.borrow_mem(ptr(second_entry.cell.car)).cell.car [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:376:50 [INFO] [stdout] | [INFO] [stdout] 376 | let third_entry = &env.memory.borrow_mem(ptr(second_entry.cell.cdr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_symbol_ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:377:17 [INFO] [stdout] | [INFO] [stdout] 377 | assert!(is_symbol_ptr(third_entry.cell.car)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::is_symbol_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/parser.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | Cell::encode_symbol_name("a").0, [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 130 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::parser::Cell; [INFO] [stdout] | [INFO] [stdout] 130 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:380:35 [INFO] [stdout] | [INFO] [stdout] 380 | env.memory.borrow_mem(ptr(third_entry.cell.car)).cell.car [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/parser.rs:484:23 [INFO] [stdout] | [INFO] [stdout] 484 | let mut env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:489:43 [INFO] [stdout] | [INFO] [stdout] 489 | assert_eq!(2, env.get_list_length(as_ptr(result))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::as_ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ptr` in this scope [INFO] [stdout] --> src/lisprs/parser.rs:494:54 [INFO] [stdout] | [INFO] [stdout] 494 | let second_statement = env.memory.borrow_mem(ptr(statements.cell.cdr)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 130 + use crate::lisprs::util::ptr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/symbol.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | let env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 236 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LispEnv` [INFO] [stdout] --> src/lisprs/symbol.rs:245:19 [INFO] [stdout] | [INFO] [stdout] 245 | let env = LispEnv::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `LispEnv` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 236 + use crate::lisprs::LispEnv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lisprs/symbol.rs:247:30 [INFO] [stdout] | [INFO] [stdout] 247 | let first_name_ptr = Cell::encode_symbol_name("foo").0; [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 236 + use core::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 236 + use crate::lisprs::symbol::Cell; [INFO] [stdout] | [INFO] [stdout] 236 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `number_pointer` in this scope [INFO] [stdout] --> src/lisprs/symbol.rs:248:48 [INFO] [stdout] | [INFO] [stdout] 248 | symbol.append_property(first_name_ptr, number_pointer(10)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 236 + use crate::lisprs::util::number_pointer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/lisprs/iter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/36dbcaee1a55543dfc181be52a69d99ff46ff62f/library/std/src/prelude/mod.rs:161:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol_cell_car` [INFO] [stdout] --> src/lisprs/core/put.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_cell_car` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_name_cell_car` [INFO] [stdout] --> src/lisprs/core/put.rs:18:45 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_name_cell_car` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property_value` [INFO] [stdout] --> src/lisprs/core/put.rs:18:69 [INFO] [stdout] | [INFO] [stdout] 18 | let (_symbol_name, symbol_cell_car, property_name_cell_car, property_value) = { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 320 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lisp-rs` (bin "lisp-rs" test) due to 321 previous errors; 4 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "2d7cc082f503c156c25b3c4167f77b0a20f7fa4efd9ee20685e3d4ce4761c310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d7cc082f503c156c25b3c4167f77b0a20f7fa4efd9ee20685e3d4ce4761c310", kill_on_drop: false }` [INFO] [stdout] 2d7cc082f503c156c25b3c4167f77b0a20f7fa4efd9ee20685e3d4ce4761c310