[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] building CopperWasp/LETREC_interpreter 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%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 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/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" "+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-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ed43559227535f191ac2e9813f4f52114be13668504be3453d0a16cef21bfc7 [INFO] running `Command { std: "docker" "start" "-a" "5ed43559227535f191ac2e9813f4f52114be13668504be3453d0a16cef21bfc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ed43559227535f191ac2e9813f4f52114be13668504be3453d0a16cef21bfc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ed43559227535f191ac2e9813f4f52114be13668504be3453d0a16cef21bfc7", kill_on_drop: false }` [INFO] [stdout] 5ed43559227535f191ac2e9813f4f52114be13668504be3453d0a16cef21bfc7 [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 -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] b098a34674ecac35c6e56edf0188202aaf657ce2d71ad34900babffbed4f9038 [INFO] running `Command { std: "docker" "start" "-a" "b098a34674ecac35c6e56edf0188202aaf657ce2d71ad34900babffbed4f9038", 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] 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: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: 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] 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/11663cd3bfefef7d34e8f0892c250bf698049392/library/alloc/src/string.rs:1126: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/11663cd3bfefef7d34e8f0892c250bf698049392/library/alloc/src/string.rs:1126: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] 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 5 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b098a34674ecac35c6e56edf0188202aaf657ce2d71ad34900babffbed4f9038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b098a34674ecac35c6e56edf0188202aaf657ce2d71ad34900babffbed4f9038", kill_on_drop: false }` [INFO] [stdout] b098a34674ecac35c6e56edf0188202aaf657ce2d71ad34900babffbed4f9038