[INFO] cloning repository https://github.com/jguhlin/bptree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jguhlin/bptree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjguhlin%2Fbptree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjguhlin%2Fbptree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a08ea28bfe4b3bb0c65a97540a0a53117ce636d3 [INFO] testing jguhlin/bptree against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjguhlin%2Fbptree" "/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/jguhlin/bptree [INFO] finished tweaking git repo https://github.com/jguhlin/bptree [INFO] tweaked toml for git repo https://github.com/jguhlin/bptree written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jguhlin/bptree on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jguhlin/bptree 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a5f9d36783e26a1d9c148454753a8520f5c935f700d883269161991ebce285e [INFO] running `Command { std: "docker" "start" "-a" "1a5f9d36783e26a1d9c148454753a8520f5c935f700d883269161991ebce285e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a5f9d36783e26a1d9c148454753a8520f5c935f700d883269161991ebce285e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a5f9d36783e26a1d9c148454753a8520f5c935f700d883269161991ebce285e", kill_on_drop: false }` [INFO] [stdout] 1a5f9d36783e26a1d9c148454753a8520f5c935f700d883269161991ebce285e [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93029dc196f7a9c6fb1963b2a335d20cfff11981b2ad8308e900b76d5a159a81 [INFO] running `Command { std: "docker" "start" "-a" "93029dc196f7a9c6fb1963b2a335d20cfff11981b2ad8308e900b76d5a159a81", kill_on_drop: false }` [INFO] [stderr] Compiling bptree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `is_sorted` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(is_sorted)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*key` which is behind a shared reference [INFO] [stdout] --> src/lib.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | self.root.insert(*key, values[i]); [INFO] [stdout] | ^^^^ move occurs because `*key` has type `K`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: if `K` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/lib.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | impl BPlusTree [INFO] [stdout] | ^ consider constraining this type parameter with `Clone` [INFO] [stdout] ... [INFO] [stdout] 72 | self.root.insert(*key, values[i]); [INFO] [stdout] | ---- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/lib.rs:72:36 [INFO] [stdout] | [INFO] [stdout] 72 | self.root.insert(*key, values[i]); [INFO] [stdout] | ^^^^^^^^^ move occurs because value has type `V`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: if `V` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | impl BPlusTree [INFO] [stdout] | ^ consider constraining this type parameter with `Clone` [INFO] [stdout] ... [INFO] [stdout] 72 | self.root.insert(*key, values[i]); [INFO] [stdout] | --------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/lib.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | child.insert(split_values[i], values[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ move occurs because value has type `K`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: if `K` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/lib.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | impl BPlusTree [INFO] [stdout] | ^ consider constraining this type parameter with `Clone` [INFO] [stdout] ... [INFO] [stdout] 80 | child.insert(split_values[i], values[i]); [INFO] [stdout] | --------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/lib.rs:80:47 [INFO] [stdout] | [INFO] [stdout] 80 | child.insert(split_values[i], values[i]); [INFO] [stdout] | ^^^^^^^^^ move occurs because value has type `V`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: if `V` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | impl BPlusTree [INFO] [stdout] | ^ consider constraining this type parameter with `Clone` [INFO] [stdout] ... [INFO] [stdout] 80 | child.insert(split_values[i], values[i]); [INFO] [stdout] | --------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0508]: cannot move out of type `[K]`, a non-copy slice [INFO] [stdout] --> src/lib.rs:110:70 [INFO] [stdout] | [INFO] [stdout] 110 | let splits: Vec = keys.chunks(self.order - 1).map(|chunk| chunk[0]).collect(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot move out of here [INFO] [stdout] | move occurs because `chunk[_]` has type `K`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: if `K` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/lib.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | impl BPlusTree [INFO] [stdout] | ^ consider constraining this type parameter with `Clone` [INFO] [stdout] ... [INFO] [stdout] 110 | let splits: Vec = keys.chunks(self.order - 1).map(|chunk| chunk[0]).collect(); [INFO] [stdout] | -------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0508. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bptree` (lib) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "93029dc196f7a9c6fb1963b2a335d20cfff11981b2ad8308e900b76d5a159a81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93029dc196f7a9c6fb1963b2a335d20cfff11981b2ad8308e900b76d5a159a81", kill_on_drop: false }` [INFO] [stdout] 93029dc196f7a9c6fb1963b2a335d20cfff11981b2ad8308e900b76d5a159a81