[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] building seanchen1991/sqliter against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [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 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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] 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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3583257be0d1e587f8c73a8dfa5f0387a278e5597d03359088a5a3a7363d5219 [INFO] running `Command { std: "docker" "start" "-a" "3583257be0d1e587f8c73a8dfa5f0387a278e5597d03359088a5a3a7363d5219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3583257be0d1e587f8c73a8dfa5f0387a278e5597d03359088a5a3a7363d5219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3583257be0d1e587f8c73a8dfa5f0387a278e5597d03359088a5a3a7363d5219", kill_on_drop: false }` [INFO] [stdout] 3583257be0d1e587f8c73a8dfa5f0387a278e5597d03359088a5a3a7363d5219 [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=forbid -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 377aa1a1738a6c6f734e6b374e6cc4019ffa9c7e7c051b8097d4cce7a2f21512 [INFO] running `Command { std: "docker" "start" "-a" "377aa1a1738a6c6f734e6b374e6cc4019ffa9c7e7c051b8097d4cce7a2f21512", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling text_io v0.1.7 [INFO] [stderr] Compiling 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] = 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] 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 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] 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] running `Command { std: "docker" "inspect" "377aa1a1738a6c6f734e6b374e6cc4019ffa9c7e7c051b8097d4cce7a2f21512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "377aa1a1738a6c6f734e6b374e6cc4019ffa9c7e7c051b8097d4cce7a2f21512", kill_on_drop: false }` [INFO] [stdout] 377aa1a1738a6c6f734e6b374e6cc4019ffa9c7e7c051b8097d4cce7a2f21512