[INFO] cloning repository https://github.com/karti358/rqlite
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/karti358/rqlite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarti358%2Frqlite", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarti358%2Frqlite'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 83e254b8fa89d6713385437337d93c3d11285752
[INFO] checking karti358/rqlite against try#6713fa75964eb229409a9c6f6f5c418423e313ff for pr-133502-22
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarti358%2Frqlite" "/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/karti358/rqlite
[INFO] finished tweaking git repo https://github.com/karti358/rqlite
[INFO] tweaked toml for git repo https://github.com/karti358/rqlite written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/karti358/rqlite on toolchain 6713fa75964eb229409a9c6f6f5c418423e313ff
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/karti358/rqlite 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" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "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 syn v2.0.116
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be82a204731e738c7128f50349e6eef427060075dedb22ab43f00d239a1cece4
[INFO] running `Command { std: "docker" "start" "-a" "be82a204731e738c7128f50349e6eef427060075dedb22ab43f00d239a1cece4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be82a204731e738c7128f50349e6eef427060075dedb22ab43f00d239a1cece4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be82a204731e738c7128f50349e6eef427060075dedb22ab43f00d239a1cece4", kill_on_drop: false }`
[INFO] [stdout] be82a204731e738c7128f50349e6eef427060075dedb22ab43f00d239a1cece4
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8c0e0b74d579f37a012a142245bf6da711a3a7de71646f9724492de310ff96e0
[INFO] running `Command { std: "docker" "start" "-a" "8c0e0b74d579f37a012a142245bf6da711a3a7de71646f9724492de310ff96e0", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling syn v2.0.116
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking rsqlite v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]    --> src/main.rs:333:1
[INFO] [stdout]     |
[INFO] [stdout] 273 | fn main() {
[INFO] [stdout]     | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 333 | fn main() {
[INFO] [stdout]     | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Serialize` is defined multiple times
[INFO] [stdout]    --> src/main.rs:323:13
[INFO] [stdout]     |
[INFO] [stdout]  13 | use serde::{Serialize, Deserialize};
[INFO] [stdout]     |             --------- previous import of the trait `Serialize` here
[INFO] [stdout] ...
[INFO] [stdout] 323 | use serde::{Serialize, Deserialize};
[INFO] [stdout]     |             ^^^^^^^^^--
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `Serialize` reimported here
[INFO] [stdout]     |             help: remove unnecessary import
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Serialize` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Deserialize` is defined multiple times
[INFO] [stdout]    --> src/main.rs:323:24
[INFO] [stdout]     |
[INFO] [stdout]  13 | use serde::{Serialize, Deserialize};
[INFO] [stdout]     |                        ----------- previous import of the trait `Deserialize` here
[INFO] [stdout] ...
[INFO] [stdout] 323 | use serde::{Serialize, Deserialize};
[INFO] [stdout]     |                        ^^^^^^^^^^^ `Deserialize` reimported here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Deserialize` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `main` is defined multiple times
[INFO] [stdout]    --> src/main.rs:333:1
[INFO] [stdout]     |
[INFO] [stdout] 273 | fn main() {
[INFO] [stdout]     | --------- previous definition of the value `main` here
[INFO] [stdout] ...
[INFO] [stdout] 333 | fn main() {
[INFO] [stdout]     | ^^^^^^^^^ `main` redefined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `main` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Serialize` is defined multiple times
[INFO] [stdout]    --> src/main.rs:323:13
[INFO] [stdout]     |
[INFO] [stdout]  13 | use serde::{Serialize, Deserialize};
[INFO] [stdout]     |             --------- previous import of the trait `Serialize` here
[INFO] [stdout] ...
[INFO] [stdout] 323 | use serde::{Serialize, Deserialize};
[INFO] [stdout]     |             ^^^^^^^^^--
[INFO] [stdout]     |             |
[INFO] [stdout]     |             `Serialize` reimported here
[INFO] [stdout]     |             help: remove unnecessary import
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Serialize` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Deserialize` is defined multiple times
[INFO] [stdout]    --> src/main.rs:323:24
[INFO] [stdout]     |
[INFO] [stdout]  13 | use serde::{Serialize, Deserialize};
[INFO] [stdout]     |                        ----------- previous import of the trait `Deserialize` here
[INFO] [stdout] ...
[INFO] [stdout] 323 | use serde::{Serialize, Deserialize};
[INFO] [stdout]     |                        ^^^^^^^^^^^ `Deserialize` reimported here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Deserialize` must be defined only once in the type namespace of this module
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::TypeId`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any::TypeId;
[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::path`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::path;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::prelude;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]    --> src/main.rs:323:13
[INFO] [stdout]     |
[INFO] [stdout] 323 | use serde::{Serialize, Deserialize};
[INFO] [stdout]     |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::TypeId`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any::TypeId;
[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::path`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::path;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::prelude;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]    --> src/main.rs:323:13
[INFO] [stdout]     |
[INFO] [stdout] 323 | use serde::{Serialize, Deserialize};
[INFO] [stdout]     |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:222:46
[INFO] [stdout]     |
[INFO] [stdout] 222 | fn get_page(pager: &Pager, page_num: i32) -> Result<&Box<Page>> {
[INFO] [stdout]     |                                              ^^^^^^ ---------- supplied 1 generic argument
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 222 | fn get_page(pager: &Pager, page_num: i32) -> Result<&Box<Page>, E> {
[INFO] [stdout]     |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:222:46
[INFO] [stdout]     |
[INFO] [stdout] 222 | fn get_page(pager: &Pager, page_num: i32) -> Result<&Box<Page>> {
[INFO] [stdout]     |                                              ^^^^^^ ---------- supplied 1 generic argument
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 222 | fn get_page(pager: &Pager, page_num: i32) -> Result<&Box<Page>, E> {
[INFO] [stdout]     |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let mut file = match fs::File::open(filename) {
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filepath`
[INFO] [stdout]   --> src/main.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let filepath: &Path = Path::new(&filename);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filepath`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let mut pager: Box<Pager> = pager_open(filename);
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `table.pager.pages` as immutable because it is also borrowed as mutable
[INFO] [stdout]    --> src/main.rs:149:39
[INFO] [stdout]     |
[INFO] [stdout] 149 |                     table.pager.pages[table.pager.pages.len() - 1] = page;
[INFO] [stdout]     |                     ------------------^^^^^^^^^^^^^^^^^-----------
[INFO] [stdout]     |                     |                ||
[INFO] [stdout]     |                     |                |immutable borrow occurs here
[INFO] [stdout]     |                     |                mutable borrow later used here
[INFO] [stdout]     |                     mutable borrow occurs here
[INFO] [stdout]     |
[INFO] [stdout] help: try adding a local storing this...
[INFO] [stdout]    --> src/main.rs:149:39
[INFO] [stdout]     |
[INFO] [stdout] 149 |                     table.pager.pages[table.pager.pages.len() - 1] = page;
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: ...and then using that local here
[INFO] [stdout]    --> src/main.rs:149:38
[INFO] [stdout]     |
[INFO] [stdout] 149 |                     table.pager.pages[table.pager.pages.len() - 1] = page;
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0252, E0428, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rsqlite` (bin "rsqlite") due to 5 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let mut file = match fs::File::open(filename) {
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filepath`
[INFO] [stdout]   --> src/main.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let filepath: &Path = Path::new(&filename);
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filepath`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |     let mut pager: Box<Pager> = pager_open(filename);
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `table.pager.pages` as immutable because it is also borrowed as mutable
[INFO] [stdout]    --> src/main.rs:149:39
[INFO] [stdout]     |
[INFO] [stdout] 149 |                     table.pager.pages[table.pager.pages.len() - 1] = page;
[INFO] [stdout]     |                     ------------------^^^^^^^^^^^^^^^^^-----------
[INFO] [stdout]     |                     |                ||
[INFO] [stdout]     |                     |                |immutable borrow occurs here
[INFO] [stdout]     |                     |                mutable borrow later used here
[INFO] [stdout]     |                     mutable borrow occurs here
[INFO] [stdout]     |
[INFO] [stdout] help: try adding a local storing this...
[INFO] [stdout]    --> src/main.rs:149:39
[INFO] [stdout]     |
[INFO] [stdout] 149 |                     table.pager.pages[table.pager.pages.len() - 1] = page;
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: ...and then using that local here
[INFO] [stdout]    --> src/main.rs:149:38
[INFO] [stdout]     |
[INFO] [stdout] 149 |                     table.pager.pages[table.pager.pages.len() - 1] = page;
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0252, E0428, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rsqlite` (bin "rsqlite" test) due to 5 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8c0e0b74d579f37a012a142245bf6da711a3a7de71646f9724492de310ff96e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c0e0b74d579f37a012a142245bf6da711a3a7de71646f9724492de310ff96e0", kill_on_drop: false }`
[INFO] [stdout] 8c0e0b74d579f37a012a142245bf6da711a3a7de71646f9724492de310ff96e0
