[INFO] cloning repository https://github.com/martindevans/y [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/martindevans/y" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartindevans%2Fy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartindevans%2Fy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e54dfb0f13780b8b4ac2b4fafaa9edd1b37c9c0 [INFO] checking martindevans/y against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartindevans%2Fy" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/martindevans/y on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/martindevans/y [INFO] finished tweaking git repo https://github.com/martindevans/y [INFO] tweaked toml for git repo https://github.com/martindevans/y written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/martindevans/y already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded colored v1.9.3 [INFO] [stderr] Downloaded peg-runtime v0.6.2 [INFO] [stderr] Downloaded peg v0.6.2 [INFO] [stderr] Downloaded peg-macros v0.6.2 [INFO] [stderr] Downloaded yolol_number v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0f81437081dbc73da81cb9523c304a6c4f3bdf79238bbcd183e2a877ee5dd31 [INFO] running `Command { std: "docker" "start" "-a" "d0f81437081dbc73da81cb9523c304a6c4f3bdf79238bbcd183e2a877ee5dd31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0f81437081dbc73da81cb9523c304a6c4f3bdf79238bbcd183e2a877ee5dd31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0f81437081dbc73da81cb9523c304a6c4f3bdf79238bbcd183e2a877ee5dd31", kill_on_drop: false }` [INFO] [stdout] d0f81437081dbc73da81cb9523c304a6c4f3bdf79238bbcd183e2a877ee5dd31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 511eeb0c911d5c2e38ca73d6713849d9b17e4b7c749a41e87bedcb1d3fd4f4e8 [INFO] running `Command { std: "docker" "start" "-a" "511eeb0c911d5c2e38ca73d6713849d9b17e4b7c749a41e87bedcb1d3fd4f4e8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling peg-runtime v0.6.2 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Compiling peg-macros v0.6.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking peg v0.6.2 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking yolol_number v0.7.1 [INFO] [stderr] Checking yc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `set_virtual_terminal` in module `colored::control` [INFO] [stdout] --> src/main.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | if let Err(_) = colored::control::set_virtual_terminal(true) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `colored::control` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/colored-1.9.3/src/control.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn set_virtual_terminal(use_virtual: bool) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_virtual_terminal` in module `colored::control` [INFO] [stdout] --> src/main.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | if let Err(_) = colored::control::set_virtual_terminal(true) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `colored::control` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/colored-1.9.3/src/control.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn set_virtual_terminal(use_virtual: bool) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `peg_runtime` is imported redundantly [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use peg_runtime; [INFO] [stdout] | ^^^^^^^^^^^ the item `peg_runtime` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CallType`, `FieldDefinition`, `ParameterDefinition` [INFO] [stdout] --> src/compiler/stages/materialise_structs.rs:4:90 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::grammar::ast::{ InnerStatement, OuterStatement, Expression, StructDefinition, FieldDefinition, CallType, ParameterDefinition }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `infer_expr_type`, `type_check_assignment` [INFO] [stdout] --> src/compiler/stages/materialise_structs.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use super::super::typecheck::{ infer_expr_type, Type, type_check_assignment }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `peg_runtime` is imported redundantly [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use peg_runtime; [INFO] [stdout] | ^^^^^^^^^^^ the item `peg_runtime` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CallType` [INFO] [stdout] --> src/compiler/mod.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub use calls::{ CallType }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `canonicalise_field_path` [INFO] [stdout] --> src/compiler/mod.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub use fields::{ canonicalise_field_path }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CallType`, `FieldDefinition`, `ParameterDefinition` [INFO] [stdout] --> src/compiler/stages/materialise_structs.rs:4:90 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::grammar::ast::{ InnerStatement, OuterStatement, Expression, StructDefinition, FieldDefinition, CallType, ParameterDefinition }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `infer_expr_type`, `type_check_assignment` [INFO] [stdout] --> src/compiler/stages/materialise_structs.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use super::super::typecheck::{ infer_expr_type, Type, type_check_assignment }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CallType` [INFO] [stdout] --> src/compiler/mod.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub use calls::{ CallType }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `canonicalise_field_path` [INFO] [stdout] --> src/compiler/mod.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub use fields::{ canonicalise_field_path }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/compiler/stages/inline_macros.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 155 | panic!("rewrite"); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 158 | result.append(&mut rewritten.statements); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/compiler/stages/inline_macros.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 155 | panic!("rewrite"); [INFO] [stdout] | ----------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 158 | result.append(&mut rewritten.statements); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/compiler/stages/materialise_structs.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 81 | panic!("check that constructor args are compatible with type"); [INFO] [stdout] | -------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 82 | panic!("constructor declaration initialiser"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/compiler/stages/materialise_structs.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 81 | panic!("check that constructor args are compatible with type"); [INFO] [stdout] | -------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 82 | panic!("constructor declaration initialiser"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/compiler/typecheck.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | fn default_binary_expr(l: &Type, r: &Type, expr: &Expression, inference_failed: Result) -> Result src/compiler/stages/initial_blocks.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn build_blocks(self, config: &BuildConfig) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/compiler/typecheck.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | fn default_binary_expr(l: &Type, r: &Type, expr: &Expression, inference_failed: Result) -> Result src/compiler/stages/initial_blocks.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn build_blocks(self, config: &BuildConfig) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/compiler/stages/inline_macros.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | let mut result: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/compiler/stages/inline_macros.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | let t = infer_expr_type(other, types)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/compiler/stages/inline_macros.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | let d = OuterStatement::Inner(InnerStatement::DeclareAssign( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rewritten` [INFO] [stdout] --> src/compiler/stages/inline_macros.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | let mut rewritten = callable.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rewritten` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_field` [INFO] [stdout] --> src/compiler/stages/inline_macros.rs:99:117 [INFO] [stdout] | [INFO] [stdout] 99 | ..., CallableDefinition>, return_field: Option>, types: &HashMap, config: &BuildConfig) -> Result src/compiler/stages/inline_macros.rs:99:183 [INFO] [stdout] | [INFO] [stdout] 99 | ...pes: &HashMap, config: &BuildConfig) -> Result, CompilerError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/stages/inline_macros.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | let mut result: Vec = Vec::new(); [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/compiler/stages/inline_macros.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | let mut rewritten = callable.clone(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/compiler/stages/inline_macros.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | let mut result: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/compiler/stages/inline_macros.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | let t = infer_expr_type(other, types)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/compiler/stages/inline_macros.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | let d = OuterStatement::Inner(InnerStatement::DeclareAssign( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rewritten` [INFO] [stdout] --> src/compiler/stages/inline_macros.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | let mut rewritten = callable.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rewritten` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_field` [INFO] [stdout] --> src/compiler/stages/inline_macros.rs:99:117 [INFO] [stdout] | [INFO] [stdout] 99 | ..., CallableDefinition>, return_field: Option>, types: &HashMap, config: &BuildConfig) -> Result src/compiler/stages/inline_macros.rs:99:183 [INFO] [stdout] | [INFO] [stdout] 99 | ...pes: &HashMap, config: &BuildConfig) -> Result, CompilerError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/stages/inline_macros.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | let mut result: Vec = Vec::new(); [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/compiler/stages/inline_macros.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | let mut rewritten = callable.clone(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/compiler/stages/yolol_blocks.rs:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | InnerStatement::Call(name, args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/compiler/stages/yolol_blocks.rs:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | InnerStatement::Call(name, args) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/compiler/stages/materialise_structs.rs:72:133 [INFO] [stdout] | [INFO] [stdout] 72 | ... &mut HashMap, config: &BuildConfig) -> Result, CompilerError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> src/compiler/stages/materialise_structs.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | let typ = match typ { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/compiler/stages/materialise_structs.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | ... fn handle_constructor(field: &String, typ: &Type, structs: &HashMap, args: &Vec<(String, Expression)>) ->... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `structs` [INFO] [stdout] --> src/compiler/stages/materialise_structs.rs:74:63 [INFO] [stdout] | [INFO] [stdout] 74 | ... fn handle_constructor(field: &String, typ: &Type, structs: &HashMap, args: &Vec<(String, Expression)>) ->... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_structs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/compiler/stages/materialise_structs.rs:72:133 [INFO] [stdout] | [INFO] [stdout] 72 | ... &mut HashMap, config: &BuildConfig) -> Result, CompilerError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `typ` [INFO] [stdout] --> src/compiler/stages/materialise_structs.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | let typ = match typ { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/compiler/stages/materialise_structs.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | ... fn handle_constructor(field: &String, typ: &Type, structs: &HashMap, args: &Vec<(String, Expression)>) ->... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `structs` [INFO] [stdout] --> src/compiler/stages/materialise_structs.rs:74:63 [INFO] [stdout] | [INFO] [stdout] 74 | ... fn handle_constructor(field: &String, typ: &Type, structs: &HashMap, args: &Vec<(String, Expression)>) ->... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_structs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yc` (bin "yc" test) due to 2 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `yc` (bin "yc") due to 2 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "511eeb0c911d5c2e38ca73d6713849d9b17e4b7c749a41e87bedcb1d3fd4f4e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "511eeb0c911d5c2e38ca73d6713849d9b17e4b7c749a41e87bedcb1d3fd4f4e8", kill_on_drop: false }` [INFO] [stdout] 511eeb0c911d5c2e38ca73d6713849d9b17e4b7c749a41e87bedcb1d3fd4f4e8