[INFO] cloning repository https://github.com/CopperWasp/LETREC_interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CopperWasp/LETREC_interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCopperWasp%2FLETREC_interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCopperWasp%2FLETREC_interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92152c21cb291e721405a590cfca7e647db1aa44 [INFO] checking CopperWasp/LETREC_interpreter/92152c21cb291e721405a590cfca7e647db1aa44 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCopperWasp%2FLETREC_interpreter" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CopperWasp/LETREC_interpreter on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CopperWasp/LETREC_interpreter [INFO] finished tweaking git repo https://github.com/CopperWasp/LETREC_interpreter [INFO] tweaked toml for git repo https://github.com/CopperWasp/LETREC_interpreter written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/CopperWasp/LETREC_interpreter 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92a318b381079faf6e5d7d5b7ca5a6ae8ebc1c593cf830ef80ac4119a47acff6 [INFO] running `Command { std: "docker" "start" "-a" "92a318b381079faf6e5d7d5b7ca5a6ae8ebc1c593cf830ef80ac4119a47acff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92a318b381079faf6e5d7d5b7ca5a6ae8ebc1c593cf830ef80ac4119a47acff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92a318b381079faf6e5d7d5b7ca5a6ae8ebc1c593cf830ef80ac4119a47acff6", kill_on_drop: false }` [INFO] [stdout] 92a318b381079faf6e5d7d5b7ca5a6ae8ebc1c593cf830ef80ac4119a47acff6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d886d101c23d5f7902411d7029474f24fa0aca5df33c00476747952cc6e0415a [INFO] running `Command { std: "docker" "start" "-a" "d886d101c23d5f7902411d7029474f24fa0aca5df33c00476747952cc6e0415a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking let_lang_proj v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `VarExp` in this scope [INFO] [stdout] --> src/let_lang_exp.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | ProcExp(VarExp, Rc, Rc), //proc-exp(var, body) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `let_lang_exp::LetLangExp::VarExp`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 17 | ProcExp(let_lang_exp::LetLangExp, Rc, Rc), //proc-exp(var, body) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VarExp` in this scope [INFO] [stdout] --> src/let_lang_exp.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | ProcExp(VarExp, Rc, Rc), //proc-exp(var, body) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `let_lang_exp::LetLangExp::VarExp`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 17 | ProcExp(let_lang_exp::LetLangExp, Rc, Rc), //proc-exp(var, body) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_scanner.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | 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/let_lang_scanner.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | '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/let_lang_scanner.rs:123:43 [INFO] [stdout] | [INFO] [stdout] 123 | '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/let_lang_scanner.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | ... 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/let_lang_scanner.rs:124:39 [INFO] [stdout] | [INFO] [stdout] 124 | ... let tok = try!(self.scan_keywrd_ident_bool()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/let_lang_scanner.rs:130:41 [INFO] [stdout] | [INFO] [stdout] 130 | ... 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/let_lang_scanner.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | 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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_scanner.rs:135:37 [INFO] [stdout] | [INFO] [stdout] 135 | ... 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/let_lang_scanner.rs:133:47 [INFO] [stdout] | [INFO] [stdout] 133 | ... let val = try!(self.parse_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/let_lang_scanner.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 146 | ... 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: `...` range patterns are deprecated [INFO] [stdout] --> src/let_lang_scanner.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | '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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_scanner.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | ... 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/let_lang_scanner.rs:149:47 [INFO] [stdout] | [INFO] [stdout] 149 | ... let val = try!(self.parse_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/let_lang_scanner.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | '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: `...` range patterns are deprecated [INFO] [stdout] --> src/let_lang_scanner.rs:123:43 [INFO] [stdout] | [INFO] [stdout] 123 | '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/let_lang_scanner.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | ... 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/let_lang_scanner.rs:160:39 [INFO] [stdout] | [INFO] [stdout] 160 | ... let val = try!(self.parse_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_scanner.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | ... try!(self.parse_whitespace_paren_or_eoi()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/let_lang_scanner.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | '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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/let_lang_scanner.rs:124:39 [INFO] [stdout] | [INFO] [stdout] 124 | ... let tok = try!(self.scan_keywrd_ident_bool()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/let_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/let_lang_scanner.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | '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: `...` range patterns are deprecated [INFO] [stdout] --> src/let_lang_scanner.rs:130:41 [INFO] [stdout] | [INFO] [stdout] 130 | ... 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/let_lang_parser.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | 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:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | 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:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | 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_scanner.rs:135:37 [INFO] [stdout] | [INFO] [stdout] 135 | ... 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/let_lang_parser.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | 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:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | 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_scanner.rs:133:47 [INFO] [stdout] | [INFO] [stdout] 133 | ... let val = try!(self.parse_number()); [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:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | let e2 = try!(self.parse_let_lang_exp()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/let_lang_scanner.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 146 | ... 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/let_lang_scanner.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | ... 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/let_lang_scanner.rs:149:47 [INFO] [stdout] | [INFO] [stdout] 149 | ... let val = try!(self.parse_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/let_lang_scanner.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | '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_scanner.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | ... 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/let_lang_scanner.rs:160:39 [INFO] [stdout] | [INFO] [stdout] 160 | ... let val = try!(self.parse_number()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/let_lang_scanner.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | '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/let_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/let_lang_scanner.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | '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:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | 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:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | 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:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | 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:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | 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:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | 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:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | let e2 = try!(self.parse_let_lang_exp()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `let_lang_exp::*` [INFO] [stdout] --> src/let_lang_env.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | use let_lang_exp::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/let_lang_exp.rs:44:90 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new_proc_exp(v: &String, arg: &LetLangExp, env: &let_lang_env::LetLangEnv) -> Self{ [INFO] [stdout] | ------------ ^^^^ expected `LetLangExp`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 45 | LetLangExp::ProcExp(v.clone(), Rc::new(arg.clone()), Rc::new(env.clone())); [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 3 fields [INFO] [stdout] --> src/let_lang_exp.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 17 | ProcExp(VarExp, Rc, Rc), //proc-exp(var, body) [INFO] [stdout] | ------ -------------- ---------------------------- tuple variant has 3 fields [INFO] [stdout] ... [INFO] [stdout] 80 | LetLangExp::ProcExp(v, e) => {let mut temp= "proc( ".to_string(); [INFO] [stdout] | ^ ^ expected 3 fields, found 2 [INFO] [stdout] | [INFO] [stdout] help: use `_` to explicitly ignore each field [INFO] [stdout] | [INFO] [stdout] 80 | LetLangExp::ProcExp(v, e, _) => {let mut temp= "proc( ".to_string(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/let_lang_exp.rs:44:90 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new_proc_exp(v: &String, arg: &LetLangExp, env: &let_lang_env::LetLangEnv) -> Self{ [INFO] [stdout] | ------------ ^^^^ expected `LetLangExp`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 45 | LetLangExp::ProcExp(v.clone(), Rc::new(arg.clone()), Rc::new(env.clone())); [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 3 fields [INFO] [stdout] --> src/let_lang_exp.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 17 | ProcExp(VarExp, Rc, Rc), //proc-exp(var, body) [INFO] [stdout] | ------ -------------- ---------------------------- tuple variant has 3 fields [INFO] [stdout] ... [INFO] [stdout] 80 | LetLangExp::ProcExp(v, e) => {let mut temp= "proc( ".to_string(); [INFO] [stdout] | ^ ^ expected 3 fields, found 2 [INFO] [stdout] | [INFO] [stdout] help: use `_` to explicitly ignore each field [INFO] [stdout] | [INFO] [stdout] 80 | LetLangExp::ProcExp(v, e, _) => {let mut temp= "proc( ".to_string(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/let_lang_exp.rs:86:63 [INFO] [stdout] | [INFO] [stdout] 86 | ... temp.push_str(e1.to_string()); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:1114:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 86 | temp.push_str(&e1.to_string()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/let_lang_exp.rs:86:63 [INFO] [stdout] | [INFO] [stdout] 86 | ... temp.push_str(e1.to_string()); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:1114:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 86 | temp.push_str(&e1.to_string()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/let_lang_exp.rs:88:63 [INFO] [stdout] | [INFO] [stdout] 88 | ... temp.push_str(e2.to_string()); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:1114:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 88 | temp.push_str(&e2.to_string()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/let_lang_exp.rs:88:63 [INFO] [stdout] | [INFO] [stdout] 88 | ... temp.push_str(e2.to_string()); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:1114:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 88 | temp.push_str(&e2.to_string()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/let_lang_env.rs:65:63 [INFO] [stdout] | [INFO] [stdout] 65 | let env2 = null_env.extend_env(&("var1".to_string()), 25); [INFO] [stdout] | ---------- ^^ expected `IntBool`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/let_lang_env.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn extend_env(&self, s:&String, val: IntBool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ ------------ [INFO] [stdout] help: try wrapping the expression in `int_bool::IntBool::Integer` [INFO] [stdout] | [INFO] [stdout] 65 | let env2 = null_env.extend_env(&("var1".to_string()), int_bool::IntBool::Integer(25)); [INFO] [stdout] | +++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0308, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stderr] error: could not compile `let_lang_proj` (lib) due to 6 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0308, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stderr] error: could not compile `let_lang_proj` (lib test) due to 7 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d886d101c23d5f7902411d7029474f24fa0aca5df33c00476747952cc6e0415a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d886d101c23d5f7902411d7029474f24fa0aca5df33c00476747952cc6e0415a", kill_on_drop: false }` [INFO] [stdout] d886d101c23d5f7902411d7029474f24fa0aca5df33c00476747952cc6e0415a