[INFO] cloning repository https://github.com/wshatch/lisp_compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wshatch/lisp_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler/objects/info: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/wshatch/lisp_compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wshatch/lisp_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/post-update.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler/hooks/post-update.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/wshatch/lisp_compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wshatch/lisp_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler/info/: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/wshatch/lisp_compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wshatch/lisp_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/wshatch/lisp_compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wshatch/lisp_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/wshatch/lisp_compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wshatch/lisp_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/wshatch/lisp_compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wshatch/lisp_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/wshatch/lisp_compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wshatch/lisp_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/wshatch/lisp_compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wshatch/lisp_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/wshatch/lisp_compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wshatch/lisp_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43015b968cd6eb4a320da94a70e88560b79cff18 [INFO] checking wshatch/lisp_compiler against master#0fb279be1d96464c69209053ef0f97ad63088cda for pr-143857 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wshatch/lisp_compiler [INFO] finished tweaking git repo https://github.com/wshatch/lisp_compiler [INFO] tweaked toml for git repo https://github.com/wshatch/lisp_compiler written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wshatch/lisp_compiler on toolchain 0fb279be1d96464c69209053ef0f97ad63088cda [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wshatch/lisp_compiler 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" "+0fb279be1d96464c69209053ef0f97ad63088cda" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom v1.1.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 336de1c1f87842da963b3e411dc74909919827211821d06cf34d6c1e8046c234 [INFO] running `Command { std: "docker" "start" "-a" "336de1c1f87842da963b3e411dc74909919827211821d06cf34d6c1e8046c234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "336de1c1f87842da963b3e411dc74909919827211821d06cf34d6c1e8046c234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "336de1c1f87842da963b3e411dc74909919827211821d06cf34d6c1e8046c234", kill_on_drop: false }` [INFO] [stdout] 336de1c1f87842da963b3e411dc74909919827211821d06cf34d6c1e8046c234 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70c794b01b2870d0fad23736497f919b3e0720e1aaa767a3354e97f2e84f1d83 [INFO] running `Command { std: "docker" "start" "-a" "70c794b01b2870d0fad23736497f919b3e0720e1aaa767a3354e97f2e84f1d83", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking nom v1.1.0 [INFO] [stderr] Checking lisp_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/bin/repl.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/bin/repl.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/nom_parse_funcs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LispyRet` and `LispyVal` [INFO] [stdout] --> src/nom_parse_funcs.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use token::{Token, LispyVal, LispyRet}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LispyError` [INFO] [stdout] --> src/operations.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use token::{Token, LispyVal, LispyError, LispyRet}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast.rs:104:87 [INFO] [stdout] | [INFO] [stdout] 104 | fn operator_func (x: Vec) -> LispyRet{ Ok(Rc::new(Token::Number(4))) }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/nom_parse_funcs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LispyRet` and `LispyVal` [INFO] [stdout] --> src/nom_parse_funcs.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use token::{Token, LispyVal, LispyRet}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::IResult` [INFO] [stdout] --> src/nom_parse_funcs.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | use nom::IResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::IResult::*` [INFO] [stdout] --> src/nom_parse_funcs.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | use nom::IResult::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token::Token` [INFO] [stdout] --> src/nom_parse_funcs.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use token::Token; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LispyError` [INFO] [stdout] --> src/operations.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use token::{Token, LispyVal, LispyError, LispyRet}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ast.rs:104:87 [INFO] [stdout] | [INFO] [stdout] 104 | fn operator_func (x: Vec) -> LispyRet{ Ok(Rc::new(Token::Number(4))) }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `operations::*` [INFO] [stdout] --> src/token.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | use operations::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/nom_parse_funcs.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | val: tag!("("), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `val` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/nom_parse_funcs.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / named!(pub tokenize_beginsexpr<&[u8], Token>, chain!( [INFO] [stdout] 38 | | opt!(multispace) ~ [INFO] [stdout] 39 | | val: tag!("("), [INFO] [stdout] 40 | | || { [INFO] [stdout] ... | [INFO] [stdout] 43 | | )); [INFO] [stdout] | |__^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `chaining_parser` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/nom_parse_funcs.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | val: tag!(")"), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `val` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/nom_parse_funcs.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / named!(pub tokenize_endsexpr<&[u8], Token>, chain!( [INFO] [stdout] 46 | | opt!(multispace) ~ [INFO] [stdout] 47 | | val: tag!(")"), [INFO] [stdout] 48 | | || { [INFO] [stdout] ... | [INFO] [stdout] 51 | | )); [INFO] [stdout] | |__^ [INFO] [stdout] = note: this warning originates in the macro `chaining_parser` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/ast.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | Token::Func(a) => return self.eval_func(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/ast.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | fn build_operator(input:&[u8]) -> Ast{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ast.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | fn operator_func (x: Vec) -> LispyRet{ Ok(Rc::new(Token::Number(4))) }; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/eval.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | Done(rest, tokens) => tokens, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ErrLispyVal` is never constructed [INFO] [stdout] --> src/token.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum LispyError{ [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 8 | ErrString(String), [INFO] [stdout] 9 | ErrLispyVal(LispyVal) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LispyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | io::stdout().flush(); [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] 17 | let _ = io::stdout().flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `applyFunc` should have a snake case name [INFO] [stdout] --> src/operations.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | fn arithmetic(vector: Vec, applyFunc: fn(i32, &LispyVal)->i32) -> LispyRet { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `apply_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/token.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 19 | Func(fn(Vec) -> LispyRet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/nom_parse_funcs.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | val: tag!("("), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `val` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/nom_parse_funcs.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / named!(pub tokenize_beginsexpr<&[u8], Token>, chain!( [INFO] [stdout] 38 | | opt!(multispace) ~ [INFO] [stdout] 39 | | val: tag!("("), [INFO] [stdout] 40 | | || { [INFO] [stdout] ... | [INFO] [stdout] 43 | | )); [INFO] [stdout] | |__^ [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `chaining_parser` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/nom_parse_funcs.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | val: tag!(")"), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: `val` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/nom_parse_funcs.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / named!(pub tokenize_endsexpr<&[u8], Token>, chain!( [INFO] [stdout] 46 | | opt!(multispace) ~ [INFO] [stdout] 47 | | val: tag!(")"), [INFO] [stdout] 48 | | || { [INFO] [stdout] ... | [INFO] [stdout] 51 | | )); [INFO] [stdout] | |__^ [INFO] [stdout] = note: this warning originates in the macro `chaining_parser` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/ast.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | Token::Func(a) => return self.eval_func(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/ast.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | fn build_operator(input:&[u8]) -> Ast{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ast.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | fn operator_func (x: Vec) -> LispyRet{ Ok(Rc::new(Token::Number(4))) }; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/eval.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | Done(rest, tokens) => tokens, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ErrLispyVal` is never constructed [INFO] [stdout] --> src/token.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum LispyError{ [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 8 | ErrString(String), [INFO] [stdout] 9 | ErrLispyVal(LispyVal) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LispyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | io::stdout().flush(); [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] 17 | let _ = io::stdout().flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `applyFunc` should have a snake case name [INFO] [stdout] --> src/operations.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | fn arithmetic(vector: Vec, applyFunc: fn(i32, &LispyVal)->i32) -> LispyRet { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `apply_func` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/token.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(PartialEq, Debug)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 19 | Func(fn(Vec) -> LispyRet), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "70c794b01b2870d0fad23736497f919b3e0720e1aaa767a3354e97f2e84f1d83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70c794b01b2870d0fad23736497f919b3e0720e1aaa767a3354e97f2e84f1d83", kill_on_drop: false }` [INFO] [stdout] 70c794b01b2870d0fad23736497f919b3e0720e1aaa767a3354e97f2e84f1d83