[INFO] fetching crate diffus 0.10.0... [INFO] checking diffus-0.10.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate diffus 0.10.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate diffus 0.10.0 [INFO] finished tweaking crates.io crate diffus 0.10.0 [INFO] tweaked toml for crates.io crate diffus 0.10.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate diffus 0.10.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b4d74aef275e8ce88b94887dd77c849fa0f60850ab913811eb624f7ca682adb8 [INFO] running `Command { std: "docker" "start" "-a" "b4d74aef275e8ce88b94887dd77c849fa0f60850ab913811eb624f7ca682adb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4d74aef275e8ce88b94887dd77c849fa0f60850ab913811eb624f7ca682adb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4d74aef275e8ce88b94887dd77c849fa0f60850ab913811eb624f7ca682adb8", kill_on_drop: false }` [INFO] [stdout] b4d74aef275e8ce88b94887dd77c849fa0f60850ab913811eb624f7ca682adb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ab65f3d3cc359edd83944f78a9b64ce0d95e09c588d96f7a8ab7bbf9d3a6357b [INFO] running `Command { std: "docker" "start" "-a" "ab65f3d3cc359edd83944f78a9b64ce0d95e09c588d96f7a8ab7bbf9d3a6357b", kill_on_drop: false }` [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking diffus v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/diffable_impls/borrow.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | if let edit::Edit::Change(diff) = Box::new(left).diff(&Box::new(right)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/diffable_impls/collection.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | fn diff(&'a self, other: &'a Self) -> edit::Edit { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 36 | / collection_impl! { [INFO] [stdout] 37 | | BinaryHeap, LinkedList, Vec, VecDeque [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `collection_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | fn diff(&'a self, other: &'a Self) -> edit::Edit<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/diffable_impls/map.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | fn diff(&'a self, other: &'a Self) -> Edit { [INFO] [stdout] | ^^ ^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 42 | / map_impl! { [INFO] [stdout] 43 | | (BTreeMap, Ord), [INFO] [stdout] 44 | | (HashMap, Hash) [INFO] [stdout] 45 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `map_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | fn diff(&'a self, other: &'a Self) -> Edit<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/diffable_impls/option.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/diffable_impls/primitives.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 22 | primitive_impl! { i64, i32, i16, i8, u64, u32, u16, u8, char, bool, isize, usize, f32, f64, () } [INFO] [stdout] | ------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `primitive_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/diffable_impls/set.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | fn diff(&'a self, other: &'a Self) -> Edit { [INFO] [stdout] | ^^ ^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 42 | / set_impl! { [INFO] [stdout] 43 | | (BTreeSet, Ord, BTreeMap), [INFO] [stdout] 44 | | (HashSet, Hash, HashMap) [INFO] [stdout] 45 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `set_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | fn diff(&'a self, other: &'a Self) -> Edit<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/diffable_impls/string.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/diffable_impls/string.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | fn diff(&'a self, other: &'a Self) -> edit::Edit { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 30 | fn diff(&'a self, other: &'a Self) -> edit::Edit<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/diffable_impls/collection.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | fn diff(&'a self, other: &'a Self) -> edit::Edit { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 36 | / collection_impl! { [INFO] [stdout] 37 | | BinaryHeap, LinkedList, Vec, VecDeque [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `collection_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | fn diff(&'a self, other: &'a Self) -> edit::Edit<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/diffable_impls/map.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | fn diff(&'a self, other: &'a Self) -> Edit { [INFO] [stdout] | ^^ ^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 42 | / map_impl! { [INFO] [stdout] 43 | | (BTreeMap, Ord), [INFO] [stdout] 44 | | (HashMap, Hash) [INFO] [stdout] 45 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `map_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | fn diff(&'a self, other: &'a Self) -> Edit<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/diffable_impls/option.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/diffable_impls/primitives.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 22 | primitive_impl! { i64, i32, i16, i8, u64, u32, u16, u8, char, bool, isize, usize, f32, f64, () } [INFO] [stdout] | ------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `primitive_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/diffable_impls/set.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | fn diff(&'a self, other: &'a Self) -> Edit { [INFO] [stdout] | ^^ ^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 42 | / set_impl! { [INFO] [stdout] 43 | | (BTreeSet, Ord, BTreeMap), [INFO] [stdout] 44 | | (HashSet, Hash, HashMap) [INFO] [stdout] 45 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `set_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 12 | fn diff(&'a self, other: &'a Self) -> Edit<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/diffable_impls/string.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/diffable_impls/string.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | fn diff(&'a self, other: &'a Self) -> edit::Edit { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 30 | fn diff(&'a self, other: &'a Self) -> edit::Edit<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.06s [INFO] running `Command { std: "docker" "inspect" "ab65f3d3cc359edd83944f78a9b64ce0d95e09c588d96f7a8ab7bbf9d3a6357b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab65f3d3cc359edd83944f78a9b64ce0d95e09c588d96f7a8ab7bbf9d3a6357b", kill_on_drop: false }` [INFO] [stdout] ab65f3d3cc359edd83944f78a9b64ce0d95e09c588d96f7a8ab7bbf9d3a6357b