[INFO] cloning repository https://github.com/seanchen1991/sqliter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seanchen1991/sqliter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanchen1991%2Fsqliter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanchen1991%2Fsqliter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46003b6081d3262bdc389e97e3b6bc1c3d423321 [INFO] checking seanchen1991/sqliter against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanchen1991%2Fsqliter" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seanchen1991/sqliter on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/seanchen1991/sqliter [INFO] finished tweaking git repo https://github.com/seanchen1991/sqliter [INFO] tweaked toml for git repo https://github.com/seanchen1991/sqliter written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/seanchen1991/sqliter 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e25a13cd766d1d0091669bcb07164ff16303e50995b7e0bebceeec5179e66061 [INFO] running `Command { std: "docker" "start" "-a" "e25a13cd766d1d0091669bcb07164ff16303e50995b7e0bebceeec5179e66061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e25a13cd766d1d0091669bcb07164ff16303e50995b7e0bebceeec5179e66061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e25a13cd766d1d0091669bcb07164ff16303e50995b7e0bebceeec5179e66061", kill_on_drop: false }` [INFO] [stdout] e25a13cd766d1d0091669bcb07164ff16303e50995b7e0bebceeec5179e66061 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8d672a008654033f0275685e9c72cc61a0f70b876657415e495d1d6a13cadf8 [INFO] running `Command { std: "docker" "start" "-a" "e8d672a008654033f0275685e9c72cc61a0f70b876657415e495d1d6a13cadf8", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking text_io v0.1.7 [INFO] [stderr] Checking sqliter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `File: Clone` is not satisfied [INFO] [stdout] --> src/pager.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 13 | pub struct Pager { [INFO] [stdout] 14 | pub file: File, [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `File` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `File: Clone` is not satisfied [INFO] [stdout] --> src/pager.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 13 | pub struct Pager { [INFO] [stdout] 14 | pub file: File, [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `File` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/db.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | write!(f, "{}", self.read_row(i))?; [INFO] [stdout] | ^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `pager` [INFO] [stdout] --> src/db.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 94 | let pager = Pager::new(); [INFO] [stdout] | ----- move occurs because `pager` has type `Pager`, which does not implement the `Copy` trait [INFO] [stdout] 95 | [INFO] [stdout] 96 | Table { pager, num_rows: pager.num_pages } [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ value used here after move [INFO] [stdout] | | [INFO] [stdout] | value moved here [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 96 | Table { pager: pager.clone(), num_rows: pager.num_pages } [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/db.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | write!(f, "{}", self.read_row(i))?; [INFO] [stdout] | ^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `pager` [INFO] [stdout] --> src/db.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 94 | let pager = Pager::new(); [INFO] [stdout] | ----- move occurs because `pager` has type `Pager`, which does not implement the `Copy` trait [INFO] [stdout] 95 | [INFO] [stdout] 96 | Table { pager, num_rows: pager.num_pages } [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ value used here after move [INFO] [stdout] | | [INFO] [stdout] | value moved here [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 96 | Table { pager: pager.clone(), num_rows: pager.num_pages } [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec>>` [INFO] [stdout] --> src/pager.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | if let Some(mut page) = self.pages[page_index] { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `page` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 46 | if let Some(mut page) = &self.pages[page_index] { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0382, E0507, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec>>` [INFO] [stdout] --> src/pager.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | if let Some(mut page) = self.pages[page_index] { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `page` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 46 | if let Some(mut page) = &self.pages[page_index] { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0382, E0507, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqliter` (bin "sqliter" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sqliter` (bin "sqliter") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "e8d672a008654033f0275685e9c72cc61a0f70b876657415e495d1d6a13cadf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8d672a008654033f0275685e9c72cc61a0f70b876657415e495d1d6a13cadf8", kill_on_drop: false }` [INFO] [stdout] e8d672a008654033f0275685e9c72cc61a0f70b876657415e495d1d6a13cadf8