[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] building EricRoos/city_db against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEricRoos%2Fcity_db" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/EricRoos/city_db on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-0-tc2/source/Cargo.toml
[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" "+334963c956d25708feab489a3816ae63f639355d" "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-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 581691ab42c110390df9908cd448ff7b30719615939c92b8d6b801722ae7c75f
[INFO] running `Command { std: "docker" "start" "-a" "581691ab42c110390df9908cd448ff7b30719615939c92b8d6b801722ae7c75f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "581691ab42c110390df9908cd448ff7b30719615939c92b8d6b801722ae7c75f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "581691ab42c110390df9908cd448ff7b30719615939c92b8d6b801722ae7c75f", kill_on_drop: false }`
[INFO] [stdout] 581691ab42c110390df9908cd448ff7b30719615939c92b8d6b801722ae7c75f
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a4d9f6738deb780955189bde15bdbe033f9aa4684fd5cffdfa98bf5703ef5d9d
[INFO] running `Command { std: "docker" "start" "-a" "a4d9f6738deb780955189bde15bdbe033f9aa4684fd5cffdfa98bf5703ef5d9d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling rustix v0.38.37
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling tempfile v3.12.0
[INFO] [stderr]    Compiling 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] 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(()),
[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(()),
[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: 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(()),
[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(()),
[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(()),
[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]    |               ^^^^^^^^^ help: convert the identifier to upper case: `NAME_SIZE`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[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]    |               ^^^^^^^^^^ help: convert the identifier to upper case: `COUNT_SIZE`
[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]    |               ^^^^^^^^^^^ help: convert the identifier to upper case: `HEADER_SIZE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.08s
[INFO] running `Command { std: "docker" "inspect" "a4d9f6738deb780955189bde15bdbe033f9aa4684fd5cffdfa98bf5703ef5d9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4d9f6738deb780955189bde15bdbe033f9aa4684fd5cffdfa98bf5703ef5d9d", kill_on_drop: false }`
[INFO] [stdout] a4d9f6738deb780955189bde15bdbe033f9aa4684fd5cffdfa98bf5703ef5d9d
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fbec9a137dc3246ae1531a28442cee794b5a9e773c39dc838a0eb521742e02a5
[INFO] running `Command { std: "docker" "start" "-a" "fbec9a137dc3246ae1531a28442cee794b5a9e773c39dc838a0eb521742e02a5", kill_on_drop: false }`
[INFO] [stderr]    Compiling cargo_db v0.1.0 (/opt/rustwide/workdir)
[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] 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" "fbec9a137dc3246ae1531a28442cee794b5a9e773c39dc838a0eb521742e02a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fbec9a137dc3246ae1531a28442cee794b5a9e773c39dc838a0eb521742e02a5", kill_on_drop: false }`
[INFO] [stdout] fbec9a137dc3246ae1531a28442cee794b5a9e773c39dc838a0eb521742e02a5
