[INFO] cloning repository https://github.com/Javyre/uLisp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Javyre/uLisp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJavyre%2FuLisp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJavyre%2FuLisp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 154a087a648f8908f78d94232b842211c8a831e7 [INFO] checking Javyre/uLisp/154a087a648f8908f78d94232b842211c8a831e7 against master#cccf075eba88363269e8589ebb8d40874cc542d8 for pr-142681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJavyre%2FuLisp" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Javyre/uLisp [INFO] finished tweaking git repo https://github.com/Javyre/uLisp [INFO] tweaked toml for git repo https://github.com/Javyre/uLisp written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Javyre/uLisp on toolchain cccf075eba88363269e8589ebb8d40874cc542d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cccf075eba88363269e8589ebb8d40874cc542d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Javyre/uLisp 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" "+cccf075eba88363269e8589ebb8d40874cc542d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quick-error v1.2.1 [INFO] [stderr] Downloaded regex-syntax v0.5.3 [INFO] [stderr] Downloaded env_logger v0.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+cccf075eba88363269e8589ebb8d40874cc542d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d2ef087392ab8b00fef91ab0a96ecaa8621ef232245d8e1f363c8910cad6009 [INFO] running `Command { std: "docker" "start" "-a" "4d2ef087392ab8b00fef91ab0a96ecaa8621ef232245d8e1f363c8910cad6009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d2ef087392ab8b00fef91ab0a96ecaa8621ef232245d8e1f363c8910cad6009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d2ef087392ab8b00fef91ab0a96ecaa8621ef232245d8e1f363c8910cad6009", kill_on_drop: false }` [INFO] [stdout] 4d2ef087392ab8b00fef91ab0a96ecaa8621ef232245d8e1f363c8910cad6009 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+cccf075eba88363269e8589ebb8d40874cc542d8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f9bea0f5b06953f87bb4bbfe3685e4a7b44f3fc144199d8e8e401040b94c949 [INFO] running `Command { std: "docker" "start" "-a" "2f9bea0f5b06953f87bb4bbfe3685e4a7b44f3fc144199d8e8e401040b94c949", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking quick-error v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking regex-syntax v0.5.3 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.8 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking env_logger v0.5.6 [INFO] [stderr] Checking ulisp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RefMut` and `Ref` [INFO] [stdout] --> src/vm/mem.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Ref, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | RefMut, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / bitflags! { [INFO] [stdout] 25 | | pub struct LoadOpts: u8 { [INFO] [stdout] 26 | | const OVERRIDE_VAR_STRINGS = 0b00000001; [INFO] [stdout] 27 | | const REUSE_VAR_STRINGS = 0b00000010; [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / bitflags! { [INFO] [stdout] 25 | | pub struct LoadOpts: u8 { [INFO] [stdout] 26 | | const OVERRIDE_VAR_STRINGS = 0b00000001; [INFO] [stdout] 27 | | const REUSE_VAR_STRINGS = 0b00000010; [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / bitflags! { [INFO] [stdout] 25 | | pub struct LoadOpts: u8 { [INFO] [stdout] 26 | | const OVERRIDE_VAR_STRINGS = 0b00000001; [INFO] [stdout] 27 | | const REUSE_VAR_STRINGS = 0b00000010; [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/vm/mod.rs:189:50 [INFO] [stdout] | [INFO] [stdout] 189 | ... OpCode::CEQ | _ => { (v == n) }, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - OpCode::CEQ | _ => { (v == n) }, [INFO] [stdout] 189 + OpCode::CEQ | _ => { v == n }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefMut` and `Ref` [INFO] [stdout] --> src/vm/mem.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Ref, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | RefMut, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / bitflags! { [INFO] [stdout] 25 | | pub struct LoadOpts: u8 { [INFO] [stdout] 26 | | const OVERRIDE_VAR_STRINGS = 0b00000001; [INFO] [stdout] 27 | | const REUSE_VAR_STRINGS = 0b00000010; [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / bitflags! { [INFO] [stdout] 25 | | pub struct LoadOpts: u8 { [INFO] [stdout] 26 | | const OVERRIDE_VAR_STRINGS = 0b00000001; [INFO] [stdout] 27 | | const REUSE_VAR_STRINGS = 0b00000010; [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / bitflags! { [INFO] [stdout] 25 | | pub struct LoadOpts: u8 { [INFO] [stdout] 26 | | const OVERRIDE_VAR_STRINGS = 0b00000001; [INFO] [stdout] 27 | | const REUSE_VAR_STRINGS = 0b00000010; [INFO] [stdout] ... | [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/vm/mod.rs:189:50 [INFO] [stdout] | [INFO] [stdout] 189 | ... OpCode::CEQ | _ => { (v == n) }, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - OpCode::CEQ | _ => { (v == n) }, [INFO] [stdout] 189 + OpCode::CEQ | _ => { v == n }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_len` [INFO] [stdout] --> src/vm/mod.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | let initial_len = self.reg_stack.len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm/mod.rs:387:33 [INFO] [stdout] | [INFO] [stdout] 387 | let (mut insts, idents, mut var_strings, consts) = bin.unpack(); [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: field `consts` is never read [INFO] [stdout] --> src/vm/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct VM { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | consts: Rc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `append` and `define_n` are never used [INFO] [stdout] --> src/vm/mem.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Environment { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn append(&mut self, other: Environment) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn define_n(&mut self, frame: usize, ident: IdentID, val: MemData) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/vm/mem.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 216 | impl EnvNode { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 233 | fn get_parent(&self) -> Option<&Rc>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn get_child(&self) -> Option<&Weak>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | fn define_n(&mut self, n: usize, ident: IdentID, val: MemData) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | fn get_parent_n(&self, n: usize) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | fn get_child_n(&self, n: usize) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | fn get_frame(&self) -> &Frame { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | fn get_frame_mut(&mut self) -> &mut Frame { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create_pointer`, `clone_pointer`, `is_true`, and `eq` are never used [INFO] [stdout] --> src/vm/data.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 158 | impl MemData { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn create_pointer(data: MemData) -> MemData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn clone_pointer(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn is_true(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn eq(&self, other: &Self) -> Result { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BadScopeIndex` is never constructed [INFO] [stdout] --> src/vm/err.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 43 | BadScopeIndex(usize), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | self.memory.define(id, MemData::Lambda(insts, env)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 424 | let _ = self.memory.define(id, MemData::Lambda(insts, env)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm/data.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn iter(&self) -> ::std::slice::Iter { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 397 | pub fn iter(&self) -> ::std::slice::Iter<'_, Op> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_len` [INFO] [stdout] --> src/vm/mod.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | let initial_len = self.reg_stack.len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm/mod.rs:387:33 [INFO] [stdout] | [INFO] [stdout] 387 | let (mut insts, idents, mut var_strings, consts) = bin.unpack(); [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: field `consts` is never read [INFO] [stdout] --> src/vm/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct VM { [INFO] [stdout] | -- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | consts: Rc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `append` and `define_n` are never used [INFO] [stdout] --> src/vm/mem.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Environment { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn append(&mut self, other: Environment) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn define_n(&mut self, frame: usize, ident: IdentID, val: MemData) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/vm/mem.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 216 | impl EnvNode { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 233 | fn get_parent(&self) -> Option<&Rc>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn get_child(&self) -> Option<&Weak>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | fn define_n(&mut self, n: usize, ident: IdentID, val: MemData) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | fn get_parent_n(&self, n: usize) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | fn get_child_n(&self, n: usize) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | fn get_frame(&self) -> &Frame { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | fn get_frame_mut(&mut self) -> &mut Frame { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create_pointer`, `clone_pointer`, and `is_true` are never used [INFO] [stdout] --> src/vm/data.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 158 | impl MemData { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn create_pointer(data: MemData) -> MemData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn clone_pointer(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn is_true(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BadScopeIndex` is never constructed [INFO] [stdout] --> src/vm/err.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 43 | BadScopeIndex(usize), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `R` is never constructed [INFO] [stdout] --> src/tests.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | (#R = Int(123)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/vm/macros.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | enum ___BinConst { $($ids),* } [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `consts` which comes from the expansion of the macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/vm/mod.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | self.memory.define(id, MemData::Lambda(insts, env)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 424 | let _ = self.memory.define(id, MemData::Lambda(insts, env)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vm/data.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn iter(&self) -> ::std::slice::Iter { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 397 | pub fn iter(&self) -> ::std::slice::Iter<'_, Op> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.19s [INFO] running `Command { std: "docker" "inspect" "2f9bea0f5b06953f87bb4bbfe3685e4a7b44f3fc144199d8e8e401040b94c949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f9bea0f5b06953f87bb4bbfe3685e4a7b44f3fc144199d8e8e401040b94c949", kill_on_drop: false }` [INFO] [stdout] 2f9bea0f5b06953f87bb4bbfe3685e4a7b44f3fc144199d8e8e401040b94c949