[INFO] cloning repository https://github.com/aegonzalez2432/Mlisp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aegonzalez2432/Mlisp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faegonzalez2432%2FMlisp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faegonzalez2432%2FMlisp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d44a5428e2e13e65b727955e0174d3bf9ad92367 [INFO] checking aegonzalez2432/Mlisp against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faegonzalez2432%2FMlisp" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aegonzalez2432/Mlisp on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aegonzalez2432/Mlisp [INFO] finished tweaking git repo https://github.com/aegonzalez2432/Mlisp [INFO] tweaked toml for git repo https://github.com/aegonzalez2432/Mlisp written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/aegonzalez2432/Mlisp 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0001b4b6db77cf98d0b2ca4c7ee29d9e5a8b115adf8dd77efa86ceea953a411d [INFO] running `Command { std: "docker" "start" "-a" "0001b4b6db77cf98d0b2ca4c7ee29d9e5a8b115adf8dd77efa86ceea953a411d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0001b4b6db77cf98d0b2ca4c7ee29d9e5a8b115adf8dd77efa86ceea953a411d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0001b4b6db77cf98d0b2ca4c7ee29d9e5a8b115adf8dd77efa86ceea953a411d", kill_on_drop: false }` [INFO] [stdout] 0001b4b6db77cf98d0b2ca4c7ee29d9e5a8b115adf8dd77efa86ceea953a411d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a3fd886768e24305c7ea4abdf37f3528d6712e576cecc004dadd71f8e8835f4 [INFO] running `Command { std: "docker" "start" "-a" "4a3fd886768e24305c7ea4abdf37f3528d6712e576cecc004dadd71f8e8835f4", kill_on_drop: false }` [INFO] [stderr] Checking mlisp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `firstElement` [INFO] [stdout] --> src/eval.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let firstElement = true; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_firstElement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `firstElement` [INFO] [stdout] --> src/eval.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let firstElement = true; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_firstElement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/eval.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | _ => EvalResult::Err("Failed to eval expr".into()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/eval.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 285 | EvalResult::Err(e) => EvalResult::Err(format!("Failed to eval expr: {:?}", e)), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 286 | _ => match &*vals.clone() { [INFO] [stdout] | - matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 305 | _ => EvalResult::Err("Failed to eval expr".into()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/eval.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | let val = vals[1..].iter().for_each(|x| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/eval.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | let val = vals[1..].iter().for_each(|x| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/eval.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | _ => Err("No idea whats wrong".into()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/eval.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 350 | EvalResult::Expr(exp) => Ok(exp), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 351 | EvalResult::Unit => Err(format!("Failed to eval, got Unit" )), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 352 | EvalResult::Err(e) => Err(format!("Failed to eval expr: {:?}", e)), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 353 | _ => Err("No idea whats wrong".into()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/eval.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | _ => Err("No idea whats wrong".into()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/eval.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 369 | EvalResult::Expr(exp) => Ok(exp), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 370 | EvalResult::Unit => Err(format!("Failed to eval, got Unit" )), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 371 | EvalResult::Err(e) => Err(format!("Failed to eval expr: {:?}", e)), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 372 | _ => Err("No idea whats wrong".into()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/eval.rs:381:32 [INFO] [stdout] | [INFO] [stdout] 381 | fn bool_and(vals: &[Rc], env: &mut Environment) -> EvalResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/eval.rs:387:31 [INFO] [stdout] | [INFO] [stdout] 387 | fn bool_or(vals: &[Rc], env: &mut Environment) -> EvalResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/eval.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | _ => EvalResult::Err("Failed to eval expr".into()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/eval.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 285 | EvalResult::Err(e) => EvalResult::Err(format!("Failed to eval expr: {:?}", e)), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 286 | _ => match &*vals.clone() { [INFO] [stdout] | - matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 305 | _ => EvalResult::Err("Failed to eval expr".into()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/eval.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | let val = vals[1..].iter().for_each(|x| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/eval.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | let val = vals[1..].iter().for_each(|x| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/eval.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | _ => Err("No idea whats wrong".into()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/eval.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 350 | EvalResult::Expr(exp) => Ok(exp), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 351 | EvalResult::Unit => Err(format!("Failed to eval, got Unit" )), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 352 | EvalResult::Err(e) => Err(format!("Failed to eval expr: {:?}", e)), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 353 | _ => Err("No idea whats wrong".into()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/eval.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | _ => Err("No idea whats wrong".into()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/eval.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 369 | EvalResult::Expr(exp) => Ok(exp), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 370 | EvalResult::Unit => Err(format!("Failed to eval, got Unit" )), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 371 | EvalResult::Err(e) => Err(format!("Failed to eval expr: {:?}", e)), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 372 | _ => Err("No idea whats wrong".into()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/eval.rs:381:32 [INFO] [stdout] | [INFO] [stdout] 381 | fn bool_and(vals: &[Rc], env: &mut Environment) -> EvalResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/eval.rs:387:31 [INFO] [stdout] | [INFO] [stdout] 387 | fn bool_or(vals: &[Rc], env: &mut Environment) -> EvalResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parse.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | _ => ParseResult::Failure(ParseError::BadParse(format!("Unknown token: {:?}", *x))), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/parse.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 29 | Token::LPar => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 48 | Token::RPar => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 51 | Token::Literal(s) => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 58 | _ => ParseResult::Failure(ParseError::BadParse(format!("Unknown token: {:?}", *x))), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `String` to `String` [INFO] [stdout] --> src/eval.rs:109:55 [INFO] [stdout] | [INFO] [stdout] 109 | ... EvalResult::Expr(e) => Ok((name.into(), e.clone())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/eval.rs:288:68 [INFO] [stdout] | [INFO] [stdout] 288 | "True" => return EvalResult::Expr(Expr::symbol("False".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/eval.rs:289:69 [INFO] [stdout] | [INFO] [stdout] 289 | "False" => return EvalResult::Expr(Expr::symbol("True".into())), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/eval.rs:383:47 [INFO] [stdout] | [INFO] [stdout] 383 | true => EvalResult::Expr(Expr::symbol("True".into())), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/eval.rs:384:48 [INFO] [stdout] | [INFO] [stdout] 384 | false => EvalResult::Expr(Expr::symbol("False".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/eval.rs:389:47 [INFO] [stdout] | [INFO] [stdout] 389 | true => EvalResult::Expr(Expr::symbol("True".into())), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/eval.rs:390:48 [INFO] [stdout] | [INFO] [stdout] 390 | false => EvalResult::Expr(Expr::symbol("False".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `firstElement` should have a snake case name [INFO] [stdout] --> src/eval.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let firstElement = true; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `first_element` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hasFalse` should have a snake case name [INFO] [stdout] --> src/eval.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let mut hasFalse = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `has_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hasFalse` should have a snake case name [INFO] [stdout] --> src/eval.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | let mut hasFalse: bool = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `has_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parse.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | _ => ParseResult::Failure(ParseError::BadParse(format!("Unknown token: {:?}", *x))), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/parse.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 29 | Token::LPar => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 48 | Token::RPar => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 51 | Token::Literal(s) => { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 58 | _ => ParseResult::Failure(ParseError::BadParse(format!("Unknown token: {:?}", *x))), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mlisp` (lib) due to 7 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this conversion is useless `String` to `String` [INFO] [stdout] --> src/eval.rs:109:55 [INFO] [stdout] | [INFO] [stdout] 109 | ... EvalResult::Expr(e) => Ok((name.into(), e.clone())), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/eval.rs:288:68 [INFO] [stdout] | [INFO] [stdout] 288 | "True" => return EvalResult::Expr(Expr::symbol("False".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/eval.rs:289:69 [INFO] [stdout] | [INFO] [stdout] 289 | "False" => return EvalResult::Expr(Expr::symbol("True".into())), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/eval.rs:383:47 [INFO] [stdout] | [INFO] [stdout] 383 | true => EvalResult::Expr(Expr::symbol("True".into())), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/eval.rs:384:48 [INFO] [stdout] | [INFO] [stdout] 384 | false => EvalResult::Expr(Expr::symbol("False".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/eval.rs:389:47 [INFO] [stdout] | [INFO] [stdout] 389 | true => EvalResult::Expr(Expr::symbol("True".into())), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/eval.rs:390:48 [INFO] [stdout] | [INFO] [stdout] 390 | false => EvalResult::Expr(Expr::symbol("False".into())), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `firstElement` should have a snake case name [INFO] [stdout] --> src/eval.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | let firstElement = true; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `first_element` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hasFalse` should have a snake case name [INFO] [stdout] --> src/eval.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let mut hasFalse = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `has_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hasFalse` should have a snake case name [INFO] [stdout] --> src/eval.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | let mut hasFalse: bool = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `has_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/eval.rs:470:30 [INFO] [stdout] | [INFO] [stdout] 470 | assert!( r.is_err(), format!("Expected add_var to fail, but it succeeded: {:?}", r) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 470 - assert!( r.is_err(), format!("Expected add_var to fail, but it succeeded: {:?}", r) ); [INFO] [stdout] 470 + assert!( r.is_err(), "Expected add_var to fail, but it succeeded: {:?}", r ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/eval.rs:480:9 [INFO] [stdout] | [INFO] [stdout] 480 | env.add_var("a", Expr::fnum(1.0)); [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] 480 | let _ = env.add_var("a", Expr::fnum(1.0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/eval.rs:491:48 [INFO] [stdout] | [INFO] [stdout] 491 | env.lookup("a").map(|x| assert!(false, format!("Expected Err, got {:?}", x))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 491 - env.lookup("a").map(|x| assert!(false, format!("Expected Err, got {:?}", x))); [INFO] [stdout] 491 + env.lookup("a").map(|x| assert!(false, "Expected Err, got {:?}", x)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | assert!(false, format!("expected fnum, got {:?}", *expr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 79 - assert!(false, format!("expected fnum, got {:?}", *expr)); [INFO] [stdout] 79 + assert!(false, "expected fnum, got {:?}", *expr); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | assert!(false, format!("Expected success, failed with: {:?}", res)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 82 - assert!(false, format!("Expected success, failed with: {:?}", res)); [INFO] [stdout] 82 + assert!(false, "Expected success, failed with: {:?}", res); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | assert!(false, format!("expected fnum, got {:?}", *expr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 94 - assert!(false, format!("expected fnum, got {:?}", *expr)); [INFO] [stdout] 94 + assert!(false, "expected fnum, got {:?}", *expr); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | assert!(false, format!("Expected success, failed with: {:?}", res)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 97 - assert!(false, format!("Expected success, failed with: {:?}", res)); [INFO] [stdout] 97 + assert!(false, "Expected success, failed with: {:?}", res); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | assert!(false, format!("Expected success, failed with {:?}", res)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 120 - assert!(false, format!("Expected success, failed with {:?}", res)); [INFO] [stdout] 120 + assert!(false, "Expected success, failed with {:?}", res); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | assert!(false, format!("Expected Success, failed with {:?}", res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 142 - assert!(false, format!("Expected Success, failed with {:?}", res)) [INFO] [stdout] 142 + assert!(false, "Expected Success, failed with {:?}", res) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 175 | assert!(false, format!("Expected Success, got {:?}", res)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 175 - assert!(false, format!("Expected Success, got {:?}", res)); [INFO] [stdout] 175 + assert!(false, "Expected Success, got {:?}", res); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mlisp` (lib test) due to 7 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4a3fd886768e24305c7ea4abdf37f3528d6712e576cecc004dadd71f8e8835f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a3fd886768e24305c7ea4abdf37f3528d6712e576cecc004dadd71f8e8835f4", kill_on_drop: false }` [INFO] [stdout] 4a3fd886768e24305c7ea4abdf37f3528d6712e576cecc004dadd71f8e8835f4