[INFO] cloning repository https://github.com/CopperWasp/Rust_exercise [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CopperWasp/Rust_exercise" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCopperWasp%2FRust_exercise", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCopperWasp%2FRust_exercise'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9118d5e6f72440328eb60a5b7f6fbea47980abe5 [INFO] building CopperWasp/Rust_exercise against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCopperWasp%2FRust_exercise" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CopperWasp/Rust_exercise on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CopperWasp/Rust_exercise [INFO] finished tweaking git repo https://github.com/CopperWasp/Rust_exercise [INFO] tweaked toml for git repo https://github.com/CopperWasp/Rust_exercise written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/CopperWasp/Rust_exercise 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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] 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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e88ea92dfe810a876b04f88ec1aa65c4790867126359249f553a0d3da0580a0 [INFO] running `Command { std: "docker" "start" "-a" "3e88ea92dfe810a876b04f88ec1aa65c4790867126359249f553a0d3da0580a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e88ea92dfe810a876b04f88ec1aa65c4790867126359249f553a0d3da0580a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e88ea92dfe810a876b04f88ec1aa65c4790867126359249f553a0d3da0580a0", kill_on_drop: false }` [INFO] [stdout] 3e88ea92dfe810a876b04f88ec1aa65c4790867126359249f553a0d3da0580a0 [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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 230e071e920959f1a4f2a6a00dd9c335e154c73ac431fe26c06080d9832d7854 [INFO] running `Command { std: "docker" "start" "-a" "230e071e920959f1a4f2a6a00dd9c335e154c73ac431fe26c06080d9832d7854", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling let_lang_proj v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!(lexer.scan()); // May return from tokenize() w/ Err(LexErr). If no error, then [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | 'a' ... 'z' | 'A' ... 'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:125:43 [INFO] [stdout] | [INFO] [stdout] 125 | 'a' ... 'z' | 'A' ... 'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | ... try!(self.parse_whitespace_paren_or_eoi()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | ... let tok = try!(self.scan_keywrd_ident_bool()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | ... Some('0'...'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:137:37 [INFO] [stdout] | [INFO] [stdout] 137 | ... try!(self.parse_whitespace_paren_or_eoi()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:135:47 [INFO] [stdout] | [INFO] [stdout] 135 | ... let val = try!(self.parse_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:148:41 [INFO] [stdout] | [INFO] [stdout] 148 | ... Some('0'...'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:153:37 [INFO] [stdout] | [INFO] [stdout] 153 | ... try!(self.parse_whitespace_paren_or_eoi()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | ... let val = try!(self.parse_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | ... try!(self.parse_whitespace_paren_or_eoi()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:162:39 [INFO] [stdout] | [INFO] [stdout] 162 | ... let val = try!(self.parse_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | 'a' ... 'z' => { s.push(c); [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:185:29 [INFO] [stdout] | [INFO] [stdout] 185 | 'A' ... 'Z' => { s.push(c); [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:235:28 [INFO] [stdout] | [INFO] [stdout] 235 | '0'...'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | try!(self.match_token(&Token::Minus)); // return with Err(ParseErr) if no match [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | try!(self.match_token(&Token::Lparen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | try!(self.match_token(&Token::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | try!(self.match_token(&Token::Rparen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | let e1 = try!(self.parse_let_lang_exp()); // return with Err(ParseErr) if no parse [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | let e2 = try!(self.parse_let_lang_exp()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_lang_env` [INFO] [stdout] --> src/proc_lang_exp.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use proc_lang_env; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/proc_lang_env.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | ProcEnvExp::ExtendEnvRec(pname, bvar, pbody, env) => [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pname` [INFO] [stdout] --> src/proc_lang_env.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 59 | ProcEnvExp::ExtendEnvRec(pname, bvar, pbody, env) => {let mut temp = "proc ".to_string(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/int_bool_proc.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | IntBoolProc::Procedure(s, exp, env) => s.to_string(), //check [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/int_bool_proc.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | IntBoolProc::Procedure(s, exp, env) => s.to_string(), //check [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | let ast = try! (parse(&v)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:120:90 [INFO] [stdout] | [INFO] [stdout] 120 | ProcLangExp::ProcExp(v, e) => Some(IntBoolProc::Procedure(v.clone(), Rc::new(((*e). clone())), Rc::new(env.clone()))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - ProcLangExp::ProcExp(v, e) => Some(IntBoolProc::Procedure(v.clone(), Rc::new(((*e). clone())), Rc::new(env.clone()))), [INFO] [stdout] 120 + ProcLangExp::ProcExp(v, e) => Some(IntBoolProc::Procedure(v.clone(), Rc::new((*e). clone()), Rc::new(env.clone()))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_parse` is never used [INFO] [stdout] --> src/main.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn show_parse(s: &String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "230e071e920959f1a4f2a6a00dd9c335e154c73ac431fe26c06080d9832d7854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "230e071e920959f1a4f2a6a00dd9c335e154c73ac431fe26c06080d9832d7854", kill_on_drop: false }` [INFO] [stdout] 230e071e920959f1a4f2a6a00dd9c335e154c73ac431fe26c06080d9832d7854 [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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c9da3f14e3abe297f916b637f153f00c53f35471a5ae1847f1a786faccc024a [INFO] running `Command { std: "docker" "start" "-a" "0c9da3f14e3abe297f916b637f153f00c53f35471a5ae1847f1a786faccc024a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!(lexer.scan()); // May return from tokenize() w/ Err(LexErr). If no error, then [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | 'a' ... 'z' | 'A' ... 'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:125:43 [INFO] [stdout] | [INFO] [stdout] 125 | 'a' ... 'z' | 'A' ... 'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | ... try!(self.parse_whitespace_paren_or_eoi()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | ... let tok = try!(self.scan_keywrd_ident_bool()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | ... Some('0'...'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:137:37 [INFO] [stdout] | [INFO] [stdout] 137 | ... try!(self.parse_whitespace_paren_or_eoi()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:135:47 [INFO] [stdout] | [INFO] [stdout] 135 | ... let val = try!(self.parse_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:148:41 [INFO] [stdout] | [INFO] [stdout] 148 | ... Some('0'...'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:153:37 [INFO] [stdout] | [INFO] [stdout] 153 | ... try!(self.parse_whitespace_paren_or_eoi()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | ... let val = try!(self.parse_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | ... try!(self.parse_whitespace_paren_or_eoi()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:162:39 [INFO] [stdout] | [INFO] [stdout] 162 | ... let val = try!(self.parse_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | 'a' ... 'z' => { s.push(c); [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:185:29 [INFO] [stdout] | [INFO] [stdout] 185 | 'A' ... 'Z' => { s.push(c); [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:235:28 [INFO] [stdout] | [INFO] [stdout] 235 | '0'...'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | try!(self.match_token(&Token::Minus)); // return with Err(ParseErr) if no match [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | try!(self.match_token(&Token::Lparen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | try!(self.match_token(&Token::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | try!(self.match_token(&Token::Rparen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | let e1 = try!(self.parse_let_lang_exp()); // return with Err(ParseErr) if no parse [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | let e2 = try!(self.parse_let_lang_exp()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_lang_env` [INFO] [stdout] --> src/proc_lang_exp.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use proc_lang_env; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/proc_lang_env.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | ProcEnvExp::ExtendEnvRec(pname, bvar, pbody, env) => [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pname` [INFO] [stdout] --> src/proc_lang_env.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 59 | ProcEnvExp::ExtendEnvRec(pname, bvar, pbody, env) => {let mut temp = "proc ".to_string(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/int_bool_proc.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | IntBoolProc::Procedure(s, exp, env) => s.to_string(), //check [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/int_bool_proc.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | IntBoolProc::Procedure(s, exp, env) => s.to_string(), //check [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling let_lang_proj v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | let ast = try! (parse(&v)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:120:90 [INFO] [stdout] | [INFO] [stdout] 120 | ProcLangExp::ProcExp(v, e) => Some(IntBoolProc::Procedure(v.clone(), Rc::new(((*e). clone())), Rc::new(env.clone()))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - ProcLangExp::ProcExp(v, e) => Some(IntBoolProc::Procedure(v.clone(), Rc::new(((*e). clone())), Rc::new(env.clone()))), [INFO] [stdout] 120 + ProcLangExp::ProcExp(v, e) => Some(IntBoolProc::Procedure(v.clone(), Rc::new((*e). clone()), Rc::new(env.clone()))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `let_lang_exp` [INFO] [stdout] --> src/proc_lang_env.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | use let_lang_exp::*; [INFO] [stdout] | ^^^^^^^^^^^^ you might be missing crate `let_lang_exp` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `let_lang_exp` crate [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + extern crate let_lang_exp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!(lexer.scan()); // May return from tokenize() w/ Err(LexErr). If no error, then [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | 'a' ... 'z' | 'A' ... 'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:125:43 [INFO] [stdout] | [INFO] [stdout] 125 | 'a' ... 'z' | 'A' ... 'Z' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | ... try!(self.parse_whitespace_paren_or_eoi()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | ... let tok = try!(self.scan_keywrd_ident_bool()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | ... Some('0'...'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:137:37 [INFO] [stdout] | [INFO] [stdout] 137 | ... try!(self.parse_whitespace_paren_or_eoi()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:135:47 [INFO] [stdout] | [INFO] [stdout] 135 | ... let val = try!(self.parse_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:148:41 [INFO] [stdout] | [INFO] [stdout] 148 | ... Some('0'...'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:153:37 [INFO] [stdout] | [INFO] [stdout] 153 | ... try!(self.parse_whitespace_paren_or_eoi()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | ... let val = try!(self.parse_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | ... try!(self.parse_whitespace_paren_or_eoi()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proc_lang_scanner.rs:162:39 [INFO] [stdout] | [INFO] [stdout] 162 | ... let val = try!(self.parse_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | 'a' ... 'z' => { s.push(c); [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:185:29 [INFO] [stdout] | [INFO] [stdout] 185 | 'A' ... 'Z' => { s.push(c); [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/proc_lang_scanner.rs:235:28 [INFO] [stdout] | [INFO] [stdout] 235 | '0'...'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | try!(self.match_token(&Token::Minus)); // return with Err(ParseErr) if no match [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | try!(self.match_token(&Token::Lparen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | try!(self.match_token(&Token::Comma)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | try!(self.match_token(&Token::Rparen)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | let e1 = try!(self.parse_let_lang_exp()); // return with Err(ParseErr) if no parse [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_parser.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | let e2 = try!(self.parse_let_lang_exp()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_lang_env` [INFO] [stdout] --> src/proc_lang_exp.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use proc_lang_env; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_parse` is never used [INFO] [stdout] --> src/main.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn show_parse(s: &String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/proc_lang_env.rs:88:63 [INFO] [stdout] | [INFO] [stdout] 88 | let env2 = null_env.extend_env(&("var1".to_string()), 25); [INFO] [stdout] | ---------- ^^ expected `IntBoolProc`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/proc_lang_env.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn extend_env(&self, s:&String, val: IntBoolProc) -> Self { [INFO] [stdout] | ^^^^^^^^^^ ---------------- [INFO] [stdout] help: try wrapping the expression in `int_bool_proc::IntBoolProc::Integer` [INFO] [stdout] | [INFO] [stdout] 88 | let env2 = null_env.extend_env(&("var1".to_string()), int_bool_proc::IntBoolProc::Integer(25)); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/proc_lang_env.rs:32:58 [INFO] [stdout] | [INFO] [stdout] 32 | ProcEnvExp::ExtendEnvRec(pname, bvar, pbody, env) => [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pname` [INFO] [stdout] --> src/proc_lang_env.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 59 | ProcEnvExp::ExtendEnvRec(pname, bvar, pbody, env) => {let mut temp = "proc ".to_string(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exp` [INFO] [stdout] --> src/int_bool_proc.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | IntBoolProc::Procedure(s, exp, env) => s.to_string(), //check [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/int_bool_proc.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | IntBoolProc::Procedure(s, exp, env) => s.to_string(), //check [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `let_lang_proj` (lib test) due to 2 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0c9da3f14e3abe297f916b637f153f00c53f35471a5ae1847f1a786faccc024a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c9da3f14e3abe297f916b637f153f00c53f35471a5ae1847f1a786faccc024a", kill_on_drop: false }` [INFO] [stdout] 0c9da3f14e3abe297f916b637f153f00c53f35471a5ae1847f1a786faccc024a