[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 try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wshatch/lisp_compiler on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6/source/Cargo.toml [INFO] crate git repo https://github.com/wshatch/lisp_compiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 327695c2a3893e0f6d4abf022cbbf88bc0bd3db40407bfe06b12caefa07d4290 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "327695c2a3893e0f6d4abf022cbbf88bc0bd3db40407bfe06b12caefa07d4290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "327695c2a3893e0f6d4abf022cbbf88bc0bd3db40407bfe06b12caefa07d4290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "327695c2a3893e0f6d4abf022cbbf88bc0bd3db40407bfe06b12caefa07d4290", kill_on_drop: false }` [INFO] [stdout] 327695c2a3893e0f6d4abf022cbbf88bc0bd3db40407bfe06b12caefa07d4290 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4678749a8142face294713c23d0cb9de44853fe1fad1ee47d7a20afc2bf5301 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d4678749a8142face294713c23d0cb9de44853fe1fad1ee47d7a20afc2bf5301", kill_on_drop: false }` [INFO] [stderr] Checking nom v1.2.4 [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: 1 warning emitted [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`, `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: 1 warning emitted [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`, `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] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [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: `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: `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 is never constructed: `ErrLispyVal` [INFO] [stdout] --> src/token.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | ErrLispyVal(LispyVal) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [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: `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: `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: 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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ErrLispyVal` [INFO] [stdout] --> src/token.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | ErrLispyVal(LispyVal) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "d4678749a8142face294713c23d0cb9de44853fe1fad1ee47d7a20afc2bf5301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4678749a8142face294713c23d0cb9de44853fe1fad1ee47d7a20afc2bf5301", kill_on_drop: false }` [INFO] [stdout] d4678749a8142face294713c23d0cb9de44853fe1fad1ee47d7a20afc2bf5301