[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] building wshatch/lisp_compiler against try#3930b75493eb88cd5431103dbdbc47eb760e9d9b for pr-97025 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwshatch%2Flisp_compiler" "/workspace/builds/worker-101/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-101/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wshatch/lisp_compiler on toolchain 3930b75493eb88cd5431103dbdbc47eb760e9d9b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3930b75493eb88cd5431103dbdbc47eb760e9d9b" "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-101/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" "+3930b75493eb88cd5431103dbdbc47eb760e9d9b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+3930b75493eb88cd5431103dbdbc47eb760e9d9b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e791f5dc6e9cbe8e7601ffd78c64cd669506f45774670b306c500239552e0a6b [INFO] running `Command { std: "docker" "start" "-a" "e791f5dc6e9cbe8e7601ffd78c64cd669506f45774670b306c500239552e0a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e791f5dc6e9cbe8e7601ffd78c64cd669506f45774670b306c500239552e0a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e791f5dc6e9cbe8e7601ffd78c64cd669506f45774670b306c500239552e0a6b", kill_on_drop: false }` [INFO] [stdout] e791f5dc6e9cbe8e7601ffd78c64cd669506f45774670b306c500239552e0a6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+3930b75493eb88cd5431103dbdbc47eb760e9d9b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bad0cb5be6f0b6dfe1fe268f2c23ad95aca93c76e685dfa8a59efe883fa2e783 [INFO] running `Command { std: "docker" "start" "-a" "bad0cb5be6f0b6dfe1fe268f2c23ad95aca93c76e685dfa8a59efe883fa2e783", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling nom v1.1.0 [INFO] [stderr] Compiling 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::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: 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] note: `LispyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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/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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.94s [INFO] running `Command { std: "docker" "inspect" "bad0cb5be6f0b6dfe1fe268f2c23ad95aca93c76e685dfa8a59efe883fa2e783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad0cb5be6f0b6dfe1fe268f2c23ad95aca93c76e685dfa8a59efe883fa2e783", kill_on_drop: false }` [INFO] [stdout] bad0cb5be6f0b6dfe1fe268f2c23ad95aca93c76e685dfa8a59efe883fa2e783 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+3930b75493eb88cd5431103dbdbc47eb760e9d9b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f426f4160174bfe93115022be2b6a9d173fe87aeeab333fd0183c0b5ca9ab97f [INFO] running `Command { std: "docker" "start" "-a" "f426f4160174bfe93115022be2b6a9d173fe87aeeab333fd0183c0b5ca9ab97f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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::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] note: `LispyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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/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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 19.02s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/lisp_compiler-06e7a7d085eed4d8) [INFO] [stderr] Executable unittests src/bin/repl.rs (/opt/rustwide/target/debug/deps/repl-5408c63b1817592c) [INFO] running `Command { std: "docker" "inspect" "f426f4160174bfe93115022be2b6a9d173fe87aeeab333fd0183c0b5ca9ab97f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f426f4160174bfe93115022be2b6a9d173fe87aeeab333fd0183c0b5ca9ab97f", kill_on_drop: false }` [INFO] [stdout] f426f4160174bfe93115022be2b6a9d173fe87aeeab333fd0183c0b5ca9ab97f