[INFO] cloning repository https://github.com/keatinge/rust-to-mips-compiler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/keatinge/rust-to-mips-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeatinge%2Frust-to-mips-compiler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeatinge%2Frust-to-mips-compiler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 42e1328fb446ba0d7ed35d3b48b1355ba57d55e6
[INFO] checking keatinge/rust-to-mips-compiler/42e1328fb446ba0d7ed35d3b48b1355ba57d55e6 against master#e1613686e0efc80a1a18b1263625450a8de3fb04 for pr-154492
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeatinge%2Frust-to-mips-compiler" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/keatinge/rust-to-mips-compiler
[INFO] finished tweaking git repo https://github.com/keatinge/rust-to-mips-compiler
[INFO] tweaked toml for git repo https://github.com/keatinge/rust-to-mips-compiler written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/keatinge/rust-to-mips-compiler on toolchain e1613686e0efc80a1a18b1263625450a8de3fb04
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/keatinge/rust-to-mips-compiler 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" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 81e24c92dc5b190bc8f9cbb2538d1f4ac020caefe52e66ed5da985d9814655b2
[INFO] running `Command { std: "docker" "start" "-a" "81e24c92dc5b190bc8f9cbb2538d1f4ac020caefe52e66ed5da985d9814655b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "81e24c92dc5b190bc8f9cbb2538d1f4ac020caefe52e66ed5da985d9814655b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81e24c92dc5b190bc8f9cbb2538d1f4ac020caefe52e66ed5da985d9814655b2", kill_on_drop: false }`
[INFO] [stdout] 81e24c92dc5b190bc8f9cbb2538d1f4ac020caefe52e66ed5da985d9814655b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4308c19c751ff66111b4a8fc8d9b0b2b7f7ecb4ba3e8e7df4bae77316bdca258
[INFO] running `Command { std: "docker" "start" "-a" "4308c19c751ff66111b4a8fc8d9b0b2b7f7ecb4ba3e8e7df4bae77316bdca258", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking mipscompiler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/lexer.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |         (self.chars.get(self.index+1))
[INFO] [stdout]     |         ^                            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 101 -         (self.chars.get(self.index+1))
[INFO] [stdout] 101 +         self.chars.get(self.index+1)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i32` should have an upper camel case name
[INFO] [stdout]  --> src/parser.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     i32
[INFO] [stdout]   |     ^^^ help: convert the identifier to upper camel case (notice the capitalization): `I32`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `I32_lit` should have an upper camel case name
[INFO] [stdout]   --> src/parser.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     I32_lit(i32)
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to upper camel case: `I32Lit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/mips.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/lexer.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |         (self.chars.get(self.index+1))
[INFO] [stdout]     |         ^                            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 101 -         (self.chars.get(self.index+1))
[INFO] [stdout] 101 +         self.chars.get(self.index+1)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `i32` should have an upper camel case name
[INFO] [stdout]  --> src/parser.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     i32
[INFO] [stdout]   |     ^^^ help: convert the identifier to upper camel case (notice the capitalization): `I32`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `I32_lit` should have an upper camel case name
[INFO] [stdout]   --> src/parser.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     I32_lit(i32)
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to upper camel case: `I32Lit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/mips.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::rc::Rc;
[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: `s`
[INFO] [stdout]    --> src/parser.rs:179:34
[INFO] [stdout]     |
[INFO] [stdout] 179 |             &lexer::Token::Ident(s) if next == Some(&lexer::Token::OpenParen) => { self.parse_fn_call() }
[INFO] [stdout]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/parser.rs:180:34
[INFO] [stdout]     |
[INFO] [stdout] 180 |             &lexer::Token::Ident(s) => {
[INFO] [stdout]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/parser.rs:290:38
[INFO] [stdout]     |
[INFO] [stdout] 290 |         if let (&lexer::Token::Ident(s), Some(&lexer::Token::Equal)) = (self.current_tok(), self.peek()) {
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/parser.rs:179:34
[INFO] [stdout]     |
[INFO] [stdout] 179 |             &lexer::Token::Ident(s) if next == Some(&lexer::Token::OpenParen) => { self.parse_fn_call() }
[INFO] [stdout]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/parser.rs:180:34
[INFO] [stdout]     |
[INFO] [stdout] 180 |             &lexer::Token::Ident(s) => {
[INFO] [stdout]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/parser.rs:290:38
[INFO] [stdout]     |
[INFO] [stdout] 290 |         if let (&lexer::Token::Ident(s), Some(&lexer::Token::Equal)) = (self.current_tok(), self.peek()) {
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_identifier` is never used
[INFO] [stdout]    --> src/lexer.rs:180:8
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub fn is_identifier(t: &Token) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `v_type` is never read
[INFO] [stdout]   --> src/parser.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct DeclData<'a> {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 31 |     pub name: &'a str,
[INFO] [stdout] 32 |     pub v_type: Type,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DeclData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `expect` and `force_eat_return_i32_lit` are never used
[INFO] [stdout]    --> src/parser.rs:132:8
[INFO] [stdout]     |
[INFO] [stdout]  99 | impl<'b, 'a> Parser<'b, 'a> {
[INFO] [stdout]     | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 132 |     fn expect(&self, t: &lexer::Token)  {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     fn force_eat_return_i32_lit(&mut self) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BeqLit` is never constructed
[INFO] [stdout]   --> src/mips.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | enum Instruction<'a> {
[INFO] [stdout]    |      ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 61 |     BeqLit(Register, i32, &'a str),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/mips.rs:172:5
[INFO] [stdout]     |
[INFO] [stdout] 171 | struct MipsFunction<'a> {
[INFO] [stdout]     |        ------------ field in this struct
[INFO] [stdout] 172 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MipsFunction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_identifier` is never used
[INFO] [stdout]    --> src/lexer.rs:180:8
[INFO] [stdout]     |
[INFO] [stdout] 180 | pub fn is_identifier(t: &Token) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `v_type` is never read
[INFO] [stdout]   --> src/parser.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct DeclData<'a> {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 31 |     pub name: &'a str,
[INFO] [stdout] 32 |     pub v_type: Type,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DeclData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `expect` and `force_eat_return_i32_lit` are never used
[INFO] [stdout]    --> src/parser.rs:132:8
[INFO] [stdout]     |
[INFO] [stdout]  99 | impl<'b, 'a> Parser<'b, 'a> {
[INFO] [stdout]     | --------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 132 |     fn expect(&self, t: &lexer::Token)  {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     fn force_eat_return_i32_lit(&mut self) -> i32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BeqLit` is never constructed
[INFO] [stdout]   --> src/mips.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | enum Instruction<'a> {
[INFO] [stdout]    |      ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 61 |     BeqLit(Register, i32, &'a str),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/mips.rs:172:5
[INFO] [stdout]     |
[INFO] [stdout] 171 | struct MipsFunction<'a> {
[INFO] [stdout]     |        ------------ field in this struct
[INFO] [stdout] 172 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MipsFunction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     output.write_all(mips_str.as_bytes());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let _ = output.write_all(mips_str.as_bytes());
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `DeclData` should have a snake case name
[INFO] [stdout]    --> src/mips.rs:403:53
[INFO] [stdout]     |
[INFO] [stdout] 403 |                 &parser::Statement::Declaration(ref DeclData) => {
[INFO] [stdout]     |                                                     ^^^^^^^^ help: convert the identifier to snake case: `decl_data`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     output.write_all(mips_str.as_bytes());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let _ = output.write_all(mips_str.as_bytes());
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `DeclData` should have a snake case name
[INFO] [stdout]    --> src/mips.rs:403:53
[INFO] [stdout]     |
[INFO] [stdout] 403 |                 &parser::Statement::Declaration(ref DeclData) => {
[INFO] [stdout]     |                                                     ^^^^^^^^ help: convert the identifier to snake case: `decl_data`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] running `Command { std: "docker" "inspect" "4308c19c751ff66111b4a8fc8d9b0b2b7f7ecb4ba3e8e7df4bae77316bdca258", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4308c19c751ff66111b4a8fc8d9b0b2b7f7ecb4ba3e8e7df4bae77316bdca258", kill_on_drop: false }`
[INFO] [stdout] 4308c19c751ff66111b4a8fc8d9b0b2b7f7ecb4ba3e8e7df4bae77316bdca258
