[INFO] updating cached repository https://github.com/sayaks/fraction-interpreter [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9f1ebb1090b73fbcbf5dc30093dc7e91f34a70ea [INFO] testing sayaks/fraction-interpreter against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsayaks%2Ffraction-interpreter" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sayaks/fraction-interpreter on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/sayaks/fraction-interpreter [INFO] finished tweaking git repo https://github.com/sayaks/fraction-interpreter [INFO] tweaked toml for git repo https://github.com/sayaks/fraction-interpreter written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/sayaks/fraction-interpreter already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 94d36e858a950451e2b1167fb5bec58fb14c73d4350eb88ed2d632b8e4d90c26 [INFO] running `"docker" "start" "-a" "94d36e858a950451e2b1167fb5bec58fb14c73d4350eb88ed2d632b8e4d90c26"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling rpds v0.6.0 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling fraction-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interpreter/ast.rs:93:19 [INFO] [stderr] | [INFO] [stderr] 93 | pub func: &'a Fn (&List>) -> Result, RuntimeError>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn (&List>) -> Result, RuntimeError>` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/interpreter/parser.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 31 | / match assignment_type.as_rule() { [INFO] [stderr] 32 | | Rule::var_assign => unimplemented!(), [INFO] [stderr] 33 | | Rule::func_assign => unimplemented!(), [INFO] [stderr] 34 | | _ => unreachable!(), [INFO] [stderr] 35 | | }; [INFO] [stderr] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stderr] 36 | [INFO] [stderr] 37 | unimplemented!(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pair` [INFO] [stderr] --> src/interpreter/parser.rs:40:26 [INFO] [stderr] | [INFO] [stderr] 40 | fn expression_parser<'a>(pair: Pair) -> Result, Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pair` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: private type `interpreter::ast::Closure<'a>` in public interface (error E0446) [INFO] [stderr] --> src/interpreter/ast.rs:105:14 [INFO] [stderr] | [INFO] [stderr] 105 | Function(Closure<'a>), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(private_in_public)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UndefinedVariable` [INFO] [stderr] --> src/interpreter/ast.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | UndefinedVariable(Name), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IncorrectNumberOfArgs` [INFO] [stderr] --> src/interpreter/ast.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | IncorrectNumberOfArgs(usize, usize), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `CannotCallValue` [INFO] [stderr] --> src/interpreter/ast.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | CannotCallValue(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unimplemented` [INFO] [stderr] --> src/interpreter/ast.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Unimplemented(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TypeError` [INFO] [stderr] --> src/interpreter/ast.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | TypeError(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `parent` [INFO] [stderr] --> src/interpreter/ast.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | parent: Option>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `mappings` [INFO] [stderr] --> src/interpreter/ast.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | mappings: HashMap>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/interpreter/ast.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn new(parent: Option>>, defines: Vec<(&Name, &Value<'a>)>) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get` [INFO] [stderr] --> src/interpreter/ast.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | fn get(&self, name: &Name) -> Result, RuntimeError> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `evaluate` [INFO] [stderr] --> src/interpreter/ast.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | fn evaluate(&self, expr: &'a Expression<'a>) -> Result, RuntimeError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `call` [INFO] [stderr] --> src/interpreter/ast.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 72 | fn call(&'a self, args: &'a List>) -> Result, RuntimeError> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Number` [INFO] [stderr] --> src/interpreter/ast.rs:100:5 [INFO] [stderr] | [INFO] [stderr] 100 | Number(Number), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Glyph` [INFO] [stderr] --> src/interpreter/ast.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | Glyph(char), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `List` [INFO] [stderr] --> src/interpreter/ast.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | List(List>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Function` [INFO] [stderr] --> src/interpreter/ast.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | Function(Closure<'a>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Builtin` [INFO] [stderr] --> src/interpreter/ast.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | Builtin(Builtin<'a>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `try_call` [INFO] [stderr] --> src/interpreter/ast.rs:110:8 [INFO] [stderr] | [INFO] [stderr] 110 | fn try_call(&'a self, args: &'a List>) -> Result, RuntimeError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Atomic` [INFO] [stderr] --> src/interpreter/ast.rs:133:5 [INFO] [stderr] | [INFO] [stderr] 133 | Atomic(Value<'a>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Variable` [INFO] [stderr] --> src/interpreter/ast.rs:134:5 [INFO] [stderr] | [INFO] [stderr] 134 | Variable(Name), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Application` [INFO] [stderr] --> src/interpreter/ast.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | Application(Value<'a>, List>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `Statement` [INFO] [stderr] --> src/interpreter/ast.rs:140:10 [INFO] [stderr] | [INFO] [stderr] 140 | pub enum Statement<'a> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Program` [INFO] [stderr] --> src/interpreter/ast.rs:145:1 [INFO] [stderr] | [INFO] [stderr] 145 | pub type Program<'a> = List>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Float` [INFO] [stderr] --> src/interpreter/data_structures.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Float(f64), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Integer` [INFO] [stderr] --> src/interpreter/data_structures.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Integer(i128), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_fraction_string` [INFO] [stderr] --> src/interpreter/parser.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | fn parse_fraction_string<'a>(file: &str) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `statement_parser` [INFO] [stderr] --> src/interpreter/parser.rs:21:4 [INFO] [stderr] | [INFO] [stderr] 21 | fn statement_parser<'a>(pair: Pair) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `assignment_parser` [INFO] [stderr] --> src/interpreter/parser.rs:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | fn assignment_parser<'a>(pair: Pair) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `expression_parser` [INFO] [stderr] --> src/interpreter/parser.rs:40:4 [INFO] [stderr] | [INFO] [stderr] 40 | fn expression_parser<'a>(pair: Pair) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `add2` [INFO] [stderr] --> src/interpreter/builtins.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | fn add2<'a>(arg1: Value<'a>, arg2: &Value<'a>) -> Result, RuntimeError> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `add` [INFO] [stderr] --> src/interpreter/builtins.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | fn add<'a>(args: &List>) -> Result, RuntimeError> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ADD` [INFO] [stderr] --> src/interpreter/builtins.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / const ADD: Builtin<'static> = Builtin { [INFO] [stderr] 18 | | func: &add, [INFO] [stderr] 19 | | }; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: 35 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.82s [INFO] running `"docker" "inspect" "94d36e858a950451e2b1167fb5bec58fb14c73d4350eb88ed2d632b8e4d90c26"` [INFO] running `"docker" "rm" "-f" "94d36e858a950451e2b1167fb5bec58fb14c73d4350eb88ed2d632b8e4d90c26"` [INFO] [stdout] 94d36e858a950451e2b1167fb5bec58fb14c73d4350eb88ed2d632b8e4d90c26 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 85524199de0bd5dde5a163adc200d9f52f96870393ff33d6f150ac8252da280e [INFO] running `"docker" "start" "-a" "85524199de0bd5dde5a163adc200d9f52f96870393ff33d6f150ac8252da280e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling fraction-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interpreter/ast.rs:93:19 [INFO] [stderr] | [INFO] [stderr] 93 | pub func: &'a Fn (&List>) -> Result, RuntimeError>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn (&List>) -> Result, RuntimeError>` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/interpreter/parser.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 31 | / match assignment_type.as_rule() { [INFO] [stderr] 32 | | Rule::var_assign => unimplemented!(), [INFO] [stderr] 33 | | Rule::func_assign => unimplemented!(), [INFO] [stderr] 34 | | _ => unreachable!(), [INFO] [stderr] 35 | | }; [INFO] [stderr] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stderr] 36 | [INFO] [stderr] 37 | unimplemented!(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pair` [INFO] [stderr] --> src/interpreter/parser.rs:40:26 [INFO] [stderr] | [INFO] [stderr] 40 | fn expression_parser<'a>(pair: Pair) -> Result, Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pair` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: private type `interpreter::ast::Closure<'a>` in public interface (error E0446) [INFO] [stderr] --> src/interpreter/ast.rs:105:14 [INFO] [stderr] | [INFO] [stderr] 105 | Function(Closure<'a>), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(private_in_public)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UndefinedVariable` [INFO] [stderr] --> src/interpreter/ast.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | UndefinedVariable(Name), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IncorrectNumberOfArgs` [INFO] [stderr] --> src/interpreter/ast.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | IncorrectNumberOfArgs(usize, usize), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `CannotCallValue` [INFO] [stderr] --> src/interpreter/ast.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | CannotCallValue(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unimplemented` [INFO] [stderr] --> src/interpreter/ast.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Unimplemented(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TypeError` [INFO] [stderr] --> src/interpreter/ast.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | TypeError(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `parent` [INFO] [stderr] --> src/interpreter/ast.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | parent: Option>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `mappings` [INFO] [stderr] --> src/interpreter/ast.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | mappings: HashMap>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/interpreter/ast.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn new(parent: Option>>, defines: Vec<(&Name, &Value<'a>)>) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get` [INFO] [stderr] --> src/interpreter/ast.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | fn get(&self, name: &Name) -> Result, RuntimeError> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `evaluate` [INFO] [stderr] --> src/interpreter/ast.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | fn evaluate(&self, expr: &'a Expression<'a>) -> Result, RuntimeError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `call` [INFO] [stderr] --> src/interpreter/ast.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 72 | fn call(&'a self, args: &'a List>) -> Result, RuntimeError> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Number` [INFO] [stderr] --> src/interpreter/ast.rs:100:5 [INFO] [stderr] | [INFO] [stderr] 100 | Number(Number), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Glyph` [INFO] [stderr] --> src/interpreter/ast.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | Glyph(char), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `List` [INFO] [stderr] --> src/interpreter/ast.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | List(List>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Function` [INFO] [stderr] --> src/interpreter/ast.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | Function(Closure<'a>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Builtin` [INFO] [stderr] --> src/interpreter/ast.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | Builtin(Builtin<'a>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `try_call` [INFO] [stderr] --> src/interpreter/ast.rs:110:8 [INFO] [stderr] | [INFO] [stderr] 110 | fn try_call(&'a self, args: &'a List>) -> Result, RuntimeError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Atomic` [INFO] [stderr] --> src/interpreter/ast.rs:133:5 [INFO] [stderr] | [INFO] [stderr] 133 | Atomic(Value<'a>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Variable` [INFO] [stderr] --> src/interpreter/ast.rs:134:5 [INFO] [stderr] | [INFO] [stderr] 134 | Variable(Name), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Application` [INFO] [stderr] --> src/interpreter/ast.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | Application(Value<'a>, List>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `Statement` [INFO] [stderr] --> src/interpreter/ast.rs:140:10 [INFO] [stderr] | [INFO] [stderr] 140 | pub enum Statement<'a> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Program` [INFO] [stderr] --> src/interpreter/ast.rs:145:1 [INFO] [stderr] | [INFO] [stderr] 145 | pub type Program<'a> = List>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Float` [INFO] [stderr] --> src/interpreter/data_structures.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Float(f64), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Integer` [INFO] [stderr] --> src/interpreter/data_structures.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Integer(i128), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_fraction_string` [INFO] [stderr] --> src/interpreter/parser.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | fn parse_fraction_string<'a>(file: &str) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `statement_parser` [INFO] [stderr] --> src/interpreter/parser.rs:21:4 [INFO] [stderr] | [INFO] [stderr] 21 | fn statement_parser<'a>(pair: Pair) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `assignment_parser` [INFO] [stderr] --> src/interpreter/parser.rs:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | fn assignment_parser<'a>(pair: Pair) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `expression_parser` [INFO] [stderr] --> src/interpreter/parser.rs:40:4 [INFO] [stderr] | [INFO] [stderr] 40 | fn expression_parser<'a>(pair: Pair) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `add2` [INFO] [stderr] --> src/interpreter/builtins.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | fn add2<'a>(arg1: Value<'a>, arg2: &Value<'a>) -> Result, RuntimeError> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `add` [INFO] [stderr] --> src/interpreter/builtins.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | fn add<'a>(args: &List>) -> Result, RuntimeError> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ADD` [INFO] [stderr] --> src/interpreter/builtins.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / const ADD: Builtin<'static> = Builtin { [INFO] [stderr] 18 | | func: &add, [INFO] [stderr] 19 | | }; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: 35 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.39s [INFO] running `"docker" "inspect" "85524199de0bd5dde5a163adc200d9f52f96870393ff33d6f150ac8252da280e"` [INFO] running `"docker" "rm" "-f" "85524199de0bd5dde5a163adc200d9f52f96870393ff33d6f150ac8252da280e"` [INFO] [stdout] 85524199de0bd5dde5a163adc200d9f52f96870393ff33d6f150ac8252da280e [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 84de9002c11b98432a2e5002658521d11c11a415d721d8e94beb2bbd04c75c00 [INFO] running `"docker" "start" "-a" "84de9002c11b98432a2e5002658521d11c11a415d721d8e94beb2bbd04c75c00"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interpreter/ast.rs:93:19 [INFO] [stderr] | [INFO] [stderr] 93 | pub func: &'a Fn (&List>) -> Result, RuntimeError>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn (&List>) -> Result, RuntimeError>` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/interpreter/parser.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 31 | / match assignment_type.as_rule() { [INFO] [stderr] 32 | | Rule::var_assign => unimplemented!(), [INFO] [stderr] 33 | | Rule::func_assign => unimplemented!(), [INFO] [stderr] 34 | | _ => unreachable!(), [INFO] [stderr] 35 | | }; [INFO] [stderr] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stderr] 36 | [INFO] [stderr] 37 | unimplemented!(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pair` [INFO] [stderr] --> src/interpreter/parser.rs:40:26 [INFO] [stderr] | [INFO] [stderr] 40 | fn expression_parser<'a>(pair: Pair) -> Result, Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pair` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: private type `interpreter::ast::Closure<'a>` in public interface (error E0446) [INFO] [stderr] --> src/interpreter/ast.rs:105:14 [INFO] [stderr] | [INFO] [stderr] 105 | Function(Closure<'a>), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(private_in_public)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UndefinedVariable` [INFO] [stderr] --> src/interpreter/ast.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | UndefinedVariable(Name), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IncorrectNumberOfArgs` [INFO] [stderr] --> src/interpreter/ast.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | IncorrectNumberOfArgs(usize, usize), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `CannotCallValue` [INFO] [stderr] --> src/interpreter/ast.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | CannotCallValue(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unimplemented` [INFO] [stderr] --> src/interpreter/ast.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Unimplemented(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TypeError` [INFO] [stderr] --> src/interpreter/ast.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | TypeError(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `parent` [INFO] [stderr] --> src/interpreter/ast.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | parent: Option>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `mappings` [INFO] [stderr] --> src/interpreter/ast.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | mappings: HashMap>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/interpreter/ast.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn new(parent: Option>>, defines: Vec<(&Name, &Value<'a>)>) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get` [INFO] [stderr] --> src/interpreter/ast.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | fn get(&self, name: &Name) -> Result, RuntimeError> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `evaluate` [INFO] [stderr] --> src/interpreter/ast.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | fn evaluate(&self, expr: &'a Expression<'a>) -> Result, RuntimeError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `call` [INFO] [stderr] --> src/interpreter/ast.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 72 | fn call(&'a self, args: &'a List>) -> Result, RuntimeError> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Number` [INFO] [stderr] --> src/interpreter/ast.rs:100:5 [INFO] [stderr] | [INFO] [stderr] 100 | Number(Number), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Glyph` [INFO] [stderr] --> src/interpreter/ast.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | Glyph(char), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `List` [INFO] [stderr] --> src/interpreter/ast.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | List(List>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Function` [INFO] [stderr] --> src/interpreter/ast.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | Function(Closure<'a>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Builtin` [INFO] [stderr] --> src/interpreter/ast.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | Builtin(Builtin<'a>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `try_call` [INFO] [stderr] --> src/interpreter/ast.rs:110:8 [INFO] [stderr] | [INFO] [stderr] 110 | fn try_call(&'a self, args: &'a List>) -> Result, RuntimeError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Atomic` [INFO] [stderr] --> src/interpreter/ast.rs:133:5 [INFO] [stderr] | [INFO] [stderr] 133 | Atomic(Value<'a>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Variable` [INFO] [stderr] --> src/interpreter/ast.rs:134:5 [INFO] [stderr] | [INFO] [stderr] 134 | Variable(Name), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Application` [INFO] [stderr] --> src/interpreter/ast.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | Application(Value<'a>, List>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `Statement` [INFO] [stderr] --> src/interpreter/ast.rs:140:10 [INFO] [stderr] | [INFO] [stderr] 140 | pub enum Statement<'a> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Program` [INFO] [stderr] --> src/interpreter/ast.rs:145:1 [INFO] [stderr] | [INFO] [stderr] 145 | pub type Program<'a> = List>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Float` [INFO] [stderr] --> src/interpreter/data_structures.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Float(f64), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Integer` [INFO] [stderr] --> src/interpreter/data_structures.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Integer(i128), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_fraction_string` [INFO] [stderr] --> src/interpreter/parser.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | fn parse_fraction_string<'a>(file: &str) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `statement_parser` [INFO] [stderr] --> src/interpreter/parser.rs:21:4 [INFO] [stderr] | [INFO] [stderr] 21 | fn statement_parser<'a>(pair: Pair) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `assignment_parser` [INFO] [stderr] --> src/interpreter/parser.rs:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | fn assignment_parser<'a>(pair: Pair) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `expression_parser` [INFO] [stderr] --> src/interpreter/parser.rs:40:4 [INFO] [stderr] | [INFO] [stderr] 40 | fn expression_parser<'a>(pair: Pair) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `add2` [INFO] [stderr] --> src/interpreter/builtins.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | fn add2<'a>(arg1: Value<'a>, arg2: &Value<'a>) -> Result, RuntimeError> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `add` [INFO] [stderr] --> src/interpreter/builtins.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | fn add<'a>(args: &List>) -> Result, RuntimeError> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ADD` [INFO] [stderr] --> src/interpreter/builtins.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / const ADD: Builtin<'static> = Builtin { [INFO] [stderr] 18 | | func: &add, [INFO] [stderr] 19 | | }; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: 35 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/fraction_interpreter-b4e69677d32ba75d [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test interpreter::test::name ... FAILED [INFO] [stdout] test interpreter::parser::test::test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- interpreter::test::name stdout ---- [INFO] [stdout] thread 'interpreter::test::name' panicked at 'not implemented', src/interpreter/mod.rs:10:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x555be4283d85 - backtrace::backtrace::libunwind::trace::h07c956be65d9b461 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x555be4283d85 - backtrace::backtrace::trace_unsynchronized::h2fdb9e4177ad4d20 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x555be4283d85 - std::sys_common::backtrace::_print_fmt::ha62d8426311107ac [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x555be4283d85 - ::fmt::h3ec6bdab62f1e8d9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x555be42abb5c - core::fmt::write::h935cb0ed4078a853 [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x555be422cf85 - std::io::Write::write_fmt::h944a31ab04b0dfe4 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x555be427e2c1 - std::io::impls::>::write_fmt::h6bd94c41a9c566d2 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x555be42865b0 - std::sys_common::backtrace::_print::h460db802d801ccf8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x555be42865b0 - std::sys_common::backtrace::print::h399d664f56640530 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x555be42865b0 - std::panicking::default_hook::{{closure}}::hc6dfd87957c765b8 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x555be42862aa - std::panicking::default_hook::hfdceba6d6d1a18ae [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x555be4286be7 - std::panicking::rust_panic_with_hook::hd01e282bff1b1e63 [INFO] [stdout] at src/libstd/panicking.rs:486 [INFO] [stdout] 12: 0x555be426e50b - std::panicking::begin_panic::h79a3517d86fa07d4 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panicking.rs:410 [INFO] [stdout] 13: 0x555be42193bd - fraction_interpreter::interpreter::test::name::h01dc4c532b0926af [INFO] [stdout] at src/interpreter/mod.rs:10 [INFO] [stdout] 14: 0x555be421938a - fraction_interpreter::interpreter::test::name::{{closure}}::h67f161efb5fed4fd [INFO] [stdout] at src/interpreter/mod.rs:9 [INFO] [stdout] 15: 0x555be4217d1e - core::ops::function::FnOnce::call_once::h322b4af65bf67e77 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libcore/ops/function.rs:232 [INFO] [stdout] 16: 0x555be4254372 - as core::ops::function::FnOnce>::call_once::hd23431bd7b767a0c [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/liballoc/boxed.rs:1076 [INFO] [stdout] 17: 0x555be4254372 - as core::ops::function::FnOnce<()>>::call_once::h6986d2e83b783a4e [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panic.rs:318 [INFO] [stdout] 18: 0x555be4254372 - std::panicking::try::do_call::haee67871ebe8ee92 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panicking.rs:297 [INFO] [stdout] 19: 0x555be4254372 - std::panicking::try::hcba534043f17f42d [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panicking.rs:274 [INFO] [stdout] 20: 0x555be4254372 - std::panic::catch_unwind::h6908c2ae7517b434 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panic.rs:394 [INFO] [stdout] 21: 0x555be4254372 - test::run_test_in_process::h66277a63b8267865 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 22: 0x555be4254372 - test::run_test::run_test_inner::{{closure}}::h591f321b83c3f302 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 23: 0x555be422c446 - std::sys_common::backtrace::__rust_begin_short_backtrace::h843e47ea29613666 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 24: 0x555be42319e5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::ha6c43669df0cbe25 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/thread/mod.rs:475 [INFO] [stdout] 25: 0x555be42319e5 - as core::ops::function::FnOnce<()>>::call_once::hc86e5439e615a14a [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panic.rs:318 [INFO] [stdout] 26: 0x555be42319e5 - std::panicking::try::do_call::h4b45bcf4d5d82a80 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panicking.rs:297 [INFO] [stdout] 27: 0x555be42319e5 - std::panicking::try::h297c0c407d3f8196 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panicking.rs:274 [INFO] [stdout] 28: 0x555be42319e5 - std::panic::catch_unwind::h877baa9fbef2eafe [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panic.rs:394 [INFO] [stdout] 29: 0x555be42319e5 - std::thread::Builder::spawn_unchecked::{{closure}}::hdb000626ad29158a [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/thread/mod.rs:474 [INFO] [stdout] 30: 0x555be42319e5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h87e786b011f05b5c [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libcore/ops/function.rs:232 [INFO] [stdout] 31: 0x555be428ceaa - as core::ops::function::FnOnce>::call_once::hfc5c0e64036d1b09 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/liballoc/boxed.rs:1076 [INFO] [stdout] 32: 0x555be428ceaa - as core::ops::function::FnOnce>::call_once::hf3d73184efc070c1 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/liballoc/boxed.rs:1076 [INFO] [stdout] 33: 0x555be428ceaa - std::sys::unix::thread::Thread::new::thread_start::hb9eb749d91dfe8e2 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 34: 0x7fab2159d609 - start_thread [INFO] [stdout] 35: 0x7fab214a9103 - __clone [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- interpreter::parser::test::test stdout ---- [INFO] [stdout] Ok( [INFO] [stdout] [ [INFO] [stdout] Pair { [INFO] [stdout] rule: program, [INFO] [stdout] span: Span { [INFO] [stdout] str: "foo(a, 2)", [INFO] [stdout] start: 0, [INFO] [stdout] end: 9, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: statement, [INFO] [stdout] span: Span { [INFO] [stdout] str: "foo(a, 2)", [INFO] [stdout] start: 0, [INFO] [stdout] end: 9, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "foo(a, 2)", [INFO] [stdout] start: 0, [INFO] [stdout] end: 9, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: funcapply, [INFO] [stdout] span: Span { [INFO] [stdout] str: "foo(a, 2)", [INFO] [stdout] start: 0, [INFO] [stdout] end: 9, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: varname, [INFO] [stdout] span: Span { [INFO] [stdout] str: "foo", [INFO] [stdout] start: 0, [INFO] [stdout] end: 3, [INFO] [stdout] }, [INFO] [stdout] inner: [], [INFO] [stdout] }, [INFO] [stdout] Pair { [INFO] [stdout] rule: apply_list, [INFO] [stdout] span: Span { [INFO] [stdout] str: "(a, 2)", [INFO] [stdout] start: 3, [INFO] [stdout] end: 9, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: exprlist, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a, 2", [INFO] [stdout] start: 4, [INFO] [stdout] end: 8, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: bin_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: unary_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: nested_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: atom, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] Pair { [INFO] [stdout] rule: expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "2", [INFO] [stdout] start: 7, [INFO] [stdout] end: 8, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: bin_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "2", [INFO] [stdout] start: 7, [INFO] [stdout] end: 8, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: unary_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "2", [INFO] [stdout] start: 7, [INFO] [stdout] end: 8, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: nested_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "2", [INFO] [stdout] start: 7, [INFO] [stdout] end: 8, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: atom, [INFO] [stdout] span: Span { [INFO] [stdout] str: "2", [INFO] [stdout] start: 7, [INFO] [stdout] end: 8, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: number, [INFO] [stdout] span: Span { [INFO] [stdout] str: "2", [INFO] [stdout] start: 7, [INFO] [stdout] end: 8, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: integer, [INFO] [stdout] span: Span { [INFO] [stdout] str: "2", [INFO] [stdout] start: 7, [INFO] [stdout] end: 8, [INFO] [stdout] }, [INFO] [stdout] inner: [], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] ) [INFO] [stdout] Ok( [INFO] [stdout] [ [INFO] [stdout] Pair { [INFO] [stdout] rule: program, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a + b", [INFO] [stdout] start: 0, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: statement, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a + b", [INFO] [stdout] start: 0, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a + b", [INFO] [stdout] start: 0, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: bin_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a + b", [INFO] [stdout] start: 0, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: unary_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 0, [INFO] [stdout] end: 1, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: nested_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 0, [INFO] [stdout] end: 1, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: atom, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 0, [INFO] [stdout] end: 1, [INFO] [stdout] }, [INFO] [stdout] inner: [], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] Pair { [INFO] [stdout] rule: bin_operator, [INFO] [stdout] span: Span { [INFO] [stdout] str: "+", [INFO] [stdout] start: 2, [INFO] [stdout] end: 3, [INFO] [stdout] }, [INFO] [stdout] inner: [], [INFO] [stdout] }, [INFO] [stdout] Pair { [INFO] [stdout] rule: bin_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "b", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: unary_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "b", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: nested_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "b", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: atom, [INFO] [stdout] span: Span { [INFO] [stdout] str: "b", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] ) [INFO] [stdout] Ok( [INFO] [stdout] [ [INFO] [stdout] Pair { [INFO] [stdout] rule: program, [INFO] [stdout] span: Span { [INFO] [stdout] str: "\'b", [INFO] [stdout] start: 0, [INFO] [stdout] end: 2, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: statement, [INFO] [stdout] span: Span { [INFO] [stdout] str: "\'b", [INFO] [stdout] start: 0, [INFO] [stdout] end: 2, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "\'b", [INFO] [stdout] start: 0, [INFO] [stdout] end: 2, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: bin_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "\'b", [INFO] [stdout] start: 0, [INFO] [stdout] end: 2, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: unary_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "\'b", [INFO] [stdout] start: 0, [INFO] [stdout] end: 2, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: unary_operator, [INFO] [stdout] span: Span { [INFO] [stdout] str: "\'", [INFO] [stdout] start: 0, [INFO] [stdout] end: 1, [INFO] [stdout] }, [INFO] [stdout] inner: [], [INFO] [stdout] }, [INFO] [stdout] Pair { [INFO] [stdout] rule: nested_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "b", [INFO] [stdout] start: 1, [INFO] [stdout] end: 2, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: atom, [INFO] [stdout] span: Span { [INFO] [stdout] str: "b", [INFO] [stdout] start: 1, [INFO] [stdout] end: 2, [INFO] [stdout] }, [INFO] [stdout] inner: [], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] ) [INFO] [stdout] Ok( [INFO] [stdout] [ [INFO] [stdout] Pair { [INFO] [stdout] rule: program, [INFO] [stdout] span: Span { [INFO] [stdout] str: "(a, b) -> a", [INFO] [stdout] start: 0, [INFO] [stdout] end: 11, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: statement, [INFO] [stdout] span: Span { [INFO] [stdout] str: "(a, b) -> a", [INFO] [stdout] start: 0, [INFO] [stdout] end: 11, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "(a, b) -> a", [INFO] [stdout] start: 0, [INFO] [stdout] end: 11, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: lambda, [INFO] [stdout] span: Span { [INFO] [stdout] str: "(a, b) -> a", [INFO] [stdout] start: 0, [INFO] [stdout] end: 11, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: args_list, [INFO] [stdout] span: Span { [INFO] [stdout] str: "(a, b)", [INFO] [stdout] start: 0, [INFO] [stdout] end: 6, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: exprlist, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a, b", [INFO] [stdout] start: 1, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 1, [INFO] [stdout] end: 2, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: bin_operator_expr, [INFO] [stderr] error: test failed, to rerun pass '--bin fraction-interpreter' [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 1, [INFO] [stdout] end: 2, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: unary_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 1, [INFO] [stdout] end: 2, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: nested_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 1, [INFO] [stdout] end: 2, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: atom, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 1, [INFO] [stdout] end: 2, [INFO] [stdout] }, [INFO] [stdout] inner: [], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] Pair { [INFO] [stdout] rule: expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "b", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: bin_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "b", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: unary_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "b", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: nested_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "b", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: atom, [INFO] [stdout] span: Span { [INFO] [stdout] str: "b", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] Pair { [INFO] [stdout] rule: expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 10, [INFO] [stdout] end: 11, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: bin_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 10, [INFO] [stdout] end: 11, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: unary_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 10, [INFO] [stdout] end: 11, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: nested_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 10, [INFO] [stdout] end: 11, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: atom, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 10, [INFO] [stdout] end: 11, [INFO] [stdout] }, [INFO] [stdout] inner: [], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] ) [INFO] [stdout] Ok( [INFO] [stdout] [ [INFO] [stdout] Pair { [INFO] [stdout] rule: program, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a,b,c", [INFO] [stdout] start: 0, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: statement, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 0, [INFO] [stdout] end: 1, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 0, [INFO] [stdout] end: 1, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: bin_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 0, [INFO] [stdout] end: 1, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: unary_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 0, [INFO] [stdout] end: 1, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: nested_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 0, [INFO] [stdout] end: 1, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: atom, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 0, [INFO] [stdout] end: 1, [INFO] [stdout] }, [INFO] [stdout] inner: [], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] Pair { [INFO] [stdout] rule: statement, [INFO] [stdout] span: Span { [INFO] [stdout] str: "b", [INFO] [stdout] start: 2, [INFO] [stdout] end: 3, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "b", [INFO] [stdout] start: 2, [INFO] [stdout] end: 3, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: bin_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "b", [INFO] [stdout] start: 2, [INFO] [stdout] end: 3, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: unary_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "b", [INFO] [stdout] start: 2, [INFO] [stdout] end: 3, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: nested_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "b", [INFO] [stdout] start: 2, [INFO] [stdout] end: 3, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: atom, [INFO] [stdout] span: Span { [INFO] [stdout] str: "b", [INFO] [stdout] start: 2, [INFO] [stdout] end: 3, [INFO] [stdout] }, [INFO] [stdout] inner: [], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] Pair { [INFO] [stdout] rule: statement, [INFO] [stdout] span: Span { [INFO] [stdout] str: "c", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "c", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: bin_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "c", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: unary_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "c", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: nested_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "c", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: atom, [INFO] [stdout] span: Span { [INFO] [stdout] str: "c", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] ) [INFO] [stdout] Ok( [INFO] [stdout] [ [INFO] [stdout] Pair { [INFO] [stdout] rule: program, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a = 2", [INFO] [stdout] start: 0, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: statement, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a = 2", [INFO] [stdout] start: 0, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: assignment, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a = 2", [INFO] [stdout] start: 0, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: var_assign, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a = 2", [INFO] [stdout] start: 0, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: varname, [INFO] [stdout] span: Span { [INFO] [stdout] str: "a", [INFO] [stdout] start: 0, [INFO] [stdout] end: 1, [INFO] [stdout] }, [INFO] [stdout] inner: [], [INFO] [stdout] }, [INFO] [stdout] Pair { [INFO] [stdout] rule: expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "2", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: bin_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "2", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: unary_operator_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "2", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: nested_expr, [INFO] [stdout] span: Span { [INFO] [stdout] str: "2", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: atom, [INFO] [stdout] span: Span { [INFO] [stdout] str: "2", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: number, [INFO] [stdout] span: Span { [INFO] [stdout] str: "2", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [ [INFO] [stdout] Pair { [INFO] [stdout] rule: integer, [INFO] [stdout] span: Span { [INFO] [stdout] str: "2", [INFO] [stdout] start: 4, [INFO] [stdout] end: 5, [INFO] [stdout] }, [INFO] [stdout] inner: [], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] }, [INFO] [stdout] ], [INFO] [stdout] ) [INFO] [stdout] thread 'interpreter::parser::test::test' panicked at 'assertion failed: false', src/interpreter/parser.rs:62:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x555be4283d85 - backtrace::backtrace::libunwind::trace::h07c956be65d9b461 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x555be4283d85 - backtrace::backtrace::trace_unsynchronized::h2fdb9e4177ad4d20 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x555be4283d85 - std::sys_common::backtrace::_print_fmt::ha62d8426311107ac [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x555be4283d85 - ::fmt::h3ec6bdab62f1e8d9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x555be42abb5c - core::fmt::write::h935cb0ed4078a853 [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x555be422cf85 - std::io::Write::write_fmt::h944a31ab04b0dfe4 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x555be427e2c1 - std::io::impls::>::write_fmt::h6bd94c41a9c566d2 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x555be42865b0 - std::sys_common::backtrace::_print::h460db802d801ccf8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x555be42865b0 - std::sys_common::backtrace::print::h399d664f56640530 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x555be42865b0 - std::panicking::default_hook::{{closure}}::hc6dfd87957c765b8 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x555be42862aa - std::panicking::default_hook::hfdceba6d6d1a18ae [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x555be4286be7 - std::panicking::rust_panic_with_hook::hd01e282bff1b1e63 [INFO] [stdout] at src/libstd/panicking.rs:486 [INFO] [stdout] 12: 0x555be426e50b - std::panicking::begin_panic::h79a3517d86fa07d4 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panicking.rs:410 [INFO] [stdout] 13: 0x555be422b050 - fraction_interpreter::interpreter::parser::test::test::h2aac5ba4c700b5fe [INFO] [stdout] at src/interpreter/parser.rs:62 [INFO] [stdout] 14: 0x555be422ab2a - fraction_interpreter::interpreter::parser::test::test::{{closure}}::h0fa3c06e0cc99d02 [INFO] [stdout] at src/interpreter/parser.rs:49 [INFO] [stdout] 15: 0x555be4217d8e - core::ops::function::FnOnce::call_once::hf8ac6829336c410b [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libcore/ops/function.rs:232 [INFO] [stdout] 16: 0x555be4254372 - as core::ops::function::FnOnce>::call_once::hd23431bd7b767a0c [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/liballoc/boxed.rs:1076 [INFO] [stdout] 17: 0x555be4254372 - as core::ops::function::FnOnce<()>>::call_once::h6986d2e83b783a4e [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panic.rs:318 [INFO] [stdout] 18: 0x555be4254372 - std::panicking::try::do_call::haee67871ebe8ee92 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panicking.rs:297 [INFO] [stdout] 19: 0x555be4254372 - std::panicking::try::hcba534043f17f42d [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panicking.rs:274 [INFO] [stdout] 20: 0x555be4254372 - std::panic::catch_unwind::h6908c2ae7517b434 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panic.rs:394 [INFO] [stdout] 21: 0x555be4254372 - test::run_test_in_process::h66277a63b8267865 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 22: 0x555be4254372 - test::run_test::run_test_inner::{{closure}}::h591f321b83c3f302 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 23: 0x555be422c446 - std::sys_common::backtrace::__rust_begin_short_backtrace::h843e47ea29613666 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 24: 0x555be42319e5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::ha6c43669df0cbe25 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/thread/mod.rs:475 [INFO] [stdout] 25: 0x555be42319e5 - as core::ops::function::FnOnce<()>>::call_once::hc86e5439e615a14a [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panic.rs:318 [INFO] [stdout] 26: 0x555be42319e5 - std::panicking::try::do_call::h4b45bcf4d5d82a80 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panicking.rs:297 [INFO] [stdout] 27: 0x555be42319e5 - std::panicking::try::h297c0c407d3f8196 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panicking.rs:274 [INFO] [stdout] 28: 0x555be42319e5 - std::panic::catch_unwind::h877baa9fbef2eafe [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/panic.rs:394 [INFO] [stdout] 29: 0x555be42319e5 - std::thread::Builder::spawn_unchecked::{{closure}}::hdb000626ad29158a [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libstd/thread/mod.rs:474 [INFO] [stdout] 30: 0x555be42319e5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h87e786b011f05b5c [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libcore/ops/function.rs:232 [INFO] [stdout] 31: 0x555be428ceaa - as core::ops::function::FnOnce>::call_once::hfc5c0e64036d1b09 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/liballoc/boxed.rs:1076 [INFO] [stdout] 32: 0x555be428ceaa - as core::ops::function::FnOnce>::call_once::hf3d73184efc070c1 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/liballoc/boxed.rs:1076 [INFO] [stdout] 33: 0x555be428ceaa - std::sys::unix::thread::Thread::new::thread_start::hb9eb749d91dfe8e2 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 34: 0x7fab2159d609 - start_thread [INFO] [stdout] 35: 0x7fab214a9103 - __clone [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] interpreter::parser::test::test [INFO] [stdout] interpreter::test::name [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "84de9002c11b98432a2e5002658521d11c11a415d721d8e94beb2bbd04c75c00"` [INFO] running `"docker" "rm" "-f" "84de9002c11b98432a2e5002658521d11c11a415d721d8e94beb2bbd04c75c00"` [INFO] [stdout] 84de9002c11b98432a2e5002658521d11c11a415d721d8e94beb2bbd04c75c00