[INFO] cloning repository https://github.com/omedusyo/polymede [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/omedusyo/polymede" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomedusyo%2Fpolymede", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomedusyo%2Fpolymede'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b93a822998c35dbdb02786edbfa2f29a51da15ef [INFO] testing omedusyo/polymede against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomedusyo%2Fpolymede" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/omedusyo/polymede [INFO] finished tweaking git repo https://github.com/omedusyo/polymede [INFO] tweaked toml for git repo https://github.com/omedusyo/polymede written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/omedusyo/polymede on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/omedusyo/polymede 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d3ece916b5a3c08448e216812c2e9317def4cabcb10bdb5e4c65382c94a247e [INFO] running `Command { std: "docker" "start" "-a" "9d3ece916b5a3c08448e216812c2e9317def4cabcb10bdb5e4c65382c94a247e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d3ece916b5a3c08448e216812c2e9317def4cabcb10bdb5e4c65382c94a247e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d3ece916b5a3c08448e216812c2e9317def4cabcb10bdb5e4c65382c94a247e", kill_on_drop: false }` [INFO] [stdout] 9d3ece916b5a3c08448e216812c2e9317def4cabcb10bdb5e4c65382c94a247e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3a4b8ad5ba1d7241dbd0a129c11453e8811b78e902bfb34d124a0da4f632673 [INFO] running `Command { std: "docker" "start" "-a" "c3a4b8ad5ba1d7241dbd0a129c11453e8811b78e902bfb34d124a0da4f632673", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling wasm v0.1.0 (/opt/rustwide/workdir/wasm) [INFO] [stderr] Compiling syn v2.0.69 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling clap_builder v4.5.9 [INFO] [stderr] Compiling runtime v0.1.0 (/opt/rustwide/workdir/runtime) [INFO] [stderr] Compiling string-interner v0.17.0 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling clap v4.5.9 [INFO] [stderr] Compiling ast v0.1.0 (/opt/rustwide/workdir/ast) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> ast/src/parser/lex/lexer.rs:117:39 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn chars(&'state mut self) -> &mut Chars<'state> { [INFO] [stdout] | ------ ^^^^^^^^^^^------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'state` [INFO] [stdout] | [INFO] [stdout] 117 | pub fn chars(&'state mut self) -> &'state mut Chars<'state> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> ast/src/validation/term_formation.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | for decl in &program.run_declaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 30 - for decl in &program.run_declaration { [INFO] [stdout] 30 + while let Some(decl) = &program.run_declaration { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 30 - for decl in &program.run_declaration { [INFO] [stdout] 30 + if let Some(decl) = &program.run_declaration { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> ast/src/validation/type_formation.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | for decl in &program.run_declaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 33 - for decl in &program.run_declaration { [INFO] [stdout] 33 + while let Some(decl) = &program.run_declaration { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 33 - for decl in &program.run_declaration { [INFO] [stdout] 33 + if let Some(decl) = &program.run_declaration { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling compiler v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> compiler/src/interpreter.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FunctionImport`, `call_closure`, `call`, `constant`, `partial_apply`, `pattern_match`, `project`, `tuple`, and `var` [INFO] [stdout] --> compiler/src/interpreter.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | call, call_closure, constant, partial_apply, pattern_match, project, tuple, var, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^ [INFO] [stdout] 276 | FunctionImport, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `call_closure`, `partial_apply`, `pattern_match`, and `project` [INFO] [stdout] --> compiler/src/main.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | call, call_closure, constant, partial_apply, pattern_match, project, tuple, var, Function, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `show_function` and `show_term` [INFO] [stdout] --> compiler/src/main.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | use show::{show_function, show_program, show_term}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> compiler/src/interpreter.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | let Some(function) = self.functions.get(fn_name) else { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term` [INFO] [stdout] --> compiler/src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let term = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add` [INFO] [stdout] --> compiler/src/main.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let add = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> compiler/src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let function = { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `interpreter::Value` is more private than the item `run` [INFO] [stdout] --> compiler/src/interpreter.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn run(program: Program) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `run` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `interpreter::Value` is only usable at visibility `pub(self)` [INFO] [stdout] --> compiler/src/interpreter.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | enum Value { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RuntimeError` is more private than the item `run` [INFO] [stdout] --> compiler/src/interpreter.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn run(program: Program) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `run` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RuntimeError` is only usable at visibility `pub(self)` [INFO] [stdout] --> compiler/src/interpreter.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | enum RuntimeError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_compilation0` is never used [INFO] [stdout] --> compiler/src/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn example_compilation0() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example0` is never used [INFO] [stdout] --> compiler/src/main.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn example0() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `var_index_received` and `number_of_parameters` are never read [INFO] [stdout] --> compiler/src/gmm_compiler.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | VariableOutOfBounds { [INFO] [stdout] | ------------------- fields in this variant [INFO] [stdout] 19 | var_index_received: gmm::VarName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | number_of_parameters: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fn_name_received` and `number_of_all_functions_available_in_program` are never read [INFO] [stdout] --> compiler/src/gmm_compiler.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | FunctionOutOfBounds { [INFO] [stdout] | ------------------- fields in this variant [INFO] [stdout] 23 | fn_name_received: gmm::FunctionName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | number_of_all_functions_available_in_program: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constant` is never used [INFO] [stdout] --> compiler/src/graph_memory_machine.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn constant(v: Variant) -> Term { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `byte_array` is never used [INFO] [stdout] --> compiler/src/graph_memory_machine.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn byte_array(bytes: Vec) -> Term { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tuple` is never used [INFO] [stdout] --> compiler/src/graph_memory_machine.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn tuple(v: Variant, components: Vec) -> Term { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project` is never used [INFO] [stdout] --> compiler/src/graph_memory_machine.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn project(tuple: Term, i: ComponentIndex) -> Term { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first` is never used [INFO] [stdout] --> compiler/src/graph_memory_machine.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn first(tuple: Term) -> Term { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `second` is never used [INFO] [stdout] --> compiler/src/graph_memory_machine.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn second(tuple: Term) -> Term { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call` is never used [INFO] [stdout] --> compiler/src/graph_memory_machine.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn call(fn_name: FunctionName, args: Vec) -> Term { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_closure` is never used [INFO] [stdout] --> compiler/src/graph_memory_machine.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn call_closure(closure_term: Term, args: Vec) -> Term { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `partial_apply` is never used [INFO] [stdout] --> compiler/src/graph_memory_machine.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn partial_apply(fn_name: FunctionName, args: Vec) -> Term { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `var` is never used [INFO] [stdout] --> compiler/src/graph_memory_machine.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn var(var_name: VarName) -> Term { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `let_bind` is never used [INFO] [stdout] --> compiler/src/graph_memory_machine.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn let_bind(args: Vec, e1: Term) -> Term { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pattern_match` is never used [INFO] [stdout] --> compiler/src/graph_memory_machine.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn pattern_match(arg: Term, branches: Vec<(Pattern, Term)>) -> Term { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> compiler/src/interpreter.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RuntimeError` is never used [INFO] [stdout] --> compiler/src/interpreter.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum RuntimeError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> compiler/src/interpreter.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Closure` is never constructed [INFO] [stdout] --> compiler/src/interpreter.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct Closure { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarEnvironment` is never constructed [INFO] [stdout] --> compiler/src/interpreter.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct VarEnvironment(Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PrimitiveFunction` is never used [INFO] [stdout] --> compiler/src/interpreter.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | type PrimitiveFunction = fn(Vec) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionEnvironment` is never constructed [INFO] [stdout] --> compiler/src/interpreter.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct FunctionEnvironment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FunctionOrPrimitive` is never used [INFO] [stdout] --> compiler/src/interpreter.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | enum FunctionOrPrimitive { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `matches` is never used [INFO] [stdout] --> compiler/src/interpreter.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 59 | fn matches(&self, pattern: &Pattern) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `lookup`, `push_binding`, and `pop_binding` are never used [INFO] [stdout] --> compiler/src/interpreter.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl VarEnvironment { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 74 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn lookup(&self, var_name: VarName) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn push_binding(&mut self, value: Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn pop_binding(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `apply`, `interpret_terms`, and `interpret` are never used [INFO] [stdout] --> compiler/src/interpreter.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 97 | impl FunctionEnvironment { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] 98 | fn apply(&self, fn_name: FunctionName, args: Vec) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn interpret_terms(&self, terms: &[Term], var_env: &mut VarEnvironment) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn interpret(&self, term: &Term, var_env: &mut VarEnvironment) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> compiler/src/interpreter.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn run(program: Program) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `increment` is never used [INFO] [stdout] --> compiler/src/interpreter.rs:227:4 [INFO] [stdout] | [INFO] [stdout] 227 | fn increment(args: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrement` is never used [INFO] [stdout] --> compiler/src/interpreter.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn decrement(args: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addition` is never used [INFO] [stdout] --> compiler/src/interpreter.rs:255:4 [INFO] [stdout] | [INFO] [stdout] 255 | fn addition(args: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `get_const`, `get_tuple_pointer`, `get_tuple_variant`, `read_tag`, and `make_env_from` are never read [INFO] [stdout] --> compiler/src/runtime.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Runtime { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub get_const: FunctionIndex, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | pub tuple: FunctionIndex, [INFO] [stdout] 14 | pub get_tuple_pointer: FunctionIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub get_tuple_variant: FunctionIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub tuple_project: FunctionIndex, [INFO] [stdout] 17 | pub read_tag: FunctionIndex, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub make_env_from: FunctionIndex, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Runtime` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.50s [INFO] running `Command { std: "docker" "inspect" "c3a4b8ad5ba1d7241dbd0a129c11453e8811b78e902bfb34d124a0da4f632673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3a4b8ad5ba1d7241dbd0a129c11453e8811b78e902bfb34d124a0da4f632673", kill_on_drop: false }` [INFO] [stdout] c3a4b8ad5ba1d7241dbd0a129c11453e8811b78e902bfb34d124a0da4f632673 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6aaca0e0f59e44b7259a6b1c75446cd9c99c83bf7112d30267c5f40689b6bbf5 [INFO] running `Command { std: "docker" "start" "-a" "6aaca0e0f59e44b7259a6b1c75446cd9c99c83bf7112d30267c5f40689b6bbf5", kill_on_drop: false }` [INFO] [stderr] Compiling runtime v0.1.0 (/opt/rustwide/workdir/runtime) [INFO] [stderr] Compiling wasm v0.1.0 (/opt/rustwide/workdir/wasm) [INFO] [stderr] Compiling ast v0.1.0 (/opt/rustwide/workdir/ast) [INFO] [stderr] Compiling compiler v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> ast/src/parser/lex/lexer.rs:117:39 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn chars(&'state mut self) -> &mut Chars<'state> { [INFO] [stdout] | ------ ^^^^^^^^^^^------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'state` [INFO] [stdout] | [INFO] [stdout] 117 | pub fn chars(&'state mut self) -> &'state mut Chars<'state> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> ast/src/validation/term_formation.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | for decl in &program.run_declaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 30 - for decl in &program.run_declaration { [INFO] [stdout] 30 + while let Some(decl) = &program.run_declaration { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 30 - for decl in &program.run_declaration { [INFO] [stdout] 30 + if let Some(decl) = &program.run_declaration { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> ast/src/validation/type_formation.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | for decl in &program.run_declaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 33 - for decl in &program.run_declaration { [INFO] [stdout] 33 + while let Some(decl) = &program.run_declaration { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 33 - for decl in &program.run_declaration { [INFO] [stdout] 33 + if let Some(decl) = &program.run_declaration { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `project` [INFO] [stdout] --> compiler/src/interpreter.rs:275:69 [INFO] [stdout] | [INFO] [stdout] 275 | call, call_closure, constant, partial_apply, pattern_match, project, tuple, var, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `call_closure`, `partial_apply`, `pattern_match`, and `project` [INFO] [stdout] --> compiler/src/main.rs:102:15 [INFO] [stdout] | [INFO] [stdout] 102 | call, call_closure, constant, partial_apply, pattern_match, project, tuple, var, Function, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `show_function` and `show_term` [INFO] [stdout] --> compiler/src/main.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | use show::{show_function, show_program, show_term}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v0` [INFO] [stdout] --> wasm/src/binary_format/primitives/byte_stream.rs:731:13 [INFO] [stdout] | [INFO] [stdout] 731 | let v0 = vec![0xc0, 0xbb, 0x78]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> compiler/src/interpreter.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | let Some(function) = self.functions.get(fn_name) else { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term` [INFO] [stdout] --> compiler/src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let term = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add` [INFO] [stdout] --> compiler/src/main.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let add = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> compiler/src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let function = { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `interpreter::Value` is more private than the item `interpreter::run` [INFO] [stdout] --> compiler/src/interpreter.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn run(program: Program) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `interpreter::run` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `interpreter::Value` is only usable at visibility `pub(self)` [INFO] [stdout] --> compiler/src/interpreter.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | enum Value { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RuntimeError` is more private than the item `interpreter::run` [INFO] [stdout] --> compiler/src/interpreter.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn run(program: Program) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `interpreter::run` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RuntimeError` is only usable at visibility `pub(self)` [INFO] [stdout] --> compiler/src/interpreter.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | enum RuntimeError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_compilation0` is never used [INFO] [stdout] --> compiler/src/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn example_compilation0() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example0` is never used [INFO] [stdout] --> compiler/src/main.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn example0() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `var_index_received` and `number_of_parameters` are never read [INFO] [stdout] --> compiler/src/gmm_compiler.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | VariableOutOfBounds { [INFO] [stdout] | ------------------- fields in this variant [INFO] [stdout] 19 | var_index_received: gmm::VarName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | number_of_parameters: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fn_name_received` and `number_of_all_functions_available_in_program` are never read [INFO] [stdout] --> compiler/src/gmm_compiler.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | FunctionOutOfBounds { [INFO] [stdout] | ------------------- fields in this variant [INFO] [stdout] 23 | fn_name_received: gmm::FunctionName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | number_of_all_functions_available_in_program: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `byte_array` is never used [INFO] [stdout] --> compiler/src/graph_memory_machine.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn byte_array(bytes: Vec) -> Term { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project` is never used [INFO] [stdout] --> compiler/src/graph_memory_machine.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn project(tuple: Term, i: ComponentIndex) -> Term { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `first` is never used [INFO] [stdout] --> compiler/src/graph_memory_machine.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn first(tuple: Term) -> Term { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `second` is never used [INFO] [stdout] --> compiler/src/graph_memory_machine.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn second(tuple: Term) -> Term { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `let_bind` is never used [INFO] [stdout] --> compiler/src/graph_memory_machine.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn let_bind(args: Vec, e1: Term) -> Term { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> compiler/src/interpreter.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | UndefinedVariable(VarName), [INFO] [stdout] | ----------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - UndefinedVariable(VarName), [INFO] [stdout] 10 + UndefinedVariable(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> compiler/src/interpreter.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | UndefinedFunction(FunctionName), [INFO] [stdout] | ----------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - UndefinedFunction(FunctionName), [INFO] [stdout] 11 + UndefinedFunction(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected` and `received` are never read [INFO] [stdout] --> compiler/src/interpreter.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | WrongNumberOfArguments { expected: usize, received: usize }, [INFO] [stdout] | ---------------------- ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `import` is never read [INFO] [stdout] --> compiler/src/interpreter.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | UnsupportedPrimitiveFunction { import: FunctionImport }, [INFO] [stdout] | ---------------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExpectedByteArray` and `EmptySequenceOfTerms` are never constructed [INFO] [stdout] --> compiler/src/interpreter.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum RuntimeError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | ExpectedByteArray, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | EmptySequenceOfTerms, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `get_const`, `get_tuple_pointer`, `get_tuple_variant`, `read_tag`, and `make_env_from` are never read [INFO] [stdout] --> compiler/src/runtime.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Runtime { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub get_const: FunctionIndex, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | pub tuple: FunctionIndex, [INFO] [stdout] 14 | pub get_tuple_pointer: FunctionIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub get_tuple_variant: FunctionIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub tuple_project: FunctionIndex, [INFO] [stdout] 17 | pub read_tag: FunctionIndex, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub make_env_from: FunctionIndex, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Runtime` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> ast/src/parser/lex/lexer.rs:117:39 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn chars(&'state mut self) -> &mut Chars<'state> { [INFO] [stdout] | ------ ^^^^^^^^^^^------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'state` [INFO] [stdout] | [INFO] [stdout] 117 | pub fn chars(&'state mut self) -> &'state mut Chars<'state> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> ast/src/validation/term_formation.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | for decl in &program.run_declaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 30 - for decl in &program.run_declaration { [INFO] [stdout] 30 + while let Some(decl) = &program.run_declaration { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 30 - for decl in &program.run_declaration { [INFO] [stdout] 30 + if let Some(decl) = &program.run_declaration { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> ast/src/validation/type_formation.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | for decl in &program.run_declaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 33 - for decl in &program.run_declaration { [INFO] [stdout] 33 + while let Some(decl) = &program.run_declaration { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 33 - for decl in &program.run_declaration { [INFO] [stdout] 33 + if let Some(decl) = &program.run_declaration { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.25s [INFO] running `Command { std: "docker" "inspect" "6aaca0e0f59e44b7259a6b1c75446cd9c99c83bf7112d30267c5f40689b6bbf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aaca0e0f59e44b7259a6b1c75446cd9c99c83bf7112d30267c5f40689b6bbf5", kill_on_drop: false }` [INFO] [stdout] 6aaca0e0f59e44b7259a6b1c75446cd9c99c83bf7112d30267c5f40689b6bbf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e35e4a3f6f1377676b31dd891755cc36509c8a2d285edc32b4924ba8effdcc5c [INFO] running `Command { std: "docker" "start" "-a" "e35e4a3f6f1377676b31dd891755cc36509c8a2d285edc32b4924ba8effdcc5c", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `v0` [INFO] [stderr] --> wasm/src/binary_format/primitives/byte_stream.rs:731:13 [INFO] [stderr] | [INFO] [stderr] 731 | let v0 = vec![0xc0, 0xbb, 0x78]; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_v0` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `wasm` (lib test) generated 1 warning (run `cargo fix --lib -p wasm --tests` to apply 1 suggestion) [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> ast/src/parser/lex/lexer.rs:117:39 [INFO] [stderr] | [INFO] [stderr] 117 | pub fn chars(&'state mut self) -> &mut Chars<'state> { [INFO] [stderr] | ------ ^^^^^^^^^^^------^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is named here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'state` [INFO] [stderr] | [INFO] [stderr] 117 | pub fn chars(&'state mut self) -> &'state mut Chars<'state> { [INFO] [stderr] | ++++++ [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> ast/src/validation/term_formation.rs:30:17 [INFO] [stderr] | [INFO] [stderr] 30 | for decl in &program.run_declaration { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 30 - for decl in &program.run_declaration { [INFO] [stderr] 30 + while let Some(decl) = &program.run_declaration { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 30 - for decl in &program.run_declaration { [INFO] [stderr] 30 + if let Some(decl) = &program.run_declaration { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> ast/src/validation/type_formation.rs:33:17 [INFO] [stderr] | [INFO] [stderr] 33 | for decl in &program.run_declaration { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 33 - for decl in &program.run_declaration { [INFO] [stderr] 33 + while let Some(decl) = &program.run_declaration { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 33 - for decl in &program.run_declaration { [INFO] [stderr] 33 + if let Some(decl) = &program.run_declaration { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `ast` (lib) generated 3 warnings (run `cargo fix --lib -p ast` to apply 1 suggestion) [INFO] [stderr] warning: `ast` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: unused import: `project` [INFO] [stderr] --> compiler/src/interpreter.rs:275:69 [INFO] [stderr] | [INFO] [stderr] 275 | call, call_closure, constant, partial_apply, pattern_match, project, tuple, var, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `call_closure`, `partial_apply`, `pattern_match`, and `project` [INFO] [stderr] --> compiler/src/main.rs:102:15 [INFO] [stderr] | [INFO] [stderr] 102 | call, call_closure, constant, partial_apply, pattern_match, project, tuple, var, Function, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `show_function` and `show_term` [INFO] [stderr] --> compiler/src/main.rs:211:16 [INFO] [stderr] | [INFO] [stderr] 211 | use show::{show_function, show_program, show_term}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `function` [INFO] [stderr] --> compiler/src/interpreter.rs:99:18 [INFO] [stderr] | [INFO] [stderr] 99 | let Some(function) = self.functions.get(fn_name) else { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `term` [INFO] [stderr] --> compiler/src/main.rs:174:9 [INFO] [stderr] | [INFO] [stderr] 174 | let term = { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_term` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `add` [INFO] [stderr] --> compiler/src/main.rs:175:13 [INFO] [stderr] | [INFO] [stderr] 175 | let add = 0; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_add` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `function` [INFO] [stderr] --> compiler/src/main.rs:198:9 [INFO] [stderr] | [INFO] [stderr] 198 | let function = { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stderr] [INFO] [stderr] warning: type `interpreter::Value` is more private than the item `interpreter::run` [INFO] [stderr] --> compiler/src/interpreter.rs:200:1 [INFO] [stderr] | [INFO] [stderr] 200 | pub fn run(program: Program) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `interpreter::run` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `interpreter::Value` is only usable at visibility `pub(self)` [INFO] [stderr] --> compiler/src/interpreter.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | enum Value { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `RuntimeError` is more private than the item `interpreter::run` [INFO] [stderr] --> compiler/src/interpreter.rs:200:1 [INFO] [stderr] | [INFO] [stderr] 200 | pub fn run(program: Program) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `interpreter::run` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `RuntimeError` is only usable at visibility `pub(self)` [INFO] [stderr] --> compiler/src/interpreter.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | enum RuntimeError { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `example_compilation0` is never used [INFO] [stderr] --> compiler/src/main.rs:100:4 [INFO] [stderr] | [INFO] [stderr] 100 | fn example_compilation0() -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `example0` is never used [INFO] [stderr] --> compiler/src/main.rs:142:4 [INFO] [stderr] | [INFO] [stderr] 142 | fn example0() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `var_index_received` and `number_of_parameters` are never read [INFO] [stderr] --> compiler/src/gmm_compiler.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 18 | VariableOutOfBounds { [INFO] [stderr] | ------------------- fields in this variant [INFO] [stderr] 19 | var_index_received: gmm::VarName, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 20 | number_of_parameters: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CompilationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `fn_name_received` and `number_of_all_functions_available_in_program` are never read [INFO] [stderr] --> compiler/src/gmm_compiler.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 22 | FunctionOutOfBounds { [INFO] [stderr] | ------------------- fields in this variant [INFO] [stderr] 23 | fn_name_received: gmm::FunctionName, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 24 | number_of_all_functions_available_in_program: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CompilationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `byte_array` is never used [INFO] [stderr] --> compiler/src/graph_memory_machine.rs:75:8 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn byte_array(bytes: Vec) -> Term { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `project` is never used [INFO] [stderr] --> compiler/src/graph_memory_machine.rs:83:8 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn project(tuple: Term, i: ComponentIndex) -> Term { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `first` is never used [INFO] [stderr] --> compiler/src/graph_memory_machine.rs:87:8 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn first(tuple: Term) -> Term { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `second` is never used [INFO] [stderr] --> compiler/src/graph_memory_machine.rs:91:8 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn second(tuple: Term) -> Term { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `let_bind` is never used [INFO] [stderr] --> compiler/src/graph_memory_machine.rs:111:8 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn let_bind(args: Vec, e1: Term) -> Term { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> compiler/src/interpreter.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 10 | UndefinedVariable(VarName), [INFO] [stderr] | ----------------- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 10 - UndefinedVariable(VarName), [INFO] [stderr] 10 + UndefinedVariable(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> compiler/src/interpreter.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | UndefinedFunction(FunctionName), [INFO] [stderr] | ----------------- ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 11 - UndefinedFunction(FunctionName), [INFO] [stderr] 11 + UndefinedFunction(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `expected` and `received` are never read [INFO] [stderr] --> compiler/src/interpreter.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | WrongNumberOfArguments { expected: usize, received: usize }, [INFO] [stderr] | ---------------------- ^^^^^^^^ ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `import` is never read [INFO] [stderr] --> compiler/src/interpreter.rs:24:36 [INFO] [stderr] | [INFO] [stderr] 24 | UnsupportedPrimitiveFunction { import: FunctionImport }, [INFO] [stderr] | ---------------------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `ExpectedByteArray` and `EmptySequenceOfTerms` are never constructed [INFO] [stderr] --> compiler/src/interpreter.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 9 | enum RuntimeError { [INFO] [stderr] | ------------ variants in this enum [INFO] [stderr] ... [INFO] [stderr] 14 | ExpectedByteArray, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | EmptySequenceOfTerms, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `get_const`, `get_tuple_pointer`, `get_tuple_variant`, `read_tag`, and `make_env_from` are never read [INFO] [stderr] --> compiler/src/runtime.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Runtime { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | pub get_const: FunctionIndex, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 13 | pub tuple: FunctionIndex, [INFO] [stderr] 14 | pub get_tuple_pointer: FunctionIndex, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 15 | pub get_tuple_variant: FunctionIndex, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 16 | pub tuple_project: FunctionIndex, [INFO] [stderr] 17 | pub read_tag: FunctionIndex, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub make_env_from: FunctionIndex, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Runtime` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `compiler` (bin "compiler" test) generated 24 warnings (run `cargo fix --bin "compiler" -p compiler --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ast-1bc2403dce066c43) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test parser::tests::test_function_declaration_0 ... ok [INFO] [stdout] test parser::tests::test_lambda_0 ... ok [INFO] [stdout] test parser::tests::test_function_declaration_2 ... ok [INFO] [stdout] test parser::tests::test_function_declaration_1 ... ok [INFO] [stdout] test parser::tests::test_type_declaration_0 ... ok [INFO] [stdout] test parser::tests::test_run_declaration_0 ... ok [INFO] [stdout] test parser::tests::test_run_declaration_1 ... ok [INFO] [stdout] test parser::tests::test_type_1 ... ok [INFO] [stdout] test parser::tests::test_type_declaration_2 ... ok [INFO] [stdout] test parser::tests::test_type_declaration_4 ... ok [INFO] [stdout] test parser::tests::test_local_let_0 ... ok [INFO] [stdout] test parser::tests::test_type_declaration_3 ... ok [INFO] [stdout] test parser::tests::test_type_declaration_1 ... ok [INFO] [stdout] test validation::tests::example ... ok [INFO] [stdout] test parser::tests::test_type_0 ... ok [INFO] [stdout] test parser::tests::test_program_0 ... FAILED [INFO] [stdout] test parser::tests::test_program_1 ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- parser::tests::test_program_0 stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'parser::tests::test_program_0' (29) panicked at ast/src/parser/mod.rs:392:9: [INFO] [stdout] assertion failed: matches!(result, Ok(_)) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ef953aeec12 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ef953aeec12 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ef953aeec12 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ef953aeec12 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ef953afecdf - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5ef953afecdf - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5ef953abc4d3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ef953abc4d3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5ef953ac8482 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ef953accf5f - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5ef953accdf1 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5ef953a8f43e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5ef953a8f43e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5ef953acd56f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5ef953acd56f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5ef953acd396 - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x5ef953ac85b9 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5ef953ab0dcd - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5ef953b07ee0 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5ef953b07ebc - core::panicking::panic::h2a6fe4ac012a7582 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:150:5 [INFO] [stdout] 20: 0x5ef953a32c22 - ast::parser::tests::test_program_0::h3f65438c709cdbec [INFO] [stdout] at /opt/rustwide/workdir/ast/src/parser/mod.rs:392:9 [INFO] [stdout] 21: 0x5ef953a32c9d - ast::parser::tests::test_program_0::{{closure}}::h97a213b584192f10 [INFO] [stdout] at /opt/rustwide/workdir/ast/src/parser/mod.rs:372:28 [INFO] [stdout] 22: 0x5ef953a54916 - core::ops::function::FnOnce::call_once::h91bd6b0d62b56830 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5ef953a8f28b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5ef953a8f28b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x5ef953aa329d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x5ef953aa329d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x5ef953aa329d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5ef953aa329d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5ef953aa329d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5ef953aa329d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x5ef953aa329d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x5ef953a7c7e4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x5ef953a7c7e4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x5ef953a8011a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 35: 0x5ef953a8011a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x5ef953a8011a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x5ef953a8011a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x5ef953a8011a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5ef953a8011a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 40: 0x5ef953a8011a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5ef953ac39bf - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 42: 0x5ef953ac39bf - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 43: 0x7a25cf4baaa4 - [INFO] [stdout] 44: 0x7a25cf547a64 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- parser::tests::test_program_1 stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'parser::tests::test_program_1' (30) panicked at ast/src/parser/mod.rs:406:9: [INFO] [stdout] assertion failed: matches!(result, Ok(_)) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ef953aeec12 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ef953aeec12 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ef953aeec12 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ef953aeec12 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ef953afecdf - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5ef953afecdf - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5ef953abc4d3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ef953abc4d3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5ef953ac8482 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ef953accf5f - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5ef953accdf1 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5ef953a8f43e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5ef953a8f43e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5ef953acd56f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5ef953acd56f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5ef953acd396 - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x5ef953ac85b9 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5ef953ab0dcd - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5ef953b07ee0 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5ef953b07ebc - core::panicking::panic::h2a6fe4ac012a7582 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:150:5 [INFO] [stdout] 20: 0x5ef953a32db2 - ast::parser::tests::test_program_1::hcf83ebe884ce0eaa [INFO] [stdout] at /opt/rustwide/workdir/ast/src/parser/mod.rs:406:9 [INFO] [stdout] 21: 0x5ef953a32e2d - ast::parser::tests::test_program_1::{{closure}}::hdcd2e9114957dba2 [INFO] [stdout] at /opt/rustwide/workdir/ast/src/parser/mod.rs:398:28 [INFO] [stdout] 22: 0x5ef953a54e56 - core::ops::function::FnOnce::call_once::hfcb30433cce2e825 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5ef953a8f28b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5ef953a8f28b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x5ef953aa329d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x5ef953aa329d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x5ef953aa329d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5ef953aa329d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5ef953aa329d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5ef953aa329d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x5ef953aa329d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x5ef953a7c7e4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x5ef953a7c7e4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x5ef953a8011a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 35: 0x5ef953a8011a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x5ef953a8011a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x5ef953a8011a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x5ef953a8011a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5ef953a8011a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 40: 0x5ef953a8011a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5ef953ac39bf - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 42: 0x5ef953ac39bf - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 43: 0x7a25cf4baaa4 - [INFO] [stdout] 44: 0x7a25cf547a64 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] parser::tests::test_program_0 [INFO] [stdout] parser::tests::test_program_1 [INFO] [stdout] [INFO] [stdout] test result: FAILED. 15 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p ast --lib` [INFO] running `Command { std: "docker" "inspect" "e35e4a3f6f1377676b31dd891755cc36509c8a2d285edc32b4924ba8effdcc5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e35e4a3f6f1377676b31dd891755cc36509c8a2d285edc32b4924ba8effdcc5c", kill_on_drop: false }` [INFO] [stdout] e35e4a3f6f1377676b31dd891755cc36509c8a2d285edc32b4924ba8effdcc5c