[INFO] cloning repository https://github.com/shubhamkumar13/sqlite_clone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shubhamkumar13/sqlite_clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshubhamkumar13%2Fsqlite_clone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshubhamkumar13%2Fsqlite_clone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30d96067e836981e93898b8184f82d5aa11021d2 [INFO] checking shubhamkumar13/sqlite_clone against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshubhamkumar13%2Fsqlite_clone" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shubhamkumar13/sqlite_clone [INFO] finished tweaking git repo https://github.com/shubhamkumar13/sqlite_clone [INFO] tweaked toml for git repo https://github.com/shubhamkumar13/sqlite_clone written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shubhamkumar13/sqlite_clone on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shubhamkumar13/sqlite_clone 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utf8parse v0.2.0 [INFO] [stderr] Downloaded dirs-sys-next v0.1.0 [INFO] [stderr] Downloaded dirs-next v1.0.1 [INFO] [stderr] Downloaded nix v0.17.0 [INFO] [stderr] Downloaded rustyline v6.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e261806d08688f0e4c7dd1efd0eaeab8af5b3f760bb02a9fa7b54a6f355c2f74 [INFO] running `Command { std: "docker" "start" "-a" "e261806d08688f0e4c7dd1efd0eaeab8af5b3f760bb02a9fa7b54a6f355c2f74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e261806d08688f0e4c7dd1efd0eaeab8af5b3f760bb02a9fa7b54a6f355c2f74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e261806d08688f0e4c7dd1efd0eaeab8af5b3f760bb02a9fa7b54a6f355c2f74", kill_on_drop: false }` [INFO] [stdout] e261806d08688f0e4c7dd1efd0eaeab8af5b3f760bb02a9fa7b54a6f355c2f74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] add0b80a28fb1ff09ef5e91490840b1297e205258b9f36e0aa803df9c1077450 [INFO] running `Command { std: "docker" "start" "-a" "add0b80a28fb1ff09ef5e91490840b1297e205258b9f36e0aa803df9c1077450", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking dirs-sys-next v0.1.0 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking dirs-next v1.0.1 [INFO] [stderr] Checking rustyline v6.2.0 [INFO] [stderr] Checking sqlite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected type, found `}` [INFO] [stdout] --> src/main.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 174 | impl Table { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 175 | fn new(&self) -> [INFO] [stdout] 176 | } [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected type [INFO] [stdout] | the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | enum Field { Id, Uname, Email }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | let page : *const Row = table.pages.into_iter() [INFO] [stdout] | ________________----------___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 191 | | .clone() [INFO] [stdout] 192 | | .collect::>() [INFO] [stdout] 193 | | .remove(page_num as usize); [INFO] [stdout] | |______________________________________________^ expected `*const Row`, found `Vec<*const Row>` [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const Row` [INFO] [stdout] found struct `Vec<*const Row>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `}` [INFO] [stdout] --> src/main.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 174 | impl Table { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 175 | fn new(&self) -> [INFO] [stdout] 176 | } [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected type [INFO] [stdout] | the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.uname` which is behind a shared reference [INFO] [stdout] --> src/main.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | match (self.id, self.uname, self.email) { [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.uname` has type `std::option::Option`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 50 | match (self.id, self.uname.clone(), self.email) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.email` which is behind a shared reference [INFO] [stdout] --> src/main.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | match (self.id, self.uname, self.email) { [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.email` has type `std::option::Option`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 50 | match (self.id, self.uname, self.email.clone()) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 265 | (x,_) => { [INFO] [stdout] | ----- matches any value [INFO] [stdout] ... [INFO] [stdout] 278 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | enum Field { Id, Uname, Email }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | let page : *const Row = table.pages.into_iter() [INFO] [stdout] | ________________----------___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 191 | | .clone() [INFO] [stdout] 192 | | .collect::>() [INFO] [stdout] 193 | | .remove(page_num as usize); [INFO] [stdout] | |______________________________________________^ expected `*const Row`, found `Vec<*const Row>` [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const Row` [INFO] [stdout] found struct `Vec<*const Row>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlite` (bin "sqlite" test) due to 4 previous errors; 2 warnings emitted [INFO] [stdout] error[E0507]: cannot move out of `self.uname` which is behind a shared reference [INFO] [stdout] --> src/main.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | match (self.id, self.uname, self.email) { [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.uname` has type `std::option::Option`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 50 | match (self.id, self.uname.clone(), self.email) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0507]: cannot move out of `self.email` which is behind a shared reference [INFO] [stdout] --> src/main.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | match (self.id, self.uname, self.email) { [INFO] [stdout] | ^^^^^^^^^^ move occurs because `self.email` has type `std::option::Option`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 50 | match (self.id, self.uname, self.email.clone()) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 265 | (x,_) => { [INFO] [stdout] | ----- matches any value [INFO] [stdout] ... [INFO] [stdout] 278 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlite` (bin "sqlite") due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "add0b80a28fb1ff09ef5e91490840b1297e205258b9f36e0aa803df9c1077450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "add0b80a28fb1ff09ef5e91490840b1297e205258b9f36e0aa803df9c1077450", kill_on_drop: false }` [INFO] [stdout] add0b80a28fb1ff09ef5e91490840b1297e205258b9f36e0aa803df9c1077450