[INFO] fetching crate qp-trie 0.8.1... [INFO] checking qp-trie-0.8.1 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate qp-trie 0.8.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate qp-trie 0.8.1 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate qp-trie 0.8.1 [INFO] finished tweaking crates.io crate qp-trie 0.8.1 [INFO] tweaked toml for crates.io crate qp-trie 0.8.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b5ffde5eaf0aef549ebd0171526c847b9b6a908e4e1dedbade9e7a7f5db0b4d [INFO] running `Command { std: "docker" "start" "-a" "9b5ffde5eaf0aef549ebd0171526c847b9b6a908e4e1dedbade9e7a7f5db0b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b5ffde5eaf0aef549ebd0171526c847b9b6a908e4e1dedbade9e7a7f5db0b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b5ffde5eaf0aef549ebd0171526c847b9b6a908e4e1dedbade9e7a7f5db0b4d", kill_on_drop: false }` [INFO] [stdout] 9b5ffde5eaf0aef549ebd0171526c847b9b6a908e4e1dedbade9e7a7f5db0b4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0ed1cb04688845aa1d79a6802ab932180b160102596994a2a6f40bb63f97c0b [INFO] running `Command { std: "docker" "start" "-a" "e0ed1cb04688845aa1d79a6802ab932180b160102596994a2a6f40bb63f97c0b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.145 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking debug_unreachable v0.1.1 [INFO] [stderr] Checking qp-trie v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking qptrie v0.2.4 [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&K` instead of borrowing the inner type [INFO] [stdout] --> src/iter.rs:62:53 [INFO] [stdout] | [INFO] [stdout] 62 | Some(Node::Leaf(leaf)) => Some((leaf.key.borrow(), &leaf.val)), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&K` instead of borrowing the inner type [INFO] [stdout] --> src/iter.rs:95:66 [INFO] [stdout] | [INFO] [stdout] 95 | Some(&mut Node::Leaf(ref mut leaf)) => Some((leaf.key.borrow(), &mut leaf.val)), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&K` instead of borrowing the inner type [INFO] [stdout] --> src/iter.rs:128:52 [INFO] [stdout] | [INFO] [stdout] 128 | Some(Node::Leaf(leaf)) => Some(leaf.key.borrow()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/node.rs:91:55 [INFO] [stdout] | [INFO] [stdout] 91 | self.entries.get(nybble_index(self.choice, key.borrow())) [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/node.rs:98:51 [INFO] [stdout] | [INFO] [stdout] 98 | .get_mut(nybble_index(self.choice, key.borrow())) [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/node.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | match self.child(key.borrow()) { [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/node.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | self.child_mut(key.borrow()) [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/node.rs:124:54 [INFO] [stdout] | [INFO] [stdout] 124 | .get_or_any(nybble_index(self.choice, key.borrow())) [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/node.rs:131:58 [INFO] [stdout] | [INFO] [stdout] 131 | .get_or_any_mut(nybble_index(self.choice, key.borrow())) [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/node.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | self.exemplar(key.borrow()).get_exemplar(key) [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/node.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | self.exemplar_mut(key.borrow()).get_exemplar_mut(key) [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Borrow`, so calling `borrow` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qp-trie` (lib) due to 9 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e0ed1cb04688845aa1d79a6802ab932180b160102596994a2a6f40bb63f97c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0ed1cb04688845aa1d79a6802ab932180b160102596994a2a6f40bb63f97c0b", kill_on_drop: false }` [INFO] [stdout] e0ed1cb04688845aa1d79a6802ab932180b160102596994a2a6f40bb63f97c0b