[INFO] cloning repository https://github.com/EricRoos/city_db
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EricRoos/city_db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricRoos%2Fcity_db", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricRoos%2Fcity_db'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 44e5a481a331c547938f8d67f77f2a3a3612810c
[INFO] checking EricRoos/city_db against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricRoos%2Fcity_db" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/EricRoos/city_db
[INFO] finished tweaking git repo https://github.com/EricRoos/city_db
[INFO] tweaked toml for git repo https://github.com/EricRoos/city_db written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/EricRoos/city_db on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/EricRoos/city_db 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0599c92ae059bd212efdf08d36e7d64b1e8227e776f70d2a2506368241acffed
[INFO] running `Command { std: "docker" "start" "-a" "0599c92ae059bd212efdf08d36e7d64b1e8227e776f70d2a2506368241acffed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0599c92ae059bd212efdf08d36e7d64b1e8227e776f70d2a2506368241acffed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0599c92ae059bd212efdf08d36e7d64b1e8227e776f70d2a2506368241acffed", kill_on_drop: false }`
[INFO] [stdout] 0599c92ae059bd212efdf08d36e7d64b1e8227e776f70d2a2506368241acffed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6629bb21b7eded64c88bb1e0ffafcac1ef63fe4745711381edb38c8b223087c9
[INFO] running `Command { std: "docker" "start" "-a" "6629bb21b7eded64c88bb1e0ffafcac1ef63fe4745711381edb38c8b223087c9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling rustix v0.38.37
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]     Checking fastrand v2.1.1
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking tempfile v3.12.0
[INFO] [stderr]     Checking cargo_db v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow`
[INFO] [stdout]  --> src/main.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::{Borrow, BorrowMut},
[INFO] [stdout]   |              ^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Bytes` and `fs::File`
[INFO] [stdout]  --> src/query/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 3 |     io::{BufRead, BufReader, Bytes, Read},
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `word` in this scope
[INFO] [stdout]    --> src/query/mod.rs:260:20
[INFO] [stdout]     |
[INFO] [stdout] 260 |         assert_eq!(word, "SELECT".as_bytes());
[INFO] [stdout]     |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BorrowMut` and `Borrow`
[INFO] [stdout]  --> src/main.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::{Borrow, BorrowMut},
[INFO] [stdout]   |              ^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/durability/table/mod.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     use std::env;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `env::temp_dir`
[INFO] [stdout]   --> src/durability/table/mod.rs:53:20
[INFO] [stdout]    |
[INFO] [stdout] 53 |     use tempfile::{env::temp_dir, tempdir};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/durability/mod.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     use std::env;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Bytes` and `fs::File`
[INFO] [stdout]  --> src/query/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 3 |     io::{BufRead, BufReader, Bytes, Read},
[INFO] [stdout]   |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Borrow`
[INFO] [stdout]    --> src/query/mod.rs:168:18
[INFO] [stdout]     |
[INFO] [stdout] 168 |         borrow::{Borrow, BorrowMut},
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `column_defifnitions`
[INFO] [stdout]   --> src/main.rs:21:32
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn stringify_result(row: &Row, column_defifnitions: &Vec<ColumnDefinition>) -> Vec<String> {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_defifnitions`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/durability/mod.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |     IoError(std::io::Error),
[INFO] [stdout]    |     ------- ^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DurabilityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[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] 15 -     IoError(std::io::Error),
[INFO] [stdout] 15 +     IoError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/durability/mod.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |     DbError(String),
[INFO] [stdout]    |     ------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DurabilityError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 16 -     DbError(String),
[INFO] [stdout] 16 +     DbError(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DatabaseConfig` is never constructed
[INFO] [stdout]   --> src/durability/mod.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct DatabaseConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `database_exists` is never used
[INFO] [stdout]   --> src/durability/mod.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn database_exists(database: &DatabaseConfig) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_to_disk` is never used
[INFO] [stdout]   --> src/durability/mod.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn write_to_disk(database: &DatabaseConfig) -> Result<(), DurabilityError> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_db` is never used
[INFO] [stdout]   --> src/durability/mod.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub fn init_db(database: &DatabaseConfig) -> Result<(), DurabilityError> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DatabaseFile` is never constructed
[INFO] [stdout]  --> src/durability/database.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct DatabaseFile {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DatabaseFileHeader` is never constructed
[INFO] [stdout]   --> src/durability/database.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct DatabaseFileHeader {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `page_data` is never used
[INFO] [stdout]   --> src/durability/table/table.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Table {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn page_data(&self, file: &std::fs::File, page: u64) -> Result<Vec<u8>, String> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/query/mod.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Table(String),
[INFO] [stdout]    |     ----- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QuerySource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 13 -     Table(String),
[INFO] [stdout] 13 +     Table(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/query/mod.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |     IntoTable(String),
[INFO] [stdout]    |     --------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `QuerySource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 14 -     IntoTable(String),
[INFO] [stdout] 14 +     IntoTable(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/query/mod.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     Columns(Vec<String>),
[INFO] [stdout]    |     ------- ^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ColumnList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] 20 -     Columns(Vec<String>),
[INFO] [stdout] 20 +     Columns(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `name_size` should have an upper case name
[INFO] [stdout]   --> src/durability/database.rs:53:15
[INFO] [stdout]    |
[INFO] [stdout] 53 |         const name_size: usize = 64;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 53 -         const name_size: usize = 64;
[INFO] [stdout] 53 +         const NAME_SIZE: usize = 64;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `count_size` should have an upper case name
[INFO] [stdout]   --> src/durability/database.rs:54:15
[INFO] [stdout]    |
[INFO] [stdout] 54 |         const count_size: usize = 4;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 54 -         const count_size: usize = 4;
[INFO] [stdout] 54 +         const COUNT_SIZE: usize = 4;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `header_size` should have an upper case name
[INFO] [stdout]   --> src/durability/database.rs:55:15
[INFO] [stdout]    |
[INFO] [stdout] 55 |         const header_size: usize = name_size + count_size;
[INFO] [stdout]    |               ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 55 -         const header_size: usize = name_size + count_size;
[INFO] [stdout] 55 +         const HEADER_SIZE: usize = name_size + count_size;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/durability/table/mod.rs:98:17
[INFO] [stdout]     |
[INFO] [stdout] 97  |               let row_added = table.add_row(
[INFO] [stdout]     |                                     ------- arguments to this method are incorrect
[INFO] [stdout] 98  | /                 Row {
[INFO] [stdout] 99  | |                     data: vec!["123".as_bytes().to_vec(), "1".as_bytes().to_vec()],
[INFO] [stdout] 100 | |                 },
[INFO] [stdout]     | |_________________^ expected `&Row`, found `Row`
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/durability/table/table.rs:171:12
[INFO] [stdout]     |
[INFO] [stdout] 171 |     pub fn add_row(&mut self, row: &Row, file: &mut std::fs::File) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^^            ---------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 98  |                 &Row {
[INFO] [stdout]     |                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `column_defifnitions`
[INFO] [stdout]   --> src/main.rs:21:32
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn stringify_result(row: &Row, column_defifnitions: &Vec<ColumnDefinition>) -> Vec<String> {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_defifnitions`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cargo_db` (bin "cargo_db" test) due to 2 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "6629bb21b7eded64c88bb1e0ffafcac1ef63fe4745711381edb38c8b223087c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6629bb21b7eded64c88bb1e0ffafcac1ef63fe4745711381edb38c8b223087c9", kill_on_drop: false }`
[INFO] [stdout] 6629bb21b7eded64c88bb1e0ffafcac1ef63fe4745711381edb38c8b223087c9
