[INFO] cloning repository https://github.com/eselizabeth/miolua [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eselizabeth/miolua" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feselizabeth%2Fmiolua", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feselizabeth%2Fmiolua'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e834b4dbc0a81e89be8b9b24908d2a8e8f6b9377 [INFO] checking eselizabeth/miolua against try#54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 for pr-153041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feselizabeth%2Fmiolua" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/eselizabeth/miolua [INFO] finished tweaking git repo https://github.com/eselizabeth/miolua [INFO] tweaked toml for git repo https://github.com/eselizabeth/miolua written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eselizabeth/miolua on toolchain 54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/eselizabeth/miolua 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" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd0fa0f3b92f3a096d549c76f96b9759c1f4b188031ead2774010a29a36e7a5e [INFO] running `Command { std: "docker" "start" "-a" "cd0fa0f3b92f3a096d549c76f96b9759c1f4b188031ead2774010a29a36e7a5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd0fa0f3b92f3a096d549c76f96b9759c1f4b188031ead2774010a29a36e7a5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd0fa0f3b92f3a096d549c76f96b9759c1f4b188031ead2774010a29a36e7a5e", kill_on_drop: false }` [INFO] [stdout] cd0fa0f3b92f3a096d549c76f96b9759c1f4b188031ead2774010a29a36e7a5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed94b31715d838903be2cfb0af7ccdd6771edec25f1e1e6c9b4982a93dfe6fa7 [INFO] running `Command { std: "docker" "start" "-a" "ed94b31715d838903be2cfb0af7ccdd6771edec25f1e1e6c9b4982a93dfe6fa7", kill_on_drop: false }` [INFO] [stderr] Checking miolua v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::token::Token` [INFO] [stdout] --> src/vm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::token::Token` [INFO] [stdout] --> src/vm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_name` [INFO] [stdout] --> src/compiler.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 79 | fn handle_function(&mut self, function_name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_paren` [INFO] [stdout] --> src/compiler.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let r_paren = self.lexer.next(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_r_paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_name` [INFO] [stdout] --> src/compiler.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let variable_name = if let Some(Token::Identifier(variable_name)) = self.lexer.next() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_all_tokens` is never used [INFO] [stdout] --> src/lexer.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 264 | pub fn get_all_tokens(&mut self) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytecode.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | LOAD_VAL(u8, u8), //DST, VAL [INFO] [stdout] | -------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ByteCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 6 - LOAD_VAL(u8, u8), //DST, VAL [INFO] [stdout] 6 + LOAD_VAL((), ()), //DST, VAL [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytecode.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | GGET(u8, u8), [INFO] [stdout] | ---- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ByteCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 - GGET(u8, u8), [INFO] [stdout] 7 + GGET((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/bytecode.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | CALL(u8, u8, u8), [INFO] [stdout] | ---- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ByteCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 9 - CALL(u8, u8, u8), [INFO] [stdout] 9 + CALL((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytecode.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | RETURN(u8, u8) [INFO] [stdout] | ------ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ByteCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 10 - RETURN(u8, u8) [INFO] [stdout] 10 + RETURN((), ()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `KSTR` is never constructed [INFO] [stdout] --> src/bytecode.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ByteCode { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | KSTR(u8, u8), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ByteCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - String(String), [INFO] [stdout] 12 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Identifier` is never constructed [INFO] [stdout] --> src/compiler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Data{ [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 11 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `constant_table`, `global_table`, and `bytecodes` are never read [INFO] [stdout] --> src/vm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct VM{ [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 8 | constant_table: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | global_table: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | bytecodes: Vec [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_name` [INFO] [stdout] --> src/compiler.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 79 | fn handle_function(&mut self, function_name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_paren` [INFO] [stdout] --> src/compiler.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let r_paren = self.lexer.next(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_r_paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_name` [INFO] [stdout] --> src/compiler.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let variable_name = if let Some(Token::Identifier(variable_name)) = self.lexer.next() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytecode.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | LOAD_VAL(u8, u8), //DST, VAL [INFO] [stdout] | -------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ByteCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 6 - LOAD_VAL(u8, u8), //DST, VAL [INFO] [stdout] 6 + LOAD_VAL((), ()), //DST, VAL [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytecode.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | GGET(u8, u8), [INFO] [stdout] | ---- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ByteCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 - GGET(u8, u8), [INFO] [stdout] 7 + GGET((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/bytecode.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | CALL(u8, u8, u8), [INFO] [stdout] | ---- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ByteCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 9 - CALL(u8, u8, u8), [INFO] [stdout] 9 + CALL((), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bytecode.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | RETURN(u8, u8) [INFO] [stdout] | ------ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ByteCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 10 - RETURN(u8, u8) [INFO] [stdout] 10 + RETURN((), ()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `KSTR` is never constructed [INFO] [stdout] --> src/bytecode.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ByteCode { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | KSTR(u8, u8), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ByteCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - String(String), [INFO] [stdout] 12 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Identifier` is never constructed [INFO] [stdout] --> src/compiler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Data{ [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 11 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `constant_table`, `global_table`, and `bytecodes` are never read [INFO] [stdout] --> src/vm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct VM{ [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 8 | constant_table: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | global_table: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | bytecodes: Vec [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "ed94b31715d838903be2cfb0af7ccdd6771edec25f1e1e6c9b4982a93dfe6fa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed94b31715d838903be2cfb0af7ccdd6771edec25f1e1e6c9b4982a93dfe6fa7", kill_on_drop: false }` [INFO] [stdout] ed94b31715d838903be2cfb0af7ccdd6771edec25f1e1e6c9b4982a93dfe6fa7