[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] testing elipmoc/Ruscall against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felipmoc%2FRuscall" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elipmoc/Ruscall on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-18/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded combine v3.6.3 [INFO] [stderr] Downloaded cc v1.0.27 [INFO] [stderr] Downloaded llvm-sys v60.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f2684eb3835f73e76ebe8035dd6fb63e9766c69268eeba8bd6dcc323e603155 [INFO] running `Command { std: "docker" "start" "-a" "6f2684eb3835f73e76ebe8035dd6fb63e9766c69268eeba8bd6dcc323e603155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f2684eb3835f73e76ebe8035dd6fb63e9766c69268eeba8bd6dcc323e603155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f2684eb3835f73e76ebe8035dd6fb63e9766c69268eeba8bd6dcc323e603155", kill_on_drop: false }` [INFO] [stdout] 6f2684eb3835f73e76ebe8035dd6fb63e9766c69268eeba8bd6dcc323e603155 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdc763395c319c590e35fa6d9fed2d899dc14e497a3d833ae34f394fb9d8fd3e [INFO] running `Command { std: "docker" "start" "-a" "bdc763395c319c590e35fa6d9fed2d899dc14e497a3d833ae34f394fb9d8fd3e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling cc v1.0.27 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling inkwell v0.1.0 (https://github.com/elipmoc/inkwell?branch=llvm6-0#ad57fda8) [INFO] [stderr] Compiling ascii v0.9.1 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling ruscall v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling combine v3.6.3 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling enum-methods v0.0.8 [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] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 19 - .fold("".to_string(), { |acc, x| format!("{}\r\n{:?}", acc, x) }), [INFO] [stdout] 19 + .fold("".to_string(), |acc, x| format!("{}\r\n{:?}", acc, x)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | fn ty_get(&self, &mut TypeSubstitute, &mut TypeEnv, assump_env: AssumpEnv) -> TyCheckResult<(AssumpEnv, Qual)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TypeSubstitute` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | fn ty_get(&self, &mut TypeSubstitute, &mut TypeEnv, assump_env: AssumpEnv) -> TyCheckResult<(AssumpEnv, Qual)>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TypeEnv` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/types/traits/types.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | fn apply(self, &TypeSubstitute, inst_flag: bool) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &TypeSubstitute` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [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:34 [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:34 [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: 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: 47 warnings emitted [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] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 19 - .fold("".to_string(), { |acc, x| format!("{}\r\n{:?}", acc, x) }), [INFO] [stdout] 19 + .fold("".to_string(), |acc, x| format!("{}\r\n{:?}", acc, x)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | fn ty_get(&self, &mut TypeSubstitute, &mut TypeEnv, assump_env: AssumpEnv) -> TyCheckResult<(AssumpEnv, Qual)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TypeSubstitute` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | fn ty_get(&self, &mut TypeSubstitute, &mut TypeEnv, assump_env: AssumpEnv) -> TyCheckResult<(AssumpEnv, Qual)>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TypeEnv` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/types/traits/types.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | fn apply(self, &TypeSubstitute, inst_flag: bool) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &TypeSubstitute` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [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:34 [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:34 [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: 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: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.28s [INFO] running `Command { std: "docker" "inspect" "bdc763395c319c590e35fa6d9fed2d899dc14e497a3d833ae34f394fb9d8fd3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdc763395c319c590e35fa6d9fed2d899dc14e497a3d833ae34f394fb9d8fd3e", kill_on_drop: false }` [INFO] [stdout] bdc763395c319c590e35fa6d9fed2d899dc14e497a3d833ae34f394fb9d8fd3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d7956b2afb6763d3705783dea686f33af89a1ec8eee56d703525e61c1f70235 [INFO] running `Command { std: "docker" "start" "-a" "9d7956b2afb6763d3705783dea686f33af89a1ec8eee56d703525e61c1f70235", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [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] [stderr] warning: 9 | int scan(int a){ [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] [stderr] warning: | ~~~~^ [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] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 19 - .fold("".to_string(), { |acc, x| format!("{}\r\n{:?}", acc, x) }), [INFO] [stdout] 19 + .fold("".to_string(), |acc, x| format!("{}\r\n{:?}", acc, x)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | fn ty_get(&self, &mut TypeSubstitute, &mut TypeEnv, assump_env: AssumpEnv) -> TyCheckResult<(AssumpEnv, Qual)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TypeSubstitute` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | fn ty_get(&self, &mut TypeSubstitute, &mut TypeEnv, assump_env: AssumpEnv) -> TyCheckResult<(AssumpEnv, Qual)>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TypeEnv` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/types/traits/types.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | fn apply(self, &TypeSubstitute, inst_flag: bool) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &TypeSubstitute` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [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:34 [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:34 [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: 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] [stderr] Compiling ruscall v0.6.0 (/opt/rustwide/workdir) [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: 47 warnings emitted [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] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 19 - .fold("".to_string(), { |acc, x| format!("{}\r\n{:?}", acc, x) }), [INFO] [stdout] 19 + .fold("".to_string(), |acc, x| format!("{}\r\n{:?}", acc, x)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | fn ty_get(&self, &mut TypeSubstitute, &mut TypeEnv, assump_env: AssumpEnv) -> TyCheckResult<(AssumpEnv, Qual)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TypeSubstitute` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | fn ty_get(&self, &mut TypeSubstitute, &mut TypeEnv, assump_env: AssumpEnv) -> TyCheckResult<(AssumpEnv, Qual)>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TypeEnv` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/types/traits/types.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | fn apply(self, &TypeSubstitute, inst_flag: bool) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &TypeSubstitute` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [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:34 [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:34 [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: 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: 47 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 the macro `helper` (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 the macro `helper` (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 the macro `helper` (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 the macro `helper` (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 the macro `helper` (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 the macro `helper` (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 the macro `helper` (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 the macro `helper` (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 the macro `helper` (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 the macro `helper` (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 the macro `helper` (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] 45 | helper!(test12,65); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `helper` (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 the macro `helper` (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 the macro `helper` (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 the macro `helper` (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] 49 | helper!(record_name_property,11); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `helper` (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 the macro `helper` (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 the macro `helper` (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] 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: 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] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 19 - .fold("".to_string(), { |acc, x| format!("{}\r\n{:?}", acc, x) }), [INFO] [stdout] 19 + .fold("".to_string(), |acc, x| format!("{}\r\n{:?}", acc, x)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | fn ty_get(&self, &mut TypeSubstitute, &mut TypeEnv, assump_env: AssumpEnv) -> TyCheckResult<(AssumpEnv, Qual)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TypeSubstitute` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | fn ty_get(&self, &mut TypeSubstitute, &mut TypeEnv, assump_env: AssumpEnv) -> TyCheckResult<(AssumpEnv, Qual)>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TypeEnv` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/types/traits/types.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | fn apply(self, &TypeSubstitute, inst_flag: bool) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &TypeSubstitute` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [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] [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` due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 19 - .fold("".to_string(), { |acc, x| format!("{}\r\n{:?}", acc, x) }), [INFO] [stdout] 19 + .fold("".to_string(), |acc, x| format!("{}\r\n{:?}", acc, x)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | fn ty_get(&self, &mut TypeSubstitute, &mut TypeEnv, assump_env: AssumpEnv) -> TyCheckResult<(AssumpEnv, Qual)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TypeSubstitute` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | fn ty_get(&self, &mut TypeSubstitute, &mut TypeEnv, assump_env: AssumpEnv) -> TyCheckResult<(AssumpEnv, Qual)>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut TypeEnv` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/compile/types/traits/types.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | fn apply(self, &TypeSubstitute, inst_flag: bool) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &TypeSubstitute` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [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:34 [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: 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: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:34 [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: 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:34 [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:34 [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: 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: 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: 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: 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37.ruscall.ddf1af86-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37.ruscall.ddf1af86-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37.ruscall.ddf1af86-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37.ruscall.ddf1af86-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37.ruscall.ddf1af86-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37.ruscall.ddf1af86-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37.ruscall.ddf1af86-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37.ruscall.ddf1af86-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37.ruscall.ddf1af86-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37.ruscall.ddf1af86-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37.ruscall.ddf1af86-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37.ruscall.ddf1af86-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37.ruscall.ddf1af86-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37.ruscall.ddf1af86-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37.ruscall.ddf1af86-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37.ruscall.ddf1af86-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37.5eyf70j6u1nqj9k3.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide" "-L" "/opt/rustwide" "-L" "/usr/lib/llvm-10/lib" "-L" "/opt/rustwide/target/debug/build/llvm-sys-0d7711197a7108d5/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lffi" "-Wl,-Bstatic" "-Wl,--whole-archive" "-lhello" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-ltest" "-Wl,--no-whole-archive" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-b6a068090bf40c71.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-1c1e08c768cd8903.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3f4474e7a3a1f53f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-ec55ab174918e77a.rlib" "/opt/rustwide/target/debug/deps/libinkwell-4bceb77bc248eb54.rlib" "/opt/rustwide/target/debug/deps/libllvm_sys-6c2ffed65121cc09.rlib" "/opt/rustwide/target/debug/deps/libindexmap-22b8bc15385edb84.rlib" "/opt/rustwide/target/debug/deps/libcombine-dd74527c89e54823.rlib" "/opt/rustwide/target/debug/deps/libascii-a713f9fc6c383e82.rlib" "/opt/rustwide/target/debug/deps/libunreachable-d55ec9544426391e.rlib" "/opt/rustwide/target/debug/deps/libvoid-933ae127f8f6cffe.rlib" "/opt/rustwide/target/debug/deps/libmemchr-f9375cebbc0ab28a.rlib" "/opt/rustwide/target/debug/deps/liblibc-1416cbfc7de5093c.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-ba39efabcb0a90d1.rlib" "/opt/rustwide/target/debug/deps/libeither-dabe2dfd3d71f16b.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-7f93c59a1ede6408.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lffi" "-lz" "-lrt" "-ldl" "-ltinfo" "-lpthread" "-lm" "-lstdc++" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ruscall-7a279731d250bf37" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lhello [INFO] [stdout] /usr/bin/ld: cannot find -ltest [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 48 warnings emitted [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] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9d7956b2afb6763d3705783dea686f33af89a1ec8eee56d703525e61c1f70235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d7956b2afb6763d3705783dea686f33af89a1ec8eee56d703525e61c1f70235", kill_on_drop: false }` [INFO] [stdout] 9d7956b2afb6763d3705783dea686f33af89a1ec8eee56d703525e61c1f70235