[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.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felipmoc%2FRuscall" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elipmoc/Ruscall on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.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-11/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.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 309881e790e9b01838aa385ba9a7db645edffff2174e57e42f5cfe787c0192cf [INFO] running `Command { std: "docker" "start" "-a" "309881e790e9b01838aa385ba9a7db645edffff2174e57e42f5cfe787c0192cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "309881e790e9b01838aa385ba9a7db645edffff2174e57e42f5cfe787c0192cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "309881e790e9b01838aa385ba9a7db645edffff2174e57e42f5cfe787c0192cf", kill_on_drop: false }` [INFO] [stdout] 309881e790e9b01838aa385ba9a7db645edffff2174e57e42f5cfe787c0192cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ff5e18a9b1e4a1804e1536da796b4a1703895d6a4ab216bf25293cbf228ee6f [INFO] running `Command { std: "docker" "start" "-a" "2ff5e18a9b1e4a1804e1536da796b4a1703895d6a4ab216bf25293cbf228ee6f", 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 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 indexmap v1.0.2 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling thread_local v0.3.6 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [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 54.16s [INFO] running `Command { std: "docker" "inspect" "2ff5e18a9b1e4a1804e1536da796b4a1703895d6a4ab216bf25293cbf228ee6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ff5e18a9b1e4a1804e1536da796b4a1703895d6a4ab216bf25293cbf228ee6f", kill_on_drop: false }` [INFO] [stdout] 2ff5e18a9b1e4a1804e1536da796b4a1703895d6a4ab216bf25293cbf228ee6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d36bf68cd085ac495355b0d7d155b98169f1c87d5baf9dfebabdf2671909a54a [INFO] running `Command { std: "docker" "start" "-a" "d36bf68cd085ac495355b0d7d155b98169f1c87d5baf9dfebabdf2671909a54a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [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] [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] [stderr] warning: | ~~~~^ [INFO] [stdout] warning: unused import: `compile::mangling::mangle` [INFO] [stdout] --> src/compile/code_gen.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use compile::mangling::mangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/compile/error.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | .fold("".to_string(), { |acc, x| format!("{}\r\n{:?}", acc, x) }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] [stderr] Compiling ruscall v0.6.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [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] warning: unused imports: `types::AnyType`, `types::BasicType`, `values::AnyValue`, `values::BasicValue` [INFO] [stdout] --> src/compile/code_gen.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use self::inkwell::{values::BasicValue, values::AnyValue, types::BasicType, types::AnyType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ir::mir` [INFO] [stdout] --> src/compile/code_gen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::ir::mir; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::type_substitute::TypeSubstitute` [INFO] [stdout] --> src/compile/code_gen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::semantic_analysis::type_inference::type_substitute::TypeSubstitute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::type_env::TypeEnv` [INFO] [stdout] --> src/compile/code_gen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::semantic_analysis::type_inference::type_env::TypeEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::assump_env::AssumpEnv` [INFO] [stdout] --> src/compile/code_gen.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::semantic_analysis::type_inference::assump_env::AssumpEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::types::types::*` [INFO] [stdout] --> src/compile/code_gen.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::types::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::HashMap` [INFO] [stdout] --> src/compile/code_gen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::hash_map::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compile::mangling::mangle` [INFO] [stdout] --> src/compile/code_gen.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use compile::mangling::mangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/compile/error.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | .fold("".to_string(), { |acc, x| format!("{}\r\n{:?}", acc, x) }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] 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] warning: unused imports: `types::AnyType`, `types::BasicType`, `values::AnyValue`, `values::BasicValue` [INFO] [stdout] --> src/compile/code_gen.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use self::inkwell::{values::BasicValue, values::AnyValue, types::BasicType, types::AnyType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ir::mir` [INFO] [stdout] --> src/compile/code_gen.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::ir::mir; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::type_substitute::TypeSubstitute` [INFO] [stdout] --> src/compile/code_gen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::semantic_analysis::type_inference::type_substitute::TypeSubstitute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::type_env::TypeEnv` [INFO] [stdout] --> src/compile/code_gen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::semantic_analysis::type_inference::type_env::TypeEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::semantic_analysis::type_inference::assump_env::AssumpEnv` [INFO] [stdout] --> src/compile/code_gen.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::semantic_analysis::type_inference::assump_env::AssumpEnv; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::types::types::*` [INFO] [stdout] --> src/compile/code_gen.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::types::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::HashMap` [INFO] [stdout] --> src/compile/code_gen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::hash_map::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compile::mangling::mangle` [INFO] [stdout] --> src/compile/code_gen.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use compile::mangling::mangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/compile/error.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | .fold("".to_string(), { |acc, x| format!("{}\r\n{:?}", acc, x) }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] 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] warning: unused import: `self::output_file::output_file` [INFO] [stdout] --> src/compile/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use self::output_file::output_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `code_gen` found for struct `ProgramMir` in the current scope [INFO] [stdout] --> tests/all/code_gen_test.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | let CodeGenResult{ module , .. } = ir.code_gen(stringify!($file_name),assump); [INFO] [stdout] | ^^^^^^^^ method not found in `ProgramMir` [INFO] [stdout] ... [INFO] [stdout] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/stdlib/c/test.c: In function 'scan': [INFO] [stderr] warning: src/stdlib/c/test.c:9:14: warning: unused parameter 'a' [-Wunused-parameter] [INFO] [stderr] warning: 9 | int scan(int a){ [INFO] [stderr] warning: | ~~~~^ [INFO] [stderr] [INFO] [stderr] error: could not compile `ruscall` due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `program_ir` [INFO] [stdout] --> src/compile/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Ok((program_ir, assump)) => panic!("stop"), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_ir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assump` [INFO] [stdout] --> src/compile/mod.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | Ok((program_ir, assump)) => panic!("stop"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_assump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_file_name` [INFO] [stdout] --> src/compile/mod.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn compile_from_str(str: &str, output_file_name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/compile/semantic_analysis/hir_to_mir.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let env = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program_ir` [INFO] [stdout] --> src/compile/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Ok((program_ir, assump)) => panic!("stop"), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program_ir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assump` [INFO] [stdout] --> src/compile/mod.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | Ok((program_ir, assump)) => panic!("stop"), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_assump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_file_name` [INFO] [stdout] --> src/compile/mod.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn compile_from_str(str: &str, output_file_name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/compile/semantic_analysis/hir_to_mir.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let env = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | let (mut assump, ty) = (&self.func).ty_get(ty_sub, ty_env, assump)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let mut lambda_q = Qual { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/semantic_analysis/type_get.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | let (mut assump, ty) = (&self.func).ty_get(ty_sub, ty_env, assump)?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/semantic_analysis/type_inference/unify.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | let mut func_ty = x.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile/semantic_analysis/type_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: 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-3f26d21a4e5a83aa.ruscall.0b5726e2-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-3f26d21a4e5a83aa.ruscall.0b5726e2-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-3f26d21a4e5a83aa.ruscall.0b5726e2-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-3f26d21a4e5a83aa.ruscall.0b5726e2-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-3f26d21a4e5a83aa.ruscall.0b5726e2-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-3f26d21a4e5a83aa.ruscall.0b5726e2-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-3f26d21a4e5a83aa.ruscall.0b5726e2-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-3f26d21a4e5a83aa.ruscall.0b5726e2-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-3f26d21a4e5a83aa.ruscall.0b5726e2-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-3f26d21a4e5a83aa.ruscall.0b5726e2-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-3f26d21a4e5a83aa.ruscall.0b5726e2-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-3f26d21a4e5a83aa.ruscall.0b5726e2-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-3f26d21a4e5a83aa.ruscall.0b5726e2-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-3f26d21a4e5a83aa.ruscall.0b5726e2-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-3f26d21a4e5a83aa.ruscall.0b5726e2-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-3f26d21a4e5a83aa.ruscall.0b5726e2-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/ruscall-3f26d21a4e5a83aa.evf0hovo8t65af5.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-3c647106b93d135f/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.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.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-ae0b9de85e81d76f.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-dd17e7b765638f54.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-e55ce254123a1c62.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-c91921c83bf98d74.rlib" "/opt/rustwide/target/debug/deps/libinkwell-243b78dc900c8524.rlib" "/opt/rustwide/target/debug/deps/libllvm_sys-057a1469114a6755.rlib" "/opt/rustwide/target/debug/deps/libindexmap-35df7e835597c905.rlib" "/opt/rustwide/target/debug/deps/libcombine-42913dff0826c951.rlib" "/opt/rustwide/target/debug/deps/libascii-93291a5d7b235213.rlib" "/opt/rustwide/target/debug/deps/libunreachable-c0df0943ae257096.rlib" "/opt/rustwide/target/debug/deps/libvoid-bbb98054dd984e62.rlib" "/opt/rustwide/target/debug/deps/libmemchr-45c27e8ba56624b0.rlib" "/opt/rustwide/target/debug/deps/liblibc-419bd3809bf5aa70.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-cbca0bb30c89f8c0.rlib" "/opt/rustwide/target/debug/deps/libeither-ac25ea0b76652938.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-e994200584ff303b.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.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.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ruscall-3f26d21a4e5a83aa" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-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" "d36bf68cd085ac495355b0d7d155b98169f1c87d5baf9dfebabdf2671909a54a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d36bf68cd085ac495355b0d7d155b98169f1c87d5baf9dfebabdf2671909a54a", kill_on_drop: false }` [INFO] [stdout] d36bf68cd085ac495355b0d7d155b98169f1c87d5baf9dfebabdf2671909a54a