[INFO] fetching crate content-tree 0.2.0... [INFO] checking content-tree-0.2.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate content-tree 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate content-tree 0.2.0 [INFO] finished tweaking crates.io crate content-tree 0.2.0 [INFO] tweaked toml for crates.io crate content-tree 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate content-tree 0.2.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate content-tree 0.2.0 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rle v0.2.0 [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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 661f063922cc4802d69d28e73ad6026451806e5b0984188f6c0f03d46c061d4b [INFO] running `Command { std: "docker" "start" "-a" "661f063922cc4802d69d28e73ad6026451806e5b0984188f6c0f03d46c061d4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "661f063922cc4802d69d28e73ad6026451806e5b0984188f6c0f03d46c061d4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "661f063922cc4802d69d28e73ad6026451806e5b0984188f6c0f03d46c061d4b", kill_on_drop: false }` [INFO] [stdout] 661f063922cc4802d69d28e73ad6026451806e5b0984188f6c0f03d46c061d4b [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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 782458d5bbdc33e59ce9cdf4c3b74cf4ca5cfa45f99237dc5dd52539c5fde921 [INFO] running `Command { std: "docker" "start" "-a" "782458d5bbdc33e59ce9cdf4c3b74cf4ca5cfa45f99237dc5dd52539c5fde921", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Checking rle v0.2.0 [INFO] [stderr] Checking content-tree v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mutations.rs:1066:25 [INFO] [stdout] | [INFO] [stdout] 1066 | let mut root = root.as_mut(); [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] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/root.rs:428:31 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn cursor_before_item(&self, loc: E::Item, ptr: NonNull>) -> Cursor { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 428 | pub fn cursor_before_item(&self, loc: E::Item, ptr: NonNull>) -> Cursor<'_, E, I, IE, LE> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/root.rs:452:34 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn cursor_at_content_pos(&self, pos: usize, stick_end: bool) -> Cursor { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 452 | pub fn cursor_at_content_pos(&self, pos: usize, stick_end: bool) -> Cursor<'_, E, I, IE, LE> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/root.rs:470:33 [INFO] [stdout] | [INFO] [stdout] 470 | pub fn cursor_at_offset_pos(&self, pos: usize, stick_end: bool) -> Cursor { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 470 | pub fn cursor_at_offset_pos(&self, pos: usize, stick_end: bool) -> Cursor<'_, E, I, IE, LE> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/safe_cursor.rs:193:28 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn cursor_at_start(&self) -> Cursor { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 193 | pub fn cursor_at_start(&self) -> Cursor<'_, E, I, IE, LE> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/safe_cursor.rs:200:26 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn cursor_at_end(&self) -> Cursor { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 200 | pub fn cursor_at_end(&self) -> Cursor<'_, E, I, IE, LE> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/safe_cursor.rs:207:34 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn cursor_at_query(&self, raw_pos: usize, stick_end: bool, offset_to_num: F, entry_to_num: G) -> Cursor [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 207 | pub fn cursor_at_query(&self, raw_pos: usize, stick_end: bool, offset_to_num: F, entry_to_num: G) -> Cursor<'_, E, I, IE, LE> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/iter.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn raw_iter(&self) -> Cursor { self.cursor_at_start() } [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn raw_iter(&self) -> Cursor<'_, E, I, IE, LE> { self.cursor_at_start() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/iter.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn iter(&self) -> MergeIter> { merge_items(self.cursor_at_start()) } [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn iter(&self) -> MergeIter> { merge_items(self.cursor_at_start()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/iter.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn item_iter(&self) -> ItemIterator { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn item_iter(&self) -> ItemIterator<'_, E, I, IE, LE> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/iter.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn node_iter(&self) -> NodeIter { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn node_iter(&self) -> NodeIter<'_, E, I, IE, LE> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mutations.rs:1066:25 [INFO] [stdout] | [INFO] [stdout] 1066 | let mut root = root.as_mut(); [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] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/root.rs:428:31 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn cursor_before_item(&self, loc: E::Item, ptr: NonNull>) -> Cursor { [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 428 | pub fn cursor_before_item(&self, loc: E::Item, ptr: NonNull>) -> Cursor<'_, E, I, IE, LE> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/root.rs:452:34 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn cursor_at_content_pos(&self, pos: usize, stick_end: bool) -> Cursor { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 452 | pub fn cursor_at_content_pos(&self, pos: usize, stick_end: bool) -> Cursor<'_, E, I, IE, LE> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/root.rs:470:33 [INFO] [stdout] | [INFO] [stdout] 470 | pub fn cursor_at_offset_pos(&self, pos: usize, stick_end: bool) -> Cursor { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 470 | pub fn cursor_at_offset_pos(&self, pos: usize, stick_end: bool) -> Cursor<'_, E, I, IE, LE> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/safe_cursor.rs:193:28 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn cursor_at_start(&self) -> Cursor { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 193 | pub fn cursor_at_start(&self) -> Cursor<'_, E, I, IE, LE> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/safe_cursor.rs:200:26 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn cursor_at_end(&self) -> Cursor { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 200 | pub fn cursor_at_end(&self) -> Cursor<'_, E, I, IE, LE> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/safe_cursor.rs:207:34 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn cursor_at_query(&self, raw_pos: usize, stick_end: bool, offset_to_num: F, entry_to_num: G) -> Cursor [INFO] [stdout] | ^^^^^ this lifetime flows to the output -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 207 | pub fn cursor_at_query(&self, raw_pos: usize, stick_end: bool, offset_to_num: F, entry_to_num: G) -> Cursor<'_, E, I, IE, LE> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/iter.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn raw_iter(&self) -> Cursor { self.cursor_at_start() } [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn raw_iter(&self) -> Cursor<'_, E, I, IE, LE> { self.cursor_at_start() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/iter.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn iter(&self) -> MergeIter> { merge_items(self.cursor_at_start()) } [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn iter(&self) -> MergeIter> { merge_items(self.cursor_at_start()) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/iter.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn item_iter(&self) -> ItemIterator { [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn item_iter(&self) -> ItemIterator<'_, E, I, IE, LE> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/iter.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn node_iter(&self) -> NodeIter { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn node_iter(&self) -> NodeIter<'_, E, I, IE, LE> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.95s [INFO] running `Command { std: "docker" "inspect" "782458d5bbdc33e59ce9cdf4c3b74cf4ca5cfa45f99237dc5dd52539c5fde921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "782458d5bbdc33e59ce9cdf4c3b74cf4ca5cfa45f99237dc5dd52539c5fde921", kill_on_drop: false }` [INFO] [stdout] 782458d5bbdc33e59ce9cdf4c3b74cf4ca5cfa45f99237dc5dd52539c5fde921