[INFO] cloning repository https://github.com/Malique-Auguste/Nariva [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Malique-Auguste/Nariva" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalique-Auguste%2FNariva", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalique-Auguste%2FNariva'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c8d4bcd241d35f145ea491916cc8853a658ca47 [INFO] checking Malique-Auguste/Nariva against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalique-Auguste%2FNariva" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Malique-Auguste/Nariva on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Malique-Auguste/Nariva [INFO] finished tweaking git repo https://github.com/Malique-Auguste/Nariva [INFO] tweaked toml for git repo https://github.com/Malique-Auguste/Nariva written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Malique-Auguste/Nariva already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4ace15977d448b4d52bf828ee7bbd0d371bd1bfa8731eb304a62e17ee4be699 [INFO] running `Command { std: "docker" "start" "-a" "b4ace15977d448b4d52bf828ee7bbd0d371bd1bfa8731eb304a62e17ee4be699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4ace15977d448b4d52bf828ee7bbd0d371bd1bfa8731eb304a62e17ee4be699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4ace15977d448b4d52bf828ee7bbd0d371bd1bfa8731eb304a62e17ee4be699", kill_on_drop: false }` [INFO] [stdout] b4ace15977d448b4d52bf828ee7bbd0d371bd1bfa8731eb304a62e17ee4be699 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86ae7dd9f2b235583e212f6dc4dcc839ce28648a14c4a445d25378950b3e2091 [INFO] running `Command { std: "docker" "start" "-a" "86ae7dd9f2b235583e212f6dc4dcc839ce28648a14c4a445d25378950b3e2091", kill_on_drop: false }` [INFO] [stderr] Checking virtual_machine v0.1.0 (/opt/rustwide/workdir/virtual_machine) [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stdout] warning: unused import: `ByteOps` [INFO] [stdout] --> virtual_machine/src/vm.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::{Opcode, ByteOps}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ByteOps` [INFO] [stdout] --> virtual_machine/src/vm.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::{Opcode, ByteOps}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `zero_flag` [INFO] [stdout] --> virtual_machine/src/vm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | zero_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sign_flag` [INFO] [stdout] --> virtual_machine/src/vm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | sign_flag: bool [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> compiler/src/parser/parser.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 139 | / loop { [INFO] [stdout] 140 | | [INFO] [stdout] 141 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 142 | [INFO] [stdout] 143 | output [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> compiler/src/parser/parser.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let expression = Parser::get_expression(line); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> compiler/src/parser/parser.rs:113:70 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_value_init_statement(&mut self, mut line: Vec, scope: &String) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> compiler/src/parser/parser.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let mut output: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> compiler/src/parser/parser.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let mut line: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> compiler/src/parser/parser.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let mut index = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> compiler/src/parser/parser.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 139 | / loop { [INFO] [stdout] 140 | | [INFO] [stdout] 141 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 142 | [INFO] [stdout] 143 | output [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> compiler/src/parser/parser.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let expression = Parser::get_expression(line); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> compiler/src/parser/parser.rs:113:70 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_value_init_statement(&mut self, mut line: Vec, scope: &String) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> compiler/src/parser/parser.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let mut output: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> compiler/src/parser/parser.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let mut line: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> compiler/src/parser/parser.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let mut index = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> compiler/src/parser/parser.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let mut output: 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] --> compiler/src/parser/parser.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let mut line: Vec = Vec::new(); [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] --> compiler/src/parser/parser.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mut index = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input` [INFO] [stdout] --> compiler/src/parser/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | input: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `line` [INFO] [stdout] --> compiler/src/parser/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | line: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `symbol_type` [INFO] [stdout] --> compiler/src/parser/parser.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | symbol_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> compiler/src/parser/parser.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let mut output: 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] --> compiler/src/parser/parser.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let mut line: Vec = Vec::new(); [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] --> compiler/src/parser/parser.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mut index = 0; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input` [INFO] [stdout] --> compiler/src/parser/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | input: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `line` [INFO] [stdout] --> compiler/src/parser/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | line: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `symbol_type` [INFO] [stdout] --> compiler/src/parser/parser.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | symbol_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `zero_flag` [INFO] [stdout] --> virtual_machine/src/vm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | zero_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sign_flag` [INFO] [stdout] --> virtual_machine/src/vm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | sign_flag: bool [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.56s [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "86ae7dd9f2b235583e212f6dc4dcc839ce28648a14c4a445d25378950b3e2091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86ae7dd9f2b235583e212f6dc4dcc839ce28648a14c4a445d25378950b3e2091", kill_on_drop: false }` [INFO] [stdout] 86ae7dd9f2b235583e212f6dc4dcc839ce28648a14c4a445d25378950b3e2091