[INFO] cloning repository https://github.com/4b1dden/forklift [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/4b1dden/forklift" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4b1dden%2Fforklift", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4b1dden%2Fforklift'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ff59a8d910776aefb5d8eacc91c51d538ffc115 [INFO] building 4b1dden/forklift against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F4b1dden%2Fforklift" "/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/4b1dden/forklift on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/4b1dden/forklift [INFO] finished tweaking git repo https://github.com/4b1dden/forklift [INFO] tweaked toml for git repo https://github.com/4b1dden/forklift written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/4b1dden/forklift 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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21f45d2fab3235cc60386e296626d99a4f36dbc1dca3eb699b81df062eedabe4 [INFO] running `Command { std: "docker" "start" "-a" "21f45d2fab3235cc60386e296626d99a4f36dbc1dca3eb699b81df062eedabe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21f45d2fab3235cc60386e296626d99a4f36dbc1dca3eb699b81df062eedabe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21f45d2fab3235cc60386e296626d99a4f36dbc1dca3eb699b81df062eedabe4", kill_on_drop: false }` [INFO] [stdout] 21f45d2fab3235cc60386e296626d99a4f36dbc1dca3eb699b81df062eedabe4 [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 -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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 995ad30841604b1f4502c58f8e417eff37d51c296013acd2eec54e9aede66838 [INFO] running `Command { std: "docker" "start" "-a" "995ad30841604b1f4502c58f8e417eff37d51c296013acd2eec54e9aede66838", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ordered-float v3.0.0 [INFO] [stderr] Compiling forklift v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufWriter` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::BufWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Identifier`, `LiteralExpr`, `either_polymorphic`, and `either` [INFO] [stdout] --> src/grammar.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | any_of_monomorphic, either, either_polymorphic, end_with_semicolon, parse_binary_expression, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | triplet, zero_or_more, BoxedParser, Expr, FnDef, ForLoop, Identifier, IfBlock, LetBinding, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | LiteralExpr, ParseResult, Parser, Reassignment, WhileLoop, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RefMut` [INFO] [stdout] --> src/interpreter/declaration.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::{RefCell, RefMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ensure_is_identifier` [INFO] [stdout] --> src/interpreter/declaration.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::parser::{ensure_is_identifier, Expr, LetBinding, LiteralExpr, Reassignment}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/interpreter/expr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Div`, `Mul`, and `Sub` [INFO] [stdout] --> src/interpreter/expr.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::{Add, Deref, Div, Mul, Sub}; [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LetBinding` [INFO] [stdout] --> src/interpreter/expr.rs:15:84 [INFO] [stdout] | [INFO] [stdout] 15 | BinaryExpr, BinaryOperator, Expr, FnCall, FnDef, ForLoop, Identifier, IfBlock, LetBinding, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FL_T` should have an upper camel case name [INFO] [stdout] --> src/interpreter/expr.rs:332:10 [INFO] [stdout] | [INFO] [stdout] 332 | pub enum FL_T { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `FlT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FL_T_Primitive` should have an upper camel case name [INFO] [stdout] --> src/interpreter/expr.rs:379:10 [INFO] [stdout] | [INFO] [stdout] 379 | pub enum FL_T_Primitive { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FlTPrimitive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FL_T_Callable` should have an upper camel case name [INFO] [stdout] --> src/interpreter/expr.rs:389:12 [INFO] [stdout] | [INFO] [stdout] 389 | pub struct FL_T_Callable { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FlTCallable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FL_T_Callable_Body` should have an upper camel case name [INFO] [stdout] --> src/interpreter/expr.rs:405:10 [INFO] [stdout] | [INFO] [stdout] 405 | pub enum FL_T_Callable_Body { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FlTCallableBody` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FL_T` should have an upper camel case name [INFO] [stdout] --> src/interpreter/expr.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | FL_T(Statement), // FL_T [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `FlT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Callable_Native` should have an upper camel case name [INFO] [stdout] --> src/interpreter/expr.rs:411:10 [INFO] [stdout] | [INFO] [stdout] 411 | pub enum Callable_Native { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CallableNative` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FL_T_Bool` should have an upper camel case name [INFO] [stdout] --> src/interpreter/expr.rs:449:10 [INFO] [stdout] | [INFO] [stdout] 449 | pub enum FL_T_Bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `FlTBool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/interpreter/expr.test.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FL_T_Primitive`, `FL_T`, and `desugar_for_loop_to_while_block` [INFO] [stdout] --> src/interpreter/expr.test.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{desugar_for_loop_to_while_block, FL_T_Primitive, FL_T}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Declaration` and `Statement` [INFO] [stdout] --> src/interpreter/expr.test.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::grammar::{Declaration, Statement}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InterpreterResult` and `Interpreter` [INFO] [stdout] --> src/interpreter/expr.test.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::interpreter::{Environment, Interpreter, InterpreterResult}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinaryExpr`, `BinaryOperator`, `Expr`, `ForLoop`, `Identifier`, `LetBinding`, `LiteralExpr`, `Number`, `Reassignment`, `StringLiteral`, `UnaryExpr`, and `UnaryOperator` [INFO] [stdout] --> src/interpreter/expr.test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | BinaryExpr, BinaryOperator, Expr, ForLoop, Identifier, LetBinding, LiteralExpr, Number, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 10 | Reassignment, StringLiteral, UnaryExpr, UnaryOperator, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/interpreter/main.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::{RefCell, Ref}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Identifier` [INFO] [stdout] --> src/interpreter/main.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::parser::{Expr, Identifier}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Declaration` and `FL_T_Callable` [INFO] [stdout] --> src/interpreter/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | grammar::{Declaration, Program}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | interpreter::{FL_T_Callable, InterpreterResult, FL_T}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Callable_Native` and `FL_T_Callable_Body` [INFO] [stdout] --> src/interpreter/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use super::{Callable_Native, FL_T_Callable_Body}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `resolver::*` [INFO] [stdout] --> src/interpreter/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use resolver::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseResult` [INFO] [stdout] --> src/parser/combinators.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parser::{map, BoxedParser, ParseResult, Parser}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/parser/combinators.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | if let (Ok(_)) = result { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - if let (Ok(_)) = result { [INFO] [stdout] 92 + if let Ok(_) = result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `either`, `left`, `parse_identifier`, `parse_number`, `right`, and `sequence_of_monomorphic` [INFO] [stdout] --> src/parser/parser.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | any_of_monomorphic, either, left, one_or_more, optional, pair, parse_expr, [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] 5 | parse_grouping_expr_2, parse_identifier, parse_literal, parse_number, parse_string_literal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 6 | right, sequence_of_monomorphic, triplet, zero_or_more, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/parser.rs:225:34 [INFO] [stdout] | [INFO] [stdout] 223 | impl<'a, F, Output> Parser<'a, Output> for F [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 224 | where [INFO] [stdout] 225 | F: Fn(&'a str) -> ParseResult, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wrapped_scope` [INFO] [stdout] --> src/parser/primitives.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | wrapped_scope, Declaration, Statement, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `and_then`, `either`, `optional_whitespace`, and `parse_function_call` [INFO] [stdout] --> src/parser/primitives.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | and_then, at_least_one_whitespace, either, optional_whitespace, parse_binary_expression, [INFO] [stdout] | ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | parse_expr_literal, parse_function_call, parse_unary_expression, sequence_of_monomorphic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `map` [INFO] [stdout] --> src/parser/primitives.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | any_of_monomorphic, map, optional, pair, parse_function_call_for_expr, triplet, ParseResult, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `INTERPRETER_ERROR` should have an upper camel case name [INFO] [stdout] --> src/vm/common.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum INTERPRETER_ERROR { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InterpreterError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INTERPRET_COMPILE_ERROR` should have an upper camel case name [INFO] [stdout] --> src/vm/common.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | INTERPRET_COMPILE_ERROR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InterpretCompileError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INTERPRET_RUNTIME_ERROR` should have an upper camel case name [INFO] [stdout] --> src/vm/common.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | INTERPRET_RUNTIME_ERROR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InterpretRuntimeError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LexerError` and `tokenize` [INFO] [stdout] --> src/vm/compiler.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vm::scanner::{tokenize, LexedToken, Lexer, LexerError, TokenKind}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OP_ADD`, `OP_DIVIDE`, `OP_NEGATE`, and `OP_SUBTRACT` [INFO] [stdout] --> src/vm/compiler.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | Chunk, OpCode, Value, OP_ADD, OP_CONSTANT, OP_DIVIDE, OP_NEGATE, OP_RETURN, OP_SUBTRACT, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grammar::parse_declaration` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::grammar::parse_declaration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxedParser` and `Expr` [INFO] [stdout] --> src/main.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::parser::{BoxedParser, Expr, Parser}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err1` [INFO] [stdout] --> src/parser/combinators.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Err(err1) => match parser2.parse(input) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_err1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/parser/combinators.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | let mut results = Vec::::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/parser/combinators.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | let mut rest = input; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/combinators.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut results = Vec::::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/combinators.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut rest = input; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: [INFO] [stdout] warning: unused variable: `matched` [INFO] [stdout] --> src/parser/primitives.rs:363:20 [INFO] [stdout] | [INFO] [stdout] 363 | let (rest, matched) = p.parse(input)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matched` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Box [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_build/src/builder/scope.rs:1724:17: cannot unwind from goto -> bb56 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7ad061781caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x7ad061e13cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x7ad062d28e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x7ad061781b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x7ad061783ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x7ad061783e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x7ad0608eff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x7ad0617847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x7ad06092a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x7ad06091f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x7ad06091f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x7ad0609342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x7ad060e84fdc - ::span_bug:: [INFO] [stderr] 13: 0x7ad060f0a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x7ad060ef006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x7ad060eefefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x7ad05f334437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x7ad0627d541b - ::build_unwind_tree [INFO] [stderr] 18: 0x7ad0627cd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x7ad061e07714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x7ad061e076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x7ad0620953d1 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 22: 0x7ad062094f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x7ad061e47feb - rustc_mir_transform[857cd804783fef4d]::ffi_unwind_calls::has_ffi_unwind_calls [INFO] [stderr] 24: 0x7ad061e47a9f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x7ad0627c7887 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 26: 0x7ad0627c73c9 - rustc_query_impl[1e55094a59e290f4]::query_impl::has_ffi_unwind_calls::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x7ad05f639c4c - rustc_mir_transform[857cd804783fef4d]::mir_promoted [INFO] [stderr] 28: 0x7ad0622d56d6 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 29: 0x7ad0622d59b9 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 30: 0x7ad0622d55dc - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_promoted::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 31: 0x7ad062ec91ad - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 32: 0x7ad0620953d1 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 33: 0x7ad062094ed5 - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_borrowck::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 34: 0x7ad06298868a - rustc_middle[8ad6e8ce52578819]::query::plumbing::query_get_at::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>> [INFO] [stderr] 35: 0x7ad0629886e6 - ::prove_closure_bounds [INFO] [stderr] 36: 0x7ad062202892 - ::typeck_mir [INFO] [stderr] 37: 0x7ad062f5405e - rustc_borrowck[378f2470cd8a106b]::type_check::type_check [INFO] [stderr] 38: 0x7ad061e78fdc - rustc_borrowck[378f2470cd8a106b]::nll::compute_regions [INFO] [stderr] 39: 0x7ad062ed6acd - rustc_borrowck[378f2470cd8a106b]::do_mir_borrowck [INFO] [stderr] 40: 0x7ad062ec926a - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 41: 0x7ad0620953d1 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 42: 0x7ad062094ed5 - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_borrowck::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 43: 0x7ad0626bedd0 - rustc_middle[8ad6e8ce52578819]::query::plumbing::query_get_at::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>> [INFO] [stderr] 44: 0x7ad062d3d09e - rustc_hir_analysis[8556f302646cebdb]::collect::type_of::type_of_opaque [INFO] [stderr] 45: 0x7ad062d3cf11 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 46: 0x7ad061f0459f - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 47: 0x7ad0630256f9 - rustc_query_impl[1e55094a59e290f4]::query_impl::type_of_opaque::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 48: 0x7ad0627850e4 - rustc_middle[8ad6e8ce52578819]::query::plumbing::query_get_at::>> [INFO] [stderr] 49: 0x7ad061f0aaa5 - rustc_hir_analysis[8556f302646cebdb]::collect::type_of::type_of [INFO] [stderr] 50: 0x7ad061f057fc - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 51: 0x7ad061f0459f - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 52: 0x7ad061f0412b - rustc_query_impl[1e55094a59e290f4]::query_impl::type_of::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 53: 0x7ad0627850e4 - rustc_middle[8ad6e8ce52578819]::query::plumbing::query_get_at::>> [INFO] [stderr] 54: 0x7ad05e3bc702 - rustc_hir_analysis[8556f302646cebdb]::check::check::check_item_type [INFO] [stderr] 55: 0x7ad05f9e9c1e - rustc_hir_analysis[8556f302646cebdb]::check::wfcheck::check_well_formed [INFO] [stderr] 56: 0x7ad0627c80bb - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 57: 0x7ad0627c7b69 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 58: 0x7ad0627c75d0 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_well_formed::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 59: 0x7ad0627c812b - rustc_middle[8ad6e8ce52578819]::query::plumbing::query_ensure_error_guaranteed::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, ()> [INFO] [stderr] 60: 0x7ad0627c861b - rustc_hir_analysis[8556f302646cebdb]::check::wfcheck::check_mod_type_wf [INFO] [stderr] 61: 0x7ad0627c814b - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 62: 0x7ad062b9b084 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 63: 0x7ad062b9ae18 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_mod_type_wf::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 64: 0x7ad062091f9c - rustc_hir_analysis[8556f302646cebdb]::check_crate [INFO] [stderr] 65: 0x7ad06229b682 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 66: 0x7ad062d2cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 67: 0x7ad062d2cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 68: 0x7ad062d7b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 69: 0x7ad062d7b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 70: 0x7ad062d701de - rustc_interface[b59e7ee7606ca029]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 71: 0x7ad062ddff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 72: 0x7ad062cf5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 73: 0x7ad062cf551c - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[303105738bd0c2ae]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 74: 0x7ad062cf6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 75: 0x7ad064533ac3 - [INFO] [stderr] 76: 0x7ad0645c4a04 - clone [INFO] [stderr] 77: 0x0 - [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2024-12-31T19_53_44-94.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.85.0-nightly (9b5e8b16b 2024-12-19) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [mir_built] building MIR for `parser::primitives::parse_string_literal::{closure#0}` [INFO] [stderr] #1 [has_ffi_unwind_calls] checking if `parser::primitives::parse_string_literal::{closure#0}` contains FFI-unwind calls [INFO] [stderr] #2 [mir_promoted] promoting constants in MIR for `parser::primitives::parse_string_literal::{closure#0}` [INFO] [stderr] #3 [mir_borrowck] borrow-checking `parser::primitives::parse_string_literal::{closure#0}` [INFO] [stderr] #4 [mir_borrowck] borrow-checking `parser::primitives::parse_string_literal` [INFO] [stderr] #5 [type_of_opaque] computing type of opaque `parser::primitives::parse_string_literal::{opaque#0}` [INFO] [stderr] #6 [type_of] computing type of `parser::primitives::parse_string_literal::{opaque#0}` [INFO] [stderr] #7 [check_well_formed] checking that `parser::primitives::parse_string_literal::{opaque#0}` is well-formed [INFO] [stderr] #8 [check_mod_type_wf] checking that types are well-formed in module `parser::primitives` [INFO] [stderr] #9 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stderr] error: could not compile `forklift` (bin "forklift"); 45 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/bin/rustc --crate-name forklift --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=8fb7f4e699a3f119 -C extra-filename=-0da6b53d006d4b3e --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern ordered_float=/opt/rustwide/target/debug/deps/libordered_float-6439a68d1b04c1fd.rlib --cap-lints=forbid -Dtail-expr-drop-order` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "995ad30841604b1f4502c58f8e417eff37d51c296013acd2eec54e9aede66838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "995ad30841604b1f4502c58f8e417eff37d51c296013acd2eec54e9aede66838", kill_on_drop: false }` [INFO] [stdout] 995ad30841604b1f4502c58f8e417eff37d51c296013acd2eec54e9aede66838