[INFO] cloning repository https://github.com/ddbnl/Datablaze [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddbnl/Datablaze" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddbnl%2FDatablaze", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddbnl%2FDatablaze'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 756e0269c8f922a78cf74c3aaf37385c6cebb2a4 [INFO] checking ddbnl/Datablaze against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddbnl%2FDatablaze" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ddbnl/Datablaze [INFO] finished tweaking git repo https://github.com/ddbnl/Datablaze [INFO] tweaked toml for git repo https://github.com/ddbnl/Datablaze written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ddbnl/Datablaze on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ddbnl/Datablaze 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f42263ebaf153629e33dfb839952a49c1ea17467d9d0e7b7832d4036d9737a3 [INFO] running `Command { std: "docker" "start" "-a" "3f42263ebaf153629e33dfb839952a49c1ea17467d9d0e7b7832d4036d9737a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f42263ebaf153629e33dfb839952a49c1ea17467d9d0e7b7832d4036d9737a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f42263ebaf153629e33dfb839952a49c1ea17467d9d0e7b7832d4036d9737a3", kill_on_drop: false }` [INFO] [stdout] 3f42263ebaf153629e33dfb839952a49c1ea17467d9d0e7b7832d4036d9737a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fc3354bcc733d9161f6ef6ea9a0bb90ead16a7df8e84f02e0f642ccf3442000 [INFO] running `Command { std: "docker" "start" "-a" "7fc3354bcc733d9161f6ef6ea9a0bb90ead16a7df8e84f02e0f642ccf3442000", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking study v0.1.0 (/opt/rustwide/workdir/Study) [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> Study/src/btree/btree.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let node = self.tree_insert(self.root, key, value); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self.root` because it is borrowed [INFO] [stdout] --> Study/src/btree/btree.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn insert(&mut self, key: &[u8], value: &[u8]) { [INFO] [stdout] | --------- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 22 | let node = self.tree_insert(self.root, key, value); [INFO] [stdout] | ---- ----------- ^^^^^^^^^ move out of `self.root` occurs here [INFO] [stdout] | | | [INFO] [stdout] | | borrow later used by call [INFO] [stdout] | borrow of `*self` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.root` which is behind a mutable reference [INFO] [stdout] --> Study/src/btree/btree.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | let node = self.tree_insert(self.root, key, value); [INFO] [stdout] | ^^^^^^^^^ move occurs because `self.root` has type `node::BNode`, 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] 22 | let node = self.tree_insert(self.root.clone(), key, value); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> Study/src/btree/btree.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn delete(&mut self, key: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> Study/src/btree/btree.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | fn get(&self, index: u64) -> &BNode { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> Study/src/btree/btree.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | fn new(&self, node: &BNode) -> u64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> Study/src/btree/btree.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | fn del(&self, index: u64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maybe_split_left` [INFO] [stdout] --> Study/src/btree/btree.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | let (maybe_split_left, maybe_split_middle, maybe_split_right) = kid_node.node_split_three(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_split_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maybe_split_middle` [INFO] [stdout] --> Study/src/btree/btree.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | let (maybe_split_left, maybe_split_middle, maybe_split_right) = kid_node.node_split_three(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_split_middle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maybe_split_right` [INFO] [stdout] --> Study/src/btree/btree.rs:57:56 [INFO] [stdout] | [INFO] [stdout] 57 | let (maybe_split_left, maybe_split_middle, maybe_split_right) = kid_node.node_split_three(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_split_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> Study/src/btree/btree.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | &mut self, mut new: BNode,mut old: BNode, index: u16, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `study` (bin "study") due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> Study/src/btree/btree.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let node = self.tree_insert(self.root, key, value); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self.root` because it is borrowed [INFO] [stdout] --> Study/src/btree/btree.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn insert(&mut self, key: &[u8], value: &[u8]) { [INFO] [stdout] | --------- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 22 | let node = self.tree_insert(self.root, key, value); [INFO] [stdout] | ---- ----------- ^^^^^^^^^ move out of `self.root` occurs here [INFO] [stdout] | | | [INFO] [stdout] | | borrow later used by call [INFO] [stdout] | borrow of `*self` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.root` which is behind a mutable reference [INFO] [stdout] --> Study/src/btree/btree.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | let node = self.tree_insert(self.root, key, value); [INFO] [stdout] | ^^^^^^^^^ move occurs because `self.root` has type `node::BNode`, 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] 22 | let node = self.tree_insert(self.root.clone(), key, value); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> Study/src/btree/btree.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn delete(&mut self, key: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> Study/src/btree/btree.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | fn get(&self, index: u64) -> &BNode { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> Study/src/btree/btree.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | fn new(&self, node: &BNode) -> u64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> Study/src/btree/btree.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | fn del(&self, index: u64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maybe_split_left` [INFO] [stdout] --> Study/src/btree/btree.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | let (maybe_split_left, maybe_split_middle, maybe_split_right) = kid_node.node_split_three(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_split_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maybe_split_middle` [INFO] [stdout] --> Study/src/btree/btree.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | let (maybe_split_left, maybe_split_middle, maybe_split_right) = kid_node.node_split_three(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_split_middle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maybe_split_right` [INFO] [stdout] --> Study/src/btree/btree.rs:57:56 [INFO] [stdout] | [INFO] [stdout] 57 | let (maybe_split_left, maybe_split_middle, maybe_split_right) = kid_node.node_split_three(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_split_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> Study/src/btree/btree.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | &mut self, mut new: BNode,mut old: BNode, index: u16, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `study` (bin "study" test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7fc3354bcc733d9161f6ef6ea9a0bb90ead16a7df8e84f02e0f642ccf3442000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fc3354bcc733d9161f6ef6ea9a0bb90ead16a7df8e84f02e0f642ccf3442000", kill_on_drop: false }` [INFO] [stdout] 7fc3354bcc733d9161f6ef6ea9a0bb90ead16a7df8e84f02e0f642ccf3442000