[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 try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d 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-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/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shubhamkumar13/sqlite_clone on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f56b4c10ae45def148aa3e1e7ac59de209f39ba1dfea5df1e3a81e8f4f611e50 [INFO] running `Command { std: "docker" "start" "-a" "f56b4c10ae45def148aa3e1e7ac59de209f39ba1dfea5df1e3a81e8f4f611e50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f56b4c10ae45def148aa3e1e7ac59de209f39ba1dfea5df1e3a81e8f4f611e50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f56b4c10ae45def148aa3e1e7ac59de209f39ba1dfea5df1e3a81e8f4f611e50", kill_on_drop: false }` [INFO] [stdout] f56b4c10ae45def148aa3e1e7ac59de209f39ba1dfea5df1e3a81e8f4f611e50 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f621889c0db826878e97c43518153f0cef640d0c1b5d614e4864cbbf7604a8ff [INFO] running `Command { std: "docker" "start" "-a" "f621889c0db826878e97c43518153f0cef640d0c1b5d614e4864cbbf7604a8ff", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling nix v0.17.0 [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 utf8parse v0.2.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking unicode-segmentation v1.6.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] 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] 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[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] 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] 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] 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] 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: 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] [stderr] error: could not compile `sqlite` (bin "sqlite") due to 4 previous errors; 2 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0308, E0507. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlite` (bin "sqlite" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f621889c0db826878e97c43518153f0cef640d0c1b5d614e4864cbbf7604a8ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f621889c0db826878e97c43518153f0cef640d0c1b5d614e4864cbbf7604a8ff", kill_on_drop: false }` [INFO] [stdout] f621889c0db826878e97c43518153f0cef640d0c1b5d614e4864cbbf7604a8ff