[INFO] fetching crate diffus 0.10.0... [INFO] testing diffus-0.10.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate diffus 0.10.0 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate diffus 0.10.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.12.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44189d900d34615ef3bc560d13e67d772c6b86b97a2d550cb14ed45b78c9409b [INFO] running `Command { std: "docker" "start" "-a" "44189d900d34615ef3bc560d13e67d772c6b86b97a2d550cb14ed45b78c9409b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44189d900d34615ef3bc560d13e67d772c6b86b97a2d550cb14ed45b78c9409b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44189d900d34615ef3bc560d13e67d772c6b86b97a2d550cb14ed45b78c9409b", kill_on_drop: false }` [INFO] [stdout] 44189d900d34615ef3bc560d13e67d772c6b86b97a2d550cb14ed45b78c9409b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31ad44f36a4d36056dae8a5921c5ee48c8291558bd42a0f3e0c61d2cf7d8f5f5 [INFO] running `Command { std: "docker" "start" "-a" "31ad44f36a4d36056dae8a5921c5ee48c8291558bd42a0f3e0c61d2cf7d8f5f5", kill_on_drop: false }` [INFO] [stderr] Compiling diffus v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/diffable_impls/collection.rs:12:55 [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:55 [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:43 [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:55 [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:55 [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:43 [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:43 [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 0.60s [INFO] running `Command { std: "docker" "inspect" "31ad44f36a4d36056dae8a5921c5ee48c8291558bd42a0f3e0c61d2cf7d8f5f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31ad44f36a4d36056dae8a5921c5ee48c8291558bd42a0f3e0c61d2cf7d8f5f5", kill_on_drop: false }` [INFO] [stdout] 31ad44f36a4d36056dae8a5921c5ee48c8291558bd42a0f3e0c61d2cf7d8f5f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b7df21d2b3c5f8d344bafe376f5aa409edd12768d1270af733a684634ed81fb [INFO] running `Command { std: "docker" "start" "-a" "6b7df21d2b3c5f8d344bafe376f5aa409edd12768d1270af733a684634ed81fb", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/diffable_impls/collection.rs:12:55 [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:55 [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:43 [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:55 [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:55 [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:43 [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:43 [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] Compiling 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)]` (part of `#[warn(unused)]`) 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:55 [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:55 [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:43 [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:55 [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:55 [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:43 [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:43 [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 `test` profile [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "6b7df21d2b3c5f8d344bafe376f5aa409edd12768d1270af733a684634ed81fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b7df21d2b3c5f8d344bafe376f5aa409edd12768d1270af733a684634ed81fb", kill_on_drop: false }` [INFO] [stdout] 6b7df21d2b3c5f8d344bafe376f5aa409edd12768d1270af733a684634ed81fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4828c5892408dbf4fcdf46a21fedfa0c51cc6fe72c8868078be041d8b60b934c [INFO] running `Command { std: "docker" "start" "-a" "4828c5892408dbf4fcdf46a21fedfa0c51cc6fe72c8868078be041d8b60b934c", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/diffable_impls/collection.rs:12:55 [INFO] [stderr] | [INFO] [stderr] 12 | fn diff(&'a self, other: &'a Self) -> edit::Edit { [INFO] [stderr] | -- -- ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] ... [INFO] [stderr] 36 | / collection_impl! { [INFO] [stderr] 37 | | BinaryHeap, LinkedList, Vec, VecDeque [INFO] [stderr] 38 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] = note: this warning originates in the macro `collection_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 12 | fn diff(&'a self, other: &'a Self) -> edit::Edit<'a, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/diffable_impls/map.rs:12:55 [INFO] [stderr] | [INFO] [stderr] 12 | fn diff(&'a self, other: &'a Self) -> Edit { [INFO] [stderr] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] ... [INFO] [stderr] 42 | / map_impl! { [INFO] [stderr] 43 | | (BTreeMap, Ord), [INFO] [stderr] 44 | | (HashMap, Hash) [INFO] [stderr] 45 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `map_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 12 | fn diff(&'a self, other: &'a Self) -> Edit<'a, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/diffable_impls/option.rs:9:43 [INFO] [stderr] | [INFO] [stderr] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit { [INFO] [stderr] | -- -- ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit<'a, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/diffable_impls/primitives.rs:9:55 [INFO] [stderr] | [INFO] [stderr] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit { [INFO] [stderr] | -- -- ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] ... [INFO] [stderr] 22 | primitive_impl! { i64, i32, i16, i8, u64, u32, u16, u8, char, bool, isize, usize, f32, f64, () } [INFO] [stderr] | ------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `primitive_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit<'a, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/diffable_impls/set.rs:12:55 [INFO] [stderr] | [INFO] [stderr] 12 | fn diff(&'a self, other: &'a Self) -> Edit { [INFO] [stderr] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] ... [INFO] [stderr] 42 | / set_impl! { [INFO] [stderr] 43 | | (BTreeSet, Ord, BTreeMap), [INFO] [stderr] 44 | | (HashSet, Hash, HashMap) [INFO] [stderr] 45 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `set_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 12 | fn diff(&'a self, other: &'a Self) -> Edit<'a, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/diffable_impls/string.rs:9:43 [INFO] [stderr] | [INFO] [stderr] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit { [INFO] [stderr] | -- -- ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 9 | fn diff(&'a self, other: &'a Self) -> edit::Edit<'a, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/diffable_impls/string.rs:30:43 [INFO] [stderr] | [INFO] [stderr] 30 | fn diff(&'a self, other: &'a Self) -> edit::Edit { [INFO] [stderr] | -- -- ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 30 | fn diff(&'a self, other: &'a Self) -> edit::Edit<'a, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `diffus` (lib) generated 7 warnings (run `cargo fix --lib -p diffus` to apply 7 suggestions) [INFO] [stderr] warning: unnecessary allocation, use `&` instead [INFO] [stderr] --> src/diffable_impls/borrow.rs:52:43 [INFO] [stderr] | [INFO] [stderr] 52 | if let edit::Edit::Change(diff) = Box::new(left).diff(&Box::new(right)) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_allocation)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `diffus` (lib test) generated 8 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/diffus-0052b1e2d55694f5) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test diffable_impls::borrow::tests::arc_example ... ok [INFO] [stdout] test diffable_impls::borrow::tests::rc_example ... ok [INFO] [stdout] test diffable_impls::borrow::tests::reference_example ... ok [INFO] [stdout] test diffable_impls::map::tests::example ... ok [INFO] [stdout] test diffable_impls::option::tests::associate_change ... ok [INFO] [stdout] test diffable_impls::option::tests::is_copy ... ok [INFO] [stdout] test diffable_impls::borrow::tests::box_example ... ok [INFO] [stdout] test diffable_impls::set::tests::example ... ok [INFO] [stdout] test diffable_impls::string::tests::str ... ok [INFO] [stdout] test lcs::tests::characters ... ok [INFO] [stdout] test diffable_impls::collection::tests::diff ... ok [INFO] [stdout] test diffable_impls::option::tests::variant_changed ... ok [INFO] [stdout] test diffable_impls::string::tests::string ... ok [INFO] [stdout] test lcs::tests::words ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests diffus [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4828c5892408dbf4fcdf46a21fedfa0c51cc6fe72c8868078be041d8b60b934c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4828c5892408dbf4fcdf46a21fedfa0c51cc6fe72c8868078be041d8b60b934c", kill_on_drop: false }` [INFO] [stdout] 4828c5892408dbf4fcdf46a21fedfa0c51cc6fe72c8868078be041d8b60b934c