[INFO] cloning repository https://github.com/CenoOS/Du.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CenoOS/Du.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCenoOS%2FDu.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCenoOS%2FDu.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc527e83873d34313647a6280374504a0044706e [INFO] building CenoOS/Du.rs 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%2FCenoOS%2FDu.rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CenoOS/Du.rs 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/CenoOS/Du.rs [INFO] finished tweaking git repo https://github.com/CenoOS/Du.rs [INFO] tweaked toml for git repo https://github.com/CenoOS/Du.rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/CenoOS/Du.rs 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 72d9cca025c34ac3df2c06f8e1634348590f4d0ff05499a0a535cfb4007d35a3 [INFO] running `Command { std: "docker" "start" "-a" "72d9cca025c34ac3df2c06f8e1634348590f4d0ff05499a0a535cfb4007d35a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72d9cca025c34ac3df2c06f8e1634348590f4d0ff05499a0a535cfb4007d35a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72d9cca025c34ac3df2c06f8e1634348590f4d0ff05499a0a535cfb4007d35a3", kill_on_drop: false }` [INFO] [stdout] 72d9cca025c34ac3df2c06f8e1634348590f4d0ff05499a0a535cfb4007d35a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0022c7bd71619f5eef5eecc20398c19e8b198af49c014226b00b6487841d28e7 [INFO] running `Command { std: "docker" "start" "-a" "0022c7bd71619f5eef5eecc20398c19e8b198af49c014226b00b6487841d28e7", kill_on_drop: false }` [INFO] [stderr] Compiling Dulang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::dolang::lexer::token::Token::TokenEof` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::dolang::lexer::token::Token::TokenEof; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenLeftShift` [INFO] [stdout] --> src/dolang/lexer/lexer.rs:20:56 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::dolang::lexer::token::Token::{TokenKeyword, TokenLeftShift, TokenName}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Alignment::Left` [INFO] [stdout] --> src/dolang/lexer/lexer.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use core::fmt::Alignment::Left; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/dolang/lexer/lexer.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'a> Lexer<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 32 | pub fn new(source: &'a str) -> Lexer { [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: `crate::assembler::assembler_error::AssemblerError::ParseError` [INFO] [stdout] --> src/dolang/parser/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::assembler::assembler_error::AssemblerError::ParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeywordGoto` [INFO] [stdout] --> src/dolang/parser/parser.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | KeywordConst, KeywordEnum, KeywordFunc, KeywordGoto, KeywordImport, KeywordStruct, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vm::instruction::OpCode::POP` [INFO] [stdout] --> src/dolang/parser/parser.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::vm::instruction::OpCode::POP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/dolang/parser/parser.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/dolang/parser/parser.rs:672:17 [INFO] [stdout] | [INFO] [stdout] 671 | return None; [INFO] [stdout] | ----------- any code following this expression is unreachable [INFO] [stdout] 672 | / self.errors.push(UnexpectedTokenError { [INFO] [stdout] 673 | | token: self.current_token.clone().unwrap(), [INFO] [stdout] 674 | | line: 0, [INFO] [stdout] 675 | | }); [INFO] [stdout] | |___________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/dolang/parser/parser_error.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::{Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/assembler/assembler_instruction.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | Token::LabelDeclaration { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/assembler/assembler_instruction.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | Token::LabelUsage { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/assembler/assembler_instruction.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | Token::LabelUsage { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/assembler/assembler_instruction.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | Token::LabelUsage { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_build/src/builder/scope.rs:1724:17: cannot unwind from goto -> bb46 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x747b8c181caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x747b8c813cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x747b8d728e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x747b8c181b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x747b8c183ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x747b8c183e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x747b8b2eff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x747b8c1847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x747b8b32a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x747b8b31f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x747b8b31f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x747b8b3342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x747b8b884fdc - ::span_bug:: [INFO] [stderr] 13: 0x747b8b90a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x747b8b8f006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x747b8b8efefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x747b89d34437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x747b8d1d541b - ::build_unwind_tree [INFO] [stderr] 18: 0x747b8d1cd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x747b8c807714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x747b8c8076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x747b8ca953d1 - 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: 0x747b8ca94f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x747b89867185 - rustc_mir_build[73684a27b88b946a]::check_unsafety::check_unsafety [INFO] [stderr] 24: 0x747b8d0e98a7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x747b8d0e9b69 - 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: 0x747b8d0e97d1 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x747b8cc9bd32 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 28: 0x747b8d72cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 29: 0x747b8d72cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 30: 0x747b8d77b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 31: 0x747b8d77b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 32: 0x747b8d7701de - 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] 33: 0x747b8d7dff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 34: 0x747b8d6f5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 35: 0x747b8d6f551c - <::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] 36: 0x747b8d6f6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 37: 0x747b8ef05ac3 - [INFO] [stderr] 38: 0x747b8ef96a04 - clone [INFO] [stderr] 39: 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-31T20_04_55-9.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 lib -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 `assembler::assembly_parser::::parse_program` [INFO] [stderr] #1 [check_unsafety] unsafety-checking `assembler::assembly_parser::::parse_program` [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/assembler/elf.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | fn decode_from_bytes(headers: Vec) -> DELFHeader { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/dolang/ast/decl.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/dolang/ast/decl.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 92 | / EnumDecl { [INFO] [stdout] 93 | | ref name, [INFO] [stdout] 94 | | ref items, [INFO] [stdout] 95 | | ref num_items, [INFO] [stdout] 96 | | } => { [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 99 | / AggregateDecl { [INFO] [stdout] 100 | | ref name, [INFO] [stdout] 101 | | ref items, [INFO] [stdout] 102 | | ref num_items, [INFO] [stdout] 103 | | } => { [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 106 | / FuncDecl { [INFO] [stdout] 107 | | ref name, [INFO] [stdout] 108 | | ref params, [INFO] [stdout] 109 | | ref num_params, [INFO] [stdout] 110 | | ref return_type, [INFO] [stdout] 111 | | ref block, [INFO] [stdout] 112 | | } => { [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 115 | / TypedefDecl { [INFO] [stdout] 116 | | ref name, [INFO] [stdout] 117 | | ref type_spec, [INFO] [stdout] 118 | | } => { [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 135 | _ => { [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_items` [INFO] [stdout] --> src/dolang/ast/decl.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | ref num_items, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `num_items: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_items` [INFO] [stdout] --> src/dolang/ast/decl.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | ref num_items, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `num_items: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/ast/decl.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | ref name, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_params` [INFO] [stdout] --> src/dolang/ast/decl.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | ref num_params, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `num_params: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/ast/decl.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | ref name, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/dolang/ast/expr.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/dolang/ast/expr.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 72 | IntExpr { ref value } => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 75 | FloatExpr { ref value } => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 78 | NameExpr { ref name } => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 81 | StringExpr { ref value } => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 138 | _ => { [INFO] [stdout] | ^ ...and 8 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_args` [INFO] [stdout] --> src/dolang/ast/expr.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | ref num_args, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `num_args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_args` [INFO] [stdout] --> src/dolang/ast/expr.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | ref num_args, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `num_args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_else_ifs` [INFO] [stdout] --> src/dolang/ast/stmt.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | num_else_ifs, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `num_else_ifs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_cases` [INFO] [stdout] --> src/dolang/ast/stmt.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | num_cases, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `num_cases: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_spec` [INFO] [stdout] --> src/dolang/ast/type_spec.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | NameTypeSpec { ref name_spec } => true, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `name_spec: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/dolang/ast/type_spec.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/dolang/ast/type_spec.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 43 | NameTypeSpec { ref name_spec } => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 46 | / FuncTypeSpec { [INFO] [stdout] 47 | | ref num_args, [INFO] [stdout] 48 | | ref args_type, [INFO] [stdout] 49 | | ref ret_type, [INFO] [stdout] 50 | | } => { [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 53 | / ArrayTypeSpec { [INFO] [stdout] 54 | | ref size, [INFO] [stdout] 55 | | ref elem_type, [INFO] [stdout] 56 | | } => { [INFO] [stdout] | |_____________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 59 | PtrTypeSpec { ref ptr_type } => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 62 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_args` [INFO] [stdout] --> src/dolang/ast/type_spec.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | ref num_args, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `num_args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/dolang/ast/type_spec.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | ref size, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/dolang/lexer/int.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn set_val(&self, value: i32) -> Int { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/dolang/lexer/int.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/dolang/lexer/int.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 34 | IntHex { ref value } => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 37 | IntOct { ref value } => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 40 | IntBin { ref value } => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 43 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/dolang/lexer/keyword.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/dolang/lexer/keyword.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 66 | KeywordTypeDef { ref name } => { [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 69 | KeywordEnum { ref name } => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 72 | KeywordStruct { ref name } => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 75 | KeywordVar { ref name } => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 129 | _ => { [INFO] [stdout] | ^ ...and 17 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | KeywordTypeDef { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | KeywordEnum { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | KeywordStruct { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | KeywordVar { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | KeywordConst { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | KeywordFunc { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | KeywordSizeOf { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | KeywordTypeOf { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | KeywordBreak { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | KeywordContinue { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | KeywordReturn { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | KeywordIf { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | KeywordElse { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | KeywordWhile { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | KeywordDo { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | KeywordFor { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | KeywordSwitch { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | KeywordCase { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:120:30 [INFO] [stdout] | [INFO] [stdout] 120 | KeywordDefault { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | KeywordImport { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/lexer/keyword.rs:126:27 [INFO] [stdout] | [INFO] [stdout] 126 | KeywordGoto { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: [INFO] [stdout] warning: value assigned to `integer` is never read [INFO] [stdout] --> src/dolang/lexer/lexer.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let mut integer: Int = IntHex { value: 0 }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Box [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dolang/lexer/lexer.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let mut int_val; [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] [stderr] stack backtrace: [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_build/src/builder/scope.rs:1724:17: cannot unwind from goto -> bb714 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 0: 0x747b8c181caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x747b8c813cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x747b8d728e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x747b8c181b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x747b8c183ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x747b8c183e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x747b8b2eff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x747b8c1847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x747b8b32a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x747b8b31f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x747b8b31f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x747b8b3342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x747b8b884fdc - ::span_bug:: [INFO] [stderr] 13: 0x747b8b90a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x747b8b8f006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x747b8b8efefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x747b89d34437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x747b8d1d541b - ::build_unwind_tree [INFO] [stderr] 18: 0x747b8d1cd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x747b8c807714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x747b8c8076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x747b8ca953d1 - 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: 0x747b8ca94f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x747b89867185 - rustc_mir_build[73684a27b88b946a]::check_unsafety::check_unsafety [INFO] [stderr] 24: 0x747b8d0e98a7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x747b8d0e9b69 - 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: 0x747b8d0e97d1 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x747b8cc9bd32 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 28: 0x747b8d72cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 29: 0x747b8d72cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 30: 0x747b8d77b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 31: 0x747b8d77b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 32: 0x747b8d7701de - 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] 33: 0x747b8d7dff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 34: 0x747b8d6f5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 35: 0x747b8d6f551c - <::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] 36: 0x747b8d6f6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 37: 0x747b8ef05ac3 - [INFO] [stderr] 38: 0x747b8ef96a04 - clone [INFO] [stderr] 39: 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-31T20_04_55-9.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 lib -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 `dolang::lexer::lexer::::next_token` [INFO] [stderr] #1 [check_unsafety] unsafety-checking `dolang::lexer::lexer::::next_token` [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/dolang/lexer/token.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | _ => f.write_str(&format!("Unknown")), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/dolang/lexer/token.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 150 | TokenEof {} => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 153 | TokenLastChar {} => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 156 | TokenFloat { ref value } => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 159 | TokenInt { ref value } => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 312 | _ => f.write_str(&format!("Unknown")), [INFO] [stdout] | ^ ...and 50 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/dolang/lexer/token.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | TokenFloat { ref value } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/dolang/lexer/token.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | TokenInt { ref value } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/dolang/parser/parser.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/dolang/parser/parser.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 130 | | TokenSub {} [INFO] [stdout] | ----------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 133 | | TokenSub {} [INFO] [stdout] | ^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/parser/parser.rs:236:31 [INFO] [stdout] | [INFO] [stdout] 236 | KeywordFunc { ref name } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/dolang/parser/parser.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | token = self.next_token().unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/parser/parser.rs:645:34 [INFO] [stdout] | [INFO] [stdout] 645 | KeywordVar { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/parser/parser.rs:648:36 [INFO] [stdout] | [INFO] [stdout] 648 | KeywordConst { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/parser/parser.rs:651:35 [INFO] [stdout] | [INFO] [stdout] 651 | KeywordEnum { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/parser/parser.rs:654:38 [INFO] [stdout] | [INFO] [stdout] 654 | KeywordTypeDef { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/parser/parser.rs:657:37 [INFO] [stdout] | [INFO] [stdout] 657 | KeywordStruct { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/parser/parser.rs:660:35 [INFO] [stdout] | [INFO] [stdout] 660 | KeywordFunc { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dolang/parser/parser.rs:663:37 [INFO] [stdout] | [INFO] [stdout] 663 | KeywordImport { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Token` [INFO] [stdout] --> src/dolang/parser/parser.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | Token => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/dolang/parser/parser_error.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 27 | / UnexpectedTokenError { [INFO] [stdout] 28 | | ref token, [INFO] [stdout] 29 | | ref line, [INFO] [stdout] 30 | | } => f.write_str(&format!( [INFO] [stdout] | |_____________- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 34 | _ => f.write_str(&format!("Syntax Error:")), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Dulang` (lib); 72 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 Dulang --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=837c463232cc0b5e -C extra-filename=-d0a0c880004a90ae --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid -Dtail-expr-drop-order` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0022c7bd71619f5eef5eecc20398c19e8b198af49c014226b00b6487841d28e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0022c7bd71619f5eef5eecc20398c19e8b198af49c014226b00b6487841d28e7", kill_on_drop: false }` [INFO] [stdout] 0022c7bd71619f5eef5eecc20398c19e8b198af49c014226b00b6487841d28e7