[INFO] cloning repository https://github.com/tomerhc/connectue
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomerhc/connectue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomerhc%2Fconnectue", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomerhc%2Fconnectue'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 718eed18d36521848a8d2db659381c8eda27b54d
[INFO] checking tomerhc/connectue against c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40 for pr-160391-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomerhc%2Fconnectue" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tomerhc/connectue
[INFO] finished tweaking git repo https://github.com/tomerhc/connectue
[INFO] tweaked toml for git repo https://github.com/tomerhc/connectue written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tomerhc/connectue on toolchain c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tomerhc/connectue 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" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded terminal_size v0.1.12
[INFO] [stderr]   Downloaded dialoguer v0.6.2
[INFO] [stderr]   Downloaded console v0.11.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] daf3a72eaac9a8fbfe25e644ec6dbfc0aeca40520d679a88ae3891df68b560b4
[INFO] running `Command { std: "docker" "start" "daf3a72eaac9a8fbfe25e644ec6dbfc0aeca40520d679a88ae3891df68b560b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "daf3a72eaac9a8fbfe25e644ec6dbfc0aeca40520d679a88ae3891df68b560b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "daf3a72eaac9a8fbfe25e644ec6dbfc0aeca40520d679a88ae3891df68b560b4" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "daf3a72eaac9a8fbfe25e644ec6dbfc0aeca40520d679a88ae3891df68b560b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "daf3a72eaac9a8fbfe25e644ec6dbfc0aeca40520d679a88ae3891df68b560b4" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]     Checking regex-syntax v0.6.17
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking aho-corasick v0.7.10
[INFO] [stderr]     Checking getrandom v0.1.14
[INFO] [stderr]     Checking termios v0.3.2
[INFO] [stderr]     Checking terminal_size v0.1.12
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]     Checking regex v1.3.7
[INFO] [stderr]     Checking console v0.11.2
[INFO] [stderr]     Checking dialoguer v0.6.2
[INFO] [stderr]     Checking connectume v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Error` and `Regex`
[INFO] [stdout]  --> src/schema.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use regex::{Regex, Error};
[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 imports: `Error` and `Regex`
[INFO] [stdout]  --> src/schema.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use regex::{Regex, Error};
[INFO] [stdout]   |             ^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/table.rs:68:56
[INFO] [stdout]     |
[INFO] [stdout]  68 |                 let deserilized = self.deserialize_row(row);
[INFO] [stdout]     |                                        --------------- ^^^ expected `Vec<u8>`, found `u8`
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<u8>`
[INFO] [stdout]                  found type `u8`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/table.rs:113:8
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl Table {
[INFO] [stdout] ...
[INFO] [stdout] 113 |     fn deserialize_row(&self, mut row: Vec<u8>) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^        ----------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/main.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut table = Table::new(schema, 10, 4096);
[INFO] [stdout]    |                     ^^^^^^^^^^------------------ argument #4 of type `String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/table.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Table {
[INFO] [stdout] 26 |     pub fn new(s:Schema, max_pages: u32, page_size: u32, path: String) -> Self {
[INFO] [stdout]    |            ^^^                                           ------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut table = Table::new(schema, 10, 4096, /* String */);
[INFO] [stdout]    |                                                ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `row` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/Pager.rs:39:32
[INFO] [stdout]    |
[INFO] [stdout] 39 |             self.buffer.append(&mut row);
[INFO] [stdout]    |                                ^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn write_row(&mut self, mut row: Vec<u8>) -> Result<String, PageError> {
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `path`
[INFO] [stdout]   --> src/Pager.rs:86:29
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn new(path: String, page_size: u32) -> Result<Self, String>{
[INFO] [stdout]    |                ---- move occurs because `path` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] 81 |         let file = File::open(path);
[INFO] [stdout]    |                               ---- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 86 |         let meta = metadata(path).unwrap();
[INFO] [stdout]    |                             ^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing `path`
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let file = File::open(&path);
[INFO] [stdout]    |                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `page` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/Pager.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |         page.write_page(&mut buff_vec); 
[INFO] [stdout]     |         ^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let mut page = Page::new(table.schema.row_length as u32, table.rows_per_page as u32);
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> src/Pager.rs:109:49
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn write_page(&mut self, page_num: u32, table: &Table, page: Page) -> Result<(), PageError> {
[INFO] [stdout]     |                                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `output` is never read
[INFO] [stdout]   --> src/main.rs:44:38
[INFO] [stdout]    |
[INFO] [stdout] 44 |             let mut output: String = String::new();
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 47 |                 Err(e) => output = format!("invalid input \n{}", e),
[INFO] [stdout]    |                           ------ `output` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0382, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `connectume` (bin "connectume") due to 5 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/table.rs:68:56
[INFO] [stdout]     |
[INFO] [stdout]  68 |                 let deserilized = self.deserialize_row(row);
[INFO] [stdout]     |                                        --------------- ^^^ expected `Vec<u8>`, found `u8`
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<u8>`
[INFO] [stdout]                  found type `u8`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/table.rs:113:8
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl Table {
[INFO] [stdout] ...
[INFO] [stdout] 113 |     fn deserialize_row(&self, mut row: Vec<u8>) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^        ----------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/main.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut table = Table::new(schema, 10, 4096);
[INFO] [stdout]    |                     ^^^^^^^^^^------------------ argument #4 of type `String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/table.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Table {
[INFO] [stdout] 26 |     pub fn new(s:Schema, max_pages: u32, page_size: u32, path: String) -> Self {
[INFO] [stdout]    |            ^^^                                           ------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut table = Table::new(schema, 10, 4096, /* String */);
[INFO] [stdout]    |                                                ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/main.rs:70:25
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let mut table = Table::new(schema, 10, 4096);
[INFO] [stdout]    |                         ^^^^^^^^^^------------------ argument #4 of type `String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/table.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Table {
[INFO] [stdout] 26 |     pub fn new(s:Schema, max_pages: u32, page_size: u32, path: String) -> Self {
[INFO] [stdout]    |            ^^^                                           ------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let mut table = Table::new(schema, 10, 4096, /* String */);
[INFO] [stdout]    |                                                    ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/main.rs:87:25
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let mut table = Table::new(schema, 5, 100);
[INFO] [stdout]    |                         ^^^^^^^^^^---------------- argument #4 of type `String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/table.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Table {
[INFO] [stdout] 26 |     pub fn new(s:Schema, max_pages: u32, page_size: u32, path: String) -> Self {
[INFO] [stdout]    |            ^^^                                           ------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let mut table = Table::new(schema, 5, 100, /* String */);
[INFO] [stdout]    |                                                  ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/main.rs:106:25
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let mut table = Table::new(schema, 10, 4096);
[INFO] [stdout]     |                         ^^^^^^^^^^------------------ argument #4 of type `String` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/table.rs:26:12
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl Table {
[INFO] [stdout]  26 |     pub fn new(s:Schema, max_pages: u32, page_size: u32, path: String) -> Self {
[INFO] [stdout]     |            ^^^                                           ------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let mut table = Table::new(schema, 10, 4096, /* String */);
[INFO] [stdout]     |                                                    ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `row` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/Pager.rs:39:32
[INFO] [stdout]    |
[INFO] [stdout] 39 |             self.buffer.append(&mut row);
[INFO] [stdout]    |                                ^^^^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn write_row(&mut self, mut row: Vec<u8>) -> Result<String, PageError> {
[INFO] [stdout]    |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `path`
[INFO] [stdout]   --> src/Pager.rs:86:29
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn new(path: String, page_size: u32) -> Result<Self, String>{
[INFO] [stdout]    |                ---- move occurs because `path` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] 81 |         let file = File::open(path);
[INFO] [stdout]    |                               ---- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 86 |         let meta = metadata(path).unwrap();
[INFO] [stdout]    |                             ^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing `path`
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let file = File::open(&path);
[INFO] [stdout]    |                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `page` as mutable, as it is not declared as mutable
[INFO] [stdout]    --> src/Pager.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |         page.write_page(&mut buff_vec); 
[INFO] [stdout]     |         ^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let mut page = Page::new(table.schema.row_length as u32, table.rows_per_page as u32);
[INFO] [stdout]     |             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> src/Pager.rs:109:49
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub fn write_page(&mut self, page_num: u32, table: &Table, page: Page) -> Result<(), PageError> {
[INFO] [stdout]     |                                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `output` is never read
[INFO] [stdout]   --> src/main.rs:44:38
[INFO] [stdout]    |
[INFO] [stdout] 44 |             let mut output: String = String::new();
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 47 |                 Err(e) => output = format!("invalid input \n{}", e),
[INFO] [stdout]    |                           ------ `output` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0382, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `connectume` (bin "connectume" test) due to 8 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "daf3a72eaac9a8fbfe25e644ec6dbfc0aeca40520d679a88ae3891df68b560b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "daf3a72eaac9a8fbfe25e644ec6dbfc0aeca40520d679a88ae3891df68b560b4", kill_on_drop: false }`
[INFO] [stdout] daf3a72eaac9a8fbfe25e644ec6dbfc0aeca40520d679a88ae3891df68b560b4
