[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 try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanchen1991%2Fsqliter" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/seanchen1991/sqliter on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+95813608313bff49cfc1afc393a946a3c085b772" "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 text_io v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 536a6bd8e30b6e65acc64e15cda416171ac3d371b82af018f42d4deca846af8a [INFO] running `Command { std: "docker" "start" "-a" "536a6bd8e30b6e65acc64e15cda416171ac3d371b82af018f42d4deca846af8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "536a6bd8e30b6e65acc64e15cda416171ac3d371b82af018f42d4deca846af8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "536a6bd8e30b6e65acc64e15cda416171ac3d371b82af018f42d4deca846af8a", kill_on_drop: false }` [INFO] [stdout] 536a6bd8e30b6e65acc64e15cda416171ac3d371b82af018f42d4deca846af8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93950b8830754b6c2c95e8bd3592a4e6c80dd4c227df6f3e190af9a1d75a6386 [INFO] running `Command { std: "docker" "start" "-a" "93950b8830754b6c2c95e8bd3592a4e6c80dd4c227df6f3e190af9a1d75a6386", kill_on_drop: false }` [INFO] [stderr] Checking text_io v0.1.7 [INFO] [stderr] Checking sqliter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cli.rs:182:31 [INFO] [stdout] | [INFO] [stdout] 182 | println!("{}.", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cli.rs:194:39 [INFO] [stdout] | [INFO] [stdout] 194 | Err(e) => println!("{}.", e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cli.rs:197:35 [INFO] [stdout] | [INFO] [stdout] 197 | Err(e) => println!("{}.", e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [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] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cli.rs:182:31 [INFO] [stdout] | [INFO] [stdout] 182 | println!("{}.", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cli.rs:194:39 [INFO] [stdout] | [INFO] [stdout] 194 | Err(e) => println!("{}.", e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/cli.rs:197:35 [INFO] [stdout] | [INFO] [stdout] 197 | Err(e) => println!("{}.", e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [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] [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] 83 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ----- this is an immutable reference [INFO] [stdout] 84 | for i in 0..self.num_rows { [INFO] [stdout] 85 | write!(f, "{}", self.read_row(i))?; [INFO] [stdout] | ^^^^ `self` is a `&` reference, so it 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] 83 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ----- this is an immutable reference [INFO] [stdout] 84 | for i in 0..self.num_rows { [INFO] [stdout] 85 | write!(f, "{}", self.read_row(i))?; [INFO] [stdout] | ^^^^ `self` is a `&` reference, so it 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[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] 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] 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") due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sqliter` (bin "sqliter" test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "93950b8830754b6c2c95e8bd3592a4e6c80dd4c227df6f3e190af9a1d75a6386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93950b8830754b6c2c95e8bd3592a4e6c80dd4c227df6f3e190af9a1d75a6386", kill_on_drop: false }` [INFO] [stdout] 93950b8830754b6c2c95e8bd3592a4e6c80dd4c227df6f3e190af9a1d75a6386