[INFO] cloning repository https://github.com/AI314159/Ratio
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AI314159/Ratio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAI314159%2FRatio", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAI314159%2FRatio'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d0faf4e2cffab0aa8e86a2a0b52e7611bb062cf3
[INFO] checking AI314159/Ratio against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAI314159%2FRatio" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AI314159/Ratio
[INFO] finished tweaking git repo https://github.com/AI314159/Ratio
[INFO] tweaked toml for git repo https://github.com/AI314159/Ratio written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AI314159/Ratio on toolchain e117153a45c546e883c1f91d82611775fcaeffe0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AI314159/Ratio 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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3b061ac80b5fd5c1383d35e178e4d5cf01dd85b0d2166e49316e7f596c0c1614
[INFO] running `Command { std: "docker" "start" "-a" "3b061ac80b5fd5c1383d35e178e4d5cf01dd85b0d2166e49316e7f596c0c1614", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3b061ac80b5fd5c1383d35e178e4d5cf01dd85b0d2166e49316e7f596c0c1614", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b061ac80b5fd5c1383d35e178e4d5cf01dd85b0d2166e49316e7f596c0c1614", kill_on_drop: false }`
[INFO] [stdout] 3b061ac80b5fd5c1383d35e178e4d5cf01dd85b0d2166e49316e7f596c0c1614
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 91c78b5bc6687886f3929c306b68bb73b38616f05d66274c4d9354e444ad13c9
[INFO] running `Command { std: "docker" "start" "-a" "91c78b5bc6687886f3929c306b68bb73b38616f05d66274c4d9354e444ad13c9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling inkwell v0.6.0
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling cc v1.2.22
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking clap_builder v4.5.37
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling llvm-sys v181.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling inkwell_internals v0.11.0
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking clap v4.5.37
[INFO] [stderr]     Checking ratio v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/file_io.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[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: `std::io::Read`
[INFO] [stdout]  --> src/file_io.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Builtin`
[INFO] [stdout]  --> src/parser/mod.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::common::{Builtin, CompileError, Expr, Keyword, Position, Program, Stmt, Token};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Position`, `Program`, and `Stmt`
[INFO] [stdout]  --> src/parser/expressions.rs:2:52
[INFO] [stdout]   |
[INFO] [stdout] 2 |     common::{Builtin, CompileError, Expr, Keyword, Position, Program, Stmt, Token},
[INFO] [stdout]   |                                                    ^^^^^^^^  ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/file_io.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[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: `std::io::Read`
[INFO] [stdout]  --> src/file_io.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Builtin`
[INFO] [stdout]  --> src/parser/mod.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::common::{Builtin, CompileError, Expr, Keyword, Position, Program, Stmt, Token};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Position`, `Program`, and `Stmt`
[INFO] [stdout]  --> src/parser/expressions.rs:2:52
[INFO] [stdout]   |
[INFO] [stdout] 2 |     common::{Builtin, CompileError, Expr, Keyword, Position, Program, Stmt, Token},
[INFO] [stdout]   |                                                    ^^^^^^^^  ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/llvm_codegen/mod.rs:128:21
[INFO] [stdout]     |
[INFO] [stdout] 125 |                     Type::Int | Type::Bool => {
[INFO] [stdout]     |                     ---------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 128 |                     _ => builder
[INFO] [stdout]     |                     ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/llvm_codegen/mod.rs:137:21
[INFO] [stdout]     |
[INFO] [stdout] 134 |                     Type::Int | Type::Bool => {
[INFO] [stdout]     |                     ---------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 137 |                     _ => {
[INFO] [stdout]     |                     ^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/llvm_codegen/mod.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 Type::Int | Type::Bool => context.i64_type().as_basic_type_enum(),
[INFO] [stdout]    |                 ---------------------- matches all the relevant values
[INFO] [stdout] 46 |                 _ => context
[INFO] [stdout]    |                 ^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/llvm_codegen/mod.rs:77:21
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     Type::Int | Type::Bool => context.i64_type().as_basic_type_enum(),
[INFO] [stdout]    |                     ---------------------- matches all the relevant values
[INFO] [stdout] 77 |                     _ => context
[INFO] [stdout]    |                     ^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/llvm_codegen/mod.rs:128:21
[INFO] [stdout]     |
[INFO] [stdout] 125 |                     Type::Int | Type::Bool => {
[INFO] [stdout]     |                     ---------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 128 |                     _ => builder
[INFO] [stdout]     |                     ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/llvm_codegen/mod.rs:137:21
[INFO] [stdout]     |
[INFO] [stdout] 134 |                     Type::Int | Type::Bool => {
[INFO] [stdout]     |                     ---------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 137 |                     _ => {
[INFO] [stdout]     |                     ^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/llvm_codegen/mod.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 Type::Int | Type::Bool => context.i64_type().as_basic_type_enum(),
[INFO] [stdout]    |                 ---------------------- matches all the relevant values
[INFO] [stdout] 46 |                 _ => context
[INFO] [stdout]    |                 ^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/llvm_codegen/mod.rs:77:21
[INFO] [stdout]    |
[INFO] [stdout] 76 |                     Type::Int | Type::Bool => context.i64_type().as_basic_type_enum(),
[INFO] [stdout]    |                     ---------------------- matches all the relevant values
[INFO] [stdout] 77 |                     _ => context
[INFO] [stdout]    |                     ^ no value can reach this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Else` is never constructed
[INFO] [stdout]   --> src/common.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum Keyword {
[INFO] [stdout]    |          ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 29 |     Else,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Keyword` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ExternFunction` is never constructed
[INFO] [stdout]   --> src/common.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub enum Stmt {
[INFO] [stdout]    |          ---- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 98 |     ExternFunction(ExternFunction),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Stmt` 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 `write_file` is never used
[INFO] [stdout]  --> src/file_io.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn write_file(filepath: &str, contents: &str) -> std::io::Result<()> {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `parse_binary_operator` and `parse_boolean_expression` are never used
[INFO] [stdout]    --> src/parser/mod.rs:148:8
[INFO] [stdout]     |
[INFO] [stdout]  14 | impl Parser {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 148 |     fn parse_binary_operator(&mut self, token: Token, lvalue: i64) -> Result<Expr, CompileError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn parse_boolean_expression(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Else` is never constructed
[INFO] [stdout]   --> src/common.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum Keyword {
[INFO] [stdout]    |          ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 29 |     Else,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Keyword` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ExternFunction` is never constructed
[INFO] [stdout]   --> src/common.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub enum Stmt {
[INFO] [stdout]    |          ---- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 98 |     ExternFunction(ExternFunction),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Stmt` 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 `write_file` is never used
[INFO] [stdout]  --> src/file_io.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn write_file(filepath: &str, contents: &str) -> std::io::Result<()> {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `parse_binary_operator` and `parse_boolean_expression` are never used
[INFO] [stdout]    --> src/parser/mod.rs:148:8
[INFO] [stdout]     |
[INFO] [stdout]  14 | impl Parser {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 148 |     fn parse_binary_operator(&mut self, token: Token, lvalue: i64) -> Result<Expr, CompileError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn parse_boolean_expression(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.87s
[INFO] running `Command { std: "docker" "inspect" "91c78b5bc6687886f3929c306b68bb73b38616f05d66274c4d9354e444ad13c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91c78b5bc6687886f3929c306b68bb73b38616f05d66274c4d9354e444ad13c9", kill_on_drop: false }`
[INFO] [stdout] 91c78b5bc6687886f3929c306b68bb73b38616f05d66274c4d9354e444ad13c9
