[INFO] cloning repository https://github.com/elipmoc/Ruscall [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elipmoc/Ruscall" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felipmoc%2FRuscall", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felipmoc%2FRuscall'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8feb48c031b7475a396c7d15a05ea6a78c560daa [INFO] checking elipmoc/Ruscall against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felipmoc%2FRuscall" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elipmoc/Ruscall on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/elipmoc/Ruscall [INFO] finished tweaking git repo https://github.com/elipmoc/Ruscall [INFO] tweaked toml for git repo https://github.com/elipmoc/Ruscall written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/elipmoc/Ruscall already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a4c6ffe82d5124cf43f03c242a561a4da55fee35343154f2385121084f51b7e7 [INFO] running `Command { std: "docker" "start" "-a" "a4c6ffe82d5124cf43f03c242a561a4da55fee35343154f2385121084f51b7e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4c6ffe82d5124cf43f03c242a561a4da55fee35343154f2385121084f51b7e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4c6ffe82d5124cf43f03c242a561a4da55fee35343154f2385121084f51b7e7", kill_on_drop: false }` [INFO] [stdout] a4c6ffe82d5124cf43f03c242a561a4da55fee35343154f2385121084f51b7e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1a71d3899934e0c186c3fd32808c6bfafa14344f4b5b3571ef2bca40e9225bb8 [INFO] running `Command { std: "docker" "start" "-a" "1a71d3899934e0c186c3fd32808c6bfafa14344f4b5b3571ef2bca40e9225bb8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling inkwell v0.1.0 (https://github.com/elipmoc/inkwell?branch=llvm6-0#ad57fda8) [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling cc v1.0.27 [INFO] [stderr] Checking ascii v0.9.1 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Checking combine v3.6.3 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling ruscall v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling enum-methods v0.0.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling llvm-sys v60.2.0 [INFO] [stderr] Compiling inkwell_internal_macros v0.1.0 (https://github.com/elipmoc/inkwell?branch=llvm6-0#ad57fda8) [INFO] [stderr] warning: src/stdlib/c/test.c: In function 'scan': [INFO] [stderr] warning: src/stdlib/c/test.c:9:14: warning: unused parameter 'a' [-Wunused-parameter] [INFO] [stderr] warning: 9 | int scan(int a){ [INFO] [stderr] warning: | ~~~~^ [INFO] [stdout] warning: unused imports: `types::AnyType`, `types::BasicType`, `values::AnyValue`, `values::BasicValue` [INFO] [stdout] --> src/compile/code_gen.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use self::inkwell::{values::BasicValue, values::AnyValue, types::BasicType, types::AnyType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ir::mir` [INFO] [stdout] --> src/compile/code_gen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::ir::mir; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::type_substitute::TypeSubstitute` [INFO] [stdout] --> src/compile/code_gen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::semantic_analysis::type_inference::type_substitute::TypeSubstitute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::type_env::TypeEnv` [INFO] [stdout] --> src/compile/code_gen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::semantic_analysis::type_inference::type_env::TypeEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::assump_env::AssumpEnv` [INFO] [stdout] --> src/compile/code_gen.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::semantic_analysis::type_inference::assump_env::AssumpEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::types::types::*` [INFO] [stdout] --> src/compile/code_gen.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::types::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::HashMap` [INFO] [stdout] --> src/compile/code_gen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::hash_map::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compile::mangling::mangle` [INFO] [stdout] --> src/compile/code_gen.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use compile::mangling::mangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/compile/error.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | .fold("".to_string(), { |acc, x| format!("{}\r\n{:?}", acc, x) }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `types::AnyType`, `types::BasicType`, `values::AnyValue`, `values::BasicValue` [INFO] [stdout] --> src/compile/code_gen.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use self::inkwell::{values::BasicValue, values::AnyValue, types::BasicType, types::AnyType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ir::mir` [INFO] [stdout] --> src/compile/code_gen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::ir::mir; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::type_substitute::TypeSubstitute` [INFO] [stdout] --> src/compile/code_gen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::semantic_analysis::type_inference::type_substitute::TypeSubstitute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::type_env::TypeEnv` [INFO] [stdout] --> src/compile/code_gen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::semantic_analysis::type_inference::type_env::TypeEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::assump_env::AssumpEnv` [INFO] [stdout] --> src/compile/code_gen.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::semantic_analysis::type_inference::assump_env::AssumpEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::types::types::*` [INFO] [stdout] --> src/compile/code_gen.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::types::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::HashMap` [INFO] [stdout] --> src/compile/code_gen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::hash_map::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compile::mangling::mangle` [INFO] [stdout] --> src/compile/code_gen.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use compile::mangling::mangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::output_file::output_file` [INFO] [stdout] --> src/compile/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use self::output_file::output_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/compile/error.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | .fold("".to_string(), { |acc, x| format!("{}\r\n{:?}", acc, x) }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::output_file::output_file` [INFO] [stdout] --> src/compile/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use self::output_file::output_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use combine::parser::combinator::try; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | try(infix_parser().map(ast::StmtAST::InfixAST)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | .or(try(def_func_parser().map(ast::StmtAST::DefFuncAST))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | .or(try(dec_func_parser().map(ast::StmtAST::DecFuncAST))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:238:10 [INFO] [stdout] | [INFO] [stdout] 238 | (try(string("infixr")). [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | try(paren_parser()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | .or(try(bool_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | .or(try(if_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | .or(try(named_params_constructor_call_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:302:18 [INFO] [stdout] | [INFO] [stdout] 302 | many(try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:387:26 [INFO] [stdout] | [INFO] [stdout] 387 | many(try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:447:21 [INFO] [stdout] | [INFO] [stdout] 447 | try((skip_many_parser(),char(','),skip_many_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use combine::parser::combinator::try; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | .or(try(ty_paren_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | try(ty_func_parser().map(|f|TypeAST::FuncTypeAST(Box::new(f) ))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | many(try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | try(ty_func_parser().map(|f|TypeAST::FuncTypeAST(Box::new(f) ))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use combine::parser::combinator::try; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/skipper.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use combine::parser::combinator::{try, not_followed_by}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | try(infix_parser().map(ast::StmtAST::InfixAST)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/skipper.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | .or(try(comment_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | .or(try(def_func_parser().map(ast::StmtAST::DefFuncAST))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | .or(try(dec_func_parser().map(ast::StmtAST::DecFuncAST))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/skipper.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | .or(try(comments_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/skipper.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | try(comments_parser()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:238:10 [INFO] [stdout] | [INFO] [stdout] 238 | (try(string("infixr")). [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | try(paren_parser()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | .or(try(bool_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | .or(try(if_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | .or(try(named_params_constructor_call_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:302:18 [INFO] [stdout] | [INFO] [stdout] 302 | many(try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:387:26 [INFO] [stdout] | [INFO] [stdout] 387 | many(try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:447:21 [INFO] [stdout] | [INFO] [stdout] 447 | try((skip_many_parser(),char(','),skip_many_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use combine::parser::combinator::try; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | .or(try(ty_paren_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | try(ty_func_parser().map(|f|TypeAST::FuncTypeAST(Box::new(f) ))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | many(try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | try(ty_func_parser().map(|f|TypeAST::FuncTypeAST(Box::new(f) ))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/skipper.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use combine::parser::combinator::{try, not_followed_by}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/skipper.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | .or(try(comment_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/skipper.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | .or(try(comments_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/skipper.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | try(comments_parser()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_ir` [INFO] [stdout] --> src/compile/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Ok((program_ir, assump)) => panic!("stop"), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_ir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assump` [INFO] [stdout] --> src/compile/mod.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | Ok((program_ir, assump)) => panic!("stop"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_assump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_file_name` [INFO] [stdout] --> src/compile/mod.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn compile_from_str(str: &str, output_file_name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/compile/semantic_analysis/hir_to_mir.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let env = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_ir` [INFO] [stdout] --> src/compile/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Ok((program_ir, assump)) => panic!("stop"), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_ir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assump` [INFO] [stdout] --> src/compile/mod.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | Ok((program_ir, assump)) => panic!("stop"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_assump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_file_name` [INFO] [stdout] --> src/compile/mod.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn compile_from_str(str: &str, output_file_name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/compile/semantic_analysis/hir_to_mir.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let env = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | let (mut assump, ty) = (&self.func).ty_get(ty_sub, ty_env, assump)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let mut lambda_q = Qual { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | let (mut assump, ty) = (&self.func).ty_get(ty_sub, ty_env, assump)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let mut lambda_q = Qual { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/semantic_analysis/type_inference/unify.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | let mut func_ty = x.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/semantic_analysis/type_inference/unify.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | let mut func_ty = x.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/ast_transformer/currying_func.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | let mut x = *x; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/ast_transformer/resolve_named_params_constructor_call.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let mut x = *x; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/ast_transformer/currying_func.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | let mut x = *x; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/ast_transformer/resolve_named_params_constructor_call.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let mut x = *x; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_func_mir` [INFO] [stdout] --> src/compile/semantic_analysis/binding_group.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn create_func_mir(name: &str) -> FuncMir { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 34 | helper!(test1,4); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 35 | helper!(test2,76); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 36 | helper!(test3,7); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 37 | helper!(test4,6); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 38 | helper!(test5,0); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 39 | helper!(test6,4); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 40 | helper!(test7,6); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 41 | helper!(test8,7); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 42 | helper!(test9,9); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 43 | helper!(test10,15); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 44 | helper!(test11,12); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `types::AnyType`, `types::BasicType`, `values::AnyValue`, `values::BasicValue` [INFO] [stdout] --> src/compile/code_gen.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use self::inkwell::{values::BasicValue, values::AnyValue, types::BasicType, types::AnyType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ir::mir` [INFO] [stdout] --> src/compile/code_gen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::ir::mir; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::type_substitute::TypeSubstitute` [INFO] [stdout] --> src/compile/code_gen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::semantic_analysis::type_inference::type_substitute::TypeSubstitute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::type_env::TypeEnv` [INFO] [stdout] --> src/compile/code_gen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::semantic_analysis::type_inference::type_env::TypeEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::assump_env::AssumpEnv` [INFO] [stdout] --> src/compile/code_gen.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::semantic_analysis::type_inference::assump_env::AssumpEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::types::types::*` [INFO] [stdout] --> src/compile/code_gen.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::types::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::HashMap` [INFO] [stdout] --> src/compile/code_gen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::hash_map::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compile::mangling::mangle` [INFO] [stdout] --> src/compile/code_gen.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use compile::mangling::mangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/compile/error.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | .fold("".to_string(), { |acc, x| format!("{}\r\n{:?}", acc, x) }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::output_file::output_file` [INFO] [stdout] --> src/compile/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use self::output_file::output_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 45 | helper!(test12,65); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 46 | helper!(fact,120); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 47 | helper!(tuple_property,14); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 48 | helper!(record_property,20); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `types::AnyType`, `types::BasicType`, `values::AnyValue`, `values::BasicValue` [INFO] [stdout] --> src/compile/code_gen.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use self::inkwell::{values::BasicValue, values::AnyValue, types::BasicType, types::AnyType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ir::mir` [INFO] [stdout] --> src/compile/code_gen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::ir::mir; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::type_substitute::TypeSubstitute` [INFO] [stdout] --> src/compile/code_gen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::semantic_analysis::type_inference::type_substitute::TypeSubstitute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::type_env::TypeEnv` [INFO] [stdout] --> src/compile/code_gen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::semantic_analysis::type_inference::type_env::TypeEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::assump_env::AssumpEnv` [INFO] [stdout] --> src/compile/code_gen.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::semantic_analysis::type_inference::assump_env::AssumpEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::types::types::*` [INFO] [stdout] --> src/compile/code_gen.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::types::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::HashMap` [INFO] [stdout] --> src/compile/code_gen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::hash_map::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compile::mangling::mangle` [INFO] [stdout] --> src/compile/code_gen.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use compile::mangling::mangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/compile/error.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | .fold("".to_string(), { |acc, x| format!("{}\r\n{:?}", acc, x) }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 49 | helper!(record_name_property,11); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 50 | helper!(quantify,25); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 51 | helper!(explicit_quantify,7); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::output_file::output_file` [INFO] [stdout] --> src/compile/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use self::output_file::output_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use combine::parser::combinator::try; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | try(infix_parser().map(ast::StmtAST::InfixAST)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | .or(try(def_func_parser().map(ast::StmtAST::DefFuncAST))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | .or(try(dec_func_parser().map(ast::StmtAST::DecFuncAST))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:238:10 [INFO] [stdout] | [INFO] [stdout] 238 | (try(string("infixr")). [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | try(paren_parser()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | .or(try(bool_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | .or(try(if_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | .or(try(named_params_constructor_call_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:302:18 [INFO] [stdout] | [INFO] [stdout] 302 | many(try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:387:26 [INFO] [stdout] | [INFO] [stdout] 387 | many(try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:447:21 [INFO] [stdout] | [INFO] [stdout] 447 | try((skip_many_parser(),char(','),skip_many_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use combine::parser::combinator::try; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | .or(try(ty_paren_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | try(ty_func_parser().map(|f|TypeAST::FuncTypeAST(Box::new(f) ))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | many(try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | try(ty_func_parser().map(|f|TypeAST::FuncTypeAST(Box::new(f) ))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/skipper.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use combine::parser::combinator::{try, not_followed_by}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/skipper.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | .or(try(comment_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/skipper.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | .or(try(comments_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/skipper.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | try(comments_parser()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/stdlib/c/test.c: In function 'scan': [INFO] [stderr] warning: src/stdlib/c/test.c:9:14: warning: unused parameter 'a' [-Wunused-parameter] [INFO] [stderr] warning: 9 | int scan(int a){ [INFO] [stderr] warning: | ~~~~^ [INFO] [stderr] [INFO] [stderr] error: could not compile `ruscall` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use combine::parser::combinator::try; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | try(infix_parser().map(ast::StmtAST::InfixAST)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | .or(try(def_func_parser().map(ast::StmtAST::DefFuncAST))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | .or(try(dec_func_parser().map(ast::StmtAST::DecFuncAST))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:238:10 [INFO] [stdout] | [INFO] [stdout] 238 | (try(string("infixr")). [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | try(paren_parser()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | .or(try(bool_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | .or(try(if_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | .or(try(named_params_constructor_call_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:302:18 [INFO] [stdout] | [INFO] [stdout] 302 | many(try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:387:26 [INFO] [stdout] | [INFO] [stdout] 387 | many(try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/parser.rs:447:21 [INFO] [stdout] | [INFO] [stdout] 447 | try((skip_many_parser(),char(','),skip_many_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use combine::parser::combinator::try; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | .or(try(ty_paren_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | try(ty_func_parser().map(|f|TypeAST::FuncTypeAST(Box::new(f) ))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | many(try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | try(ty_func_parser().map(|f|TypeAST::FuncTypeAST(Box::new(f) ))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/types.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | try( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/skipper.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | use combine::parser::combinator::{try, not_followed_by}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/skipper.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | .or(try(comment_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/skipper.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | .or(try(comments_parser())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `combine::try`: try is a reserved keyword in Rust 2018. Use attempt instead. [INFO] [stdout] --> src/compile/parser/skipper.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | try(comments_parser()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_ir` [INFO] [stdout] --> src/compile/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Ok((program_ir, assump)) => panic!("stop"), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_ir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assump` [INFO] [stdout] --> src/compile/mod.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | Ok((program_ir, assump)) => panic!("stop"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_assump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_file_name` [INFO] [stdout] --> src/compile/mod.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn compile_from_str(str: &str, output_file_name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/compile/semantic_analysis/hir_to_mir.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let env = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | let (mut assump, ty) = (&self.func).ty_get(ty_sub, ty_env, assump)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let mut lambda_q = Qual { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/semantic_analysis/type_inference/unify.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | let mut func_ty = x.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_ir` [INFO] [stdout] --> src/compile/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Ok((program_ir, assump)) => panic!("stop"), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_ir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assump` [INFO] [stdout] --> src/compile/mod.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | Ok((program_ir, assump)) => panic!("stop"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_assump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_file_name` [INFO] [stdout] --> src/compile/mod.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn compile_from_str(str: &str, output_file_name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/compile/semantic_analysis/hir_to_mir.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let env = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/ast_transformer/currying_func.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | let mut x = *x; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/ast_transformer/resolve_named_params_constructor_call.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let mut x = *x; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | let (mut assump, ty) = (&self.func).ty_get(ty_sub, ty_env, assump)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let mut lambda_q = Qual { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/semantic_analysis/type_inference/unify.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | let mut func_ty = x.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/ast_transformer/currying_func.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | let mut x = *x; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/ast_transformer/resolve_named_params_constructor_call.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let mut x = *x; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_func_mir` [INFO] [stdout] --> src/compile/semantic_analysis/binding_group.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn create_func_mir(name: &str) -> FuncMir { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1a71d3899934e0c186c3fd32808c6bfafa14344f4b5b3571ef2bca40e9225bb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a71d3899934e0c186c3fd32808c6bfafa14344f4b5b3571ef2bca40e9225bb8", kill_on_drop: false }` [INFO] [stdout] 1a71d3899934e0c186c3fd32808c6bfafa14344f4b5b3571ef2bca40e9225bb8