[INFO] fetching crate kodept-ast 0.4.1... [INFO] testing kodept-ast-0.4.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate kodept-ast 0.4.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate kodept-ast 0.4.1 [INFO] finished tweaking crates.io crate kodept-ast 0.4.1 [INFO] tweaked toml for crates.io crate kodept-ast 0.4.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kodept-ast 0.4.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 92 packages to latest compatible versions [INFO] [stderr] Adding constcat v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding rstest v0.19.0 (available: v0.26.1) [INFO] [stderr] Adding strum v0.26.3 (available: v0.27.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slotgraph v0.1.1 [INFO] [stderr] Downloaded relative-path v1.9.3 [INFO] [stderr] Downloaded exclusion-set v0.1.2 [INFO] [stderr] Downloaded rstest_macros v0.19.0 [INFO] [stderr] Downloaded kodept-core v0.2.8 [INFO] [stderr] Downloaded constcat v0.5.1 [INFO] [stderr] Downloaded derive_more v0.99.20 [INFO] [stderr] Downloaded once_cell_serde v1.20.3 [INFO] [stderr] Downloaded generator v0.7.5 [INFO] [stderr] Downloaded qcell v0.5.5 [INFO] [stderr] Downloaded loom v0.5.6 [INFO] [stderr] Downloaded rstest v0.19.0 [INFO] [stderr] Downloaded pathdiff v0.2.3 [INFO] [stderr] Downloaded windows v0.48.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b38cd472e23f58dc131f5e697a186f404d07c2695abb45d2e9e4d8864c16396 [INFO] running `Command { std: "docker" "start" "-a" "2b38cd472e23f58dc131f5e697a186f404d07c2695abb45d2e9e4d8864c16396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b38cd472e23f58dc131f5e697a186f404d07c2695abb45d2e9e4d8864c16396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b38cd472e23f58dc131f5e697a186f404d07c2695abb45d2e9e4d8864c16396", kill_on_drop: false }` [INFO] [stdout] 2b38cd472e23f58dc131f5e697a186f404d07c2695abb45d2e9e4d8864c16396 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] beecc8f935e41c85382c1ab3825f5aea305d321b014f443010be5a5f04d2046d [INFO] running `Command { std: "docker" "start" "-a" "beecc8f935e41c85382c1ab3825f5aea305d321b014f443010be5a5f04d2046d", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling qcell v0.5.5 [INFO] [stderr] Compiling constcat v0.5.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling slotgraph v0.1.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling kodept-core v0.2.8 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling kodept-ast v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast_builder.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_chunk(&self, at: CodePoint) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | fn get_chunk(&self, at: CodePoint) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast_builder.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_chunk_located(&self, for_item: &L) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | fn get_chunk_located(&self, for_item: &L) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn dfs(&self) -> DfsIter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | pub fn dfs(&self) -> DfsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 179 | &'b self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 180 | id: NodeId, [INFO] [stdout] 181 | token: &'b PermTkn, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 182 | tag: ChildTag, [INFO] [stdout] 183 | ) -> OptVec<&U> [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 183 | ) -> OptVec<&'b U> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:194:82 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn get<'b, T>(&'b self, id: NodeId, token: &'b PermTkn) -> Option<&T> [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here 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 `'b` [INFO] [stdout] | [INFO] [stdout] 194 | pub fn get<'b, T>(&'b self, id: NodeId, token: &'b PermTkn) -> Option<&'b T> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:202:90 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn get_mut<'b, T>(&'b self, id: NodeId, token: &'b mut PermTkn) -> Option<&mut T> [INFO] [stdout] | -- -- ^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here 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 `'b` [INFO] [stdout] | [INFO] [stdout] 202 | pub fn get_mut<'b, T>(&'b self, id: NodeId, token: &'b mut PermTkn) -> Option<&'b mut T> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:210:88 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn parent_of<'a, T>(&'a self, id: NodeId, token: &'a PermTkn) -> Option<&AnyNode> { [INFO] [stdout] | -- -- ^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here 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] 210 | pub fn parent_of<'a, T>(&'a self, id: NodeId, token: &'a PermTkn) -> Option<&'a AnyNode> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 220 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 221 | id: NodeId, [INFO] [stdout] 222 | token: &'a mut PermTkn, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 223 | ) -> &mut T::Parent [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is elided 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] 223 | ) -> &'a mut T::Parent [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:246:32 [INFO] [stdout] | [INFO] [stdout] 246 | fn modify(self, token: &PermTkn) -> SyntaxTree { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 246 | fn modify(self, token: &PermTkn) -> SyntaxTree> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.18s [INFO] running `Command { std: "docker" "inspect" "beecc8f935e41c85382c1ab3825f5aea305d321b014f443010be5a5f04d2046d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "beecc8f935e41c85382c1ab3825f5aea305d321b014f443010be5a5f04d2046d", kill_on_drop: false }` [INFO] [stdout] beecc8f935e41c85382c1ab3825f5aea305d321b014f443010be5a5f04d2046d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 865a1e37c7b4f94a56d4ff9bea593f6d36d52fce238242f3f3d835e8daa4f728 [INFO] running `Command { std: "docker" "start" "-a" "865a1e37c7b4f94a56d4ff9bea593f6d36d52fce238242f3f3d835e8daa4f728", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling rstest_macros v0.19.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling kodept-core v0.2.8 [INFO] [stderr] Compiling kodept-ast v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast_builder.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_chunk(&self, at: CodePoint) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | fn get_chunk(&self, at: CodePoint) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast_builder.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_chunk_located(&self, for_item: &L) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | fn get_chunk_located(&self, for_item: &L) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn dfs(&self) -> DfsIter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | pub fn dfs(&self) -> DfsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 179 | &'b self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 180 | id: NodeId, [INFO] [stdout] 181 | token: &'b PermTkn, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 182 | tag: ChildTag, [INFO] [stdout] 183 | ) -> OptVec<&U> [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 183 | ) -> OptVec<&'b U> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:194:82 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn get<'b, T>(&'b self, id: NodeId, token: &'b PermTkn) -> Option<&T> [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here 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 `'b` [INFO] [stdout] | [INFO] [stdout] 194 | pub fn get<'b, T>(&'b self, id: NodeId, token: &'b PermTkn) -> Option<&'b T> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:202:90 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn get_mut<'b, T>(&'b self, id: NodeId, token: &'b mut PermTkn) -> Option<&mut T> [INFO] [stdout] | -- -- ^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here 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 `'b` [INFO] [stdout] | [INFO] [stdout] 202 | pub fn get_mut<'b, T>(&'b self, id: NodeId, token: &'b mut PermTkn) -> Option<&'b mut T> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:210:88 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn parent_of<'a, T>(&'a self, id: NodeId, token: &'a PermTkn) -> Option<&AnyNode> { [INFO] [stdout] | -- -- ^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here 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] 210 | pub fn parent_of<'a, T>(&'a self, id: NodeId, token: &'a PermTkn) -> Option<&'a AnyNode> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 220 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 221 | id: NodeId, [INFO] [stdout] 222 | token: &'a mut PermTkn, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 223 | ) -> &mut T::Parent [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is elided 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] 223 | ) -> &'a mut T::Parent [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:246:32 [INFO] [stdout] | [INFO] [stdout] 246 | fn modify(self, token: &PermTkn) -> SyntaxTree { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 246 | fn modify(self, token: &PermTkn) -> SyntaxTree> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rstest v0.19.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast_builder.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_chunk(&self, at: CodePoint) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | fn get_chunk(&self, at: CodePoint) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast_builder.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_chunk_located(&self, for_item: &L) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | fn get_chunk_located(&self, for_item: &L) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn dfs(&self) -> DfsIter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | pub fn dfs(&self) -> DfsIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 179 | &'b self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 180 | id: NodeId, [INFO] [stdout] 181 | token: &'b PermTkn, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 182 | tag: ChildTag, [INFO] [stdout] 183 | ) -> OptVec<&U> [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'b` [INFO] [stdout] | [INFO] [stdout] 183 | ) -> OptVec<&'b U> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:194:82 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn get<'b, T>(&'b self, id: NodeId, token: &'b PermTkn) -> Option<&T> [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here 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 `'b` [INFO] [stdout] | [INFO] [stdout] 194 | pub fn get<'b, T>(&'b self, id: NodeId, token: &'b PermTkn) -> Option<&'b T> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:202:90 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn get_mut<'b, T>(&'b self, id: NodeId, token: &'b mut PermTkn) -> Option<&mut T> [INFO] [stdout] | -- -- ^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here 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 `'b` [INFO] [stdout] | [INFO] [stdout] 202 | pub fn get_mut<'b, T>(&'b self, id: NodeId, token: &'b mut PermTkn) -> Option<&'b mut T> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:210:88 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn parent_of<'a, T>(&'a self, id: NodeId, token: &'a PermTkn) -> Option<&AnyNode> { [INFO] [stdout] | -- -- ^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here 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] 210 | pub fn parent_of<'a, T>(&'a self, id: NodeId, token: &'a PermTkn) -> Option<&'a AnyNode> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 220 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 221 | id: NodeId, [INFO] [stdout] 222 | token: &'a mut PermTkn, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 223 | ) -> &mut T::Parent [INFO] [stdout] | ^^^^^^^^^^^^^^ the same lifetime is elided 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] 223 | ) -> &'a mut T::Parent [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graph/tree.rs:246:32 [INFO] [stdout] | [INFO] [stdout] 246 | fn modify(self, token: &PermTkn) -> SyntaxTree { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 246 | fn modify(self, token: &PermTkn) -> SyntaxTree> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.94s [INFO] running `Command { std: "docker" "inspect" "865a1e37c7b4f94a56d4ff9bea593f6d36d52fce238242f3f3d835e8daa4f728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "865a1e37c7b4f94a56d4ff9bea593f6d36d52fce238242f3f3d835e8daa4f728", kill_on_drop: false }` [INFO] [stdout] 865a1e37c7b4f94a56d4ff9bea593f6d36d52fce238242f3f3d835e8daa4f728 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 965de81be20644101e089cf3a7c958c1d0d51bceccbfaaed033638fc356cfcad [INFO] running `Command { std: "docker" "start" "-a" "965de81be20644101e089cf3a7c958c1d0d51bceccbfaaed033638fc356cfcad", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ast_builder.rs:68:18 [INFO] [stderr] | [INFO] [stderr] 68 | fn get_chunk(&self, at: CodePoint) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 68 | fn get_chunk(&self, at: CodePoint) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/ast_builder.rs:72:38 [INFO] [stderr] | [INFO] [stderr] 72 | fn get_chunk_located(&self, for_item: &L) -> Cow { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 72 | fn get_chunk_located(&self, for_item: &L) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/graph/tree.rs:167:20 [INFO] [stderr] | [INFO] [stderr] 167 | pub fn dfs(&self) -> DfsIter { [INFO] [stderr] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 167 | pub fn dfs(&self) -> DfsIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/graph/tree.rs:183:21 [INFO] [stderr] | [INFO] [stderr] 179 | &'b self, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 180 | id: NodeId, [INFO] [stderr] 181 | token: &'b PermTkn, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 182 | tag: ChildTag, [INFO] [stderr] 183 | ) -> OptVec<&U> [INFO] [stderr] | ^^ the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'b` [INFO] [stderr] | [INFO] [stderr] 183 | ) -> OptVec<&'b U> [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/graph/tree.rs:194:82 [INFO] [stderr] | [INFO] [stderr] 194 | pub fn get<'b, T>(&'b self, id: NodeId, token: &'b PermTkn) -> Option<&T> [INFO] [stderr] | -- -- ^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here 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 `'b` [INFO] [stderr] | [INFO] [stderr] 194 | pub fn get<'b, T>(&'b self, id: NodeId, token: &'b PermTkn) -> Option<&'b T> [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/graph/tree.rs:202:90 [INFO] [stderr] | [INFO] [stderr] 202 | pub fn get_mut<'b, T>(&'b self, id: NodeId, token: &'b mut PermTkn) -> Option<&mut T> [INFO] [stderr] | -- -- ^^^^^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here 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 `'b` [INFO] [stderr] | [INFO] [stderr] 202 | pub fn get_mut<'b, T>(&'b self, id: NodeId, token: &'b mut PermTkn) -> Option<&'b mut T> [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/graph/tree.rs:210:88 [INFO] [stderr] | [INFO] [stderr] 210 | pub fn parent_of<'a, T>(&'a self, id: NodeId, token: &'a PermTkn) -> Option<&AnyNode> { [INFO] [stderr] | -- -- ^^^^^^^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here 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] 210 | pub fn parent_of<'a, T>(&'a self, id: NodeId, token: &'a PermTkn) -> Option<&'a AnyNode> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/graph/tree.rs:223:14 [INFO] [stderr] | [INFO] [stderr] 220 | &'a self, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 221 | id: NodeId, [INFO] [stderr] 222 | token: &'a mut PermTkn, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 223 | ) -> &mut T::Parent [INFO] [stderr] | ^^^^^^^^^^^^^^ the same lifetime is elided 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] 223 | ) -> &'a mut T::Parent [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/graph/tree.rs:246:32 [INFO] [stderr] | [INFO] [stderr] 246 | fn modify(self, token: &PermTkn) -> SyntaxTree { [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 246 | fn modify(self, token: &PermTkn) -> SyntaxTree> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `kodept-ast` (lib) generated 9 warnings (run `cargo fix --lib -p kodept-ast` to apply 9 suggestions) [INFO] [stderr] warning: `kodept-ast` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kodept_ast-b6e6cf3ee0026839) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test graph::tree::tests::test_tree_creation ... ok [INFO] [stdout] test utils::tests::test_human_readable_bytes::case_1 ... ok [INFO] [stdout] test utils::tests::test_human_readable_bytes::case_3 ... ok [INFO] [stdout] test utils::tests::test_human_readable_bytes::case_2 ... ok [INFO] [stdout] test utils::tests::test_human_readable_bytes::case_5 ... ok [INFO] [stdout] test utils::tests::test_human_readable_bytes::case_4 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests kodept_ast [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" "965de81be20644101e089cf3a7c958c1d0d51bceccbfaaed033638fc356cfcad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "965de81be20644101e089cf3a7c958c1d0d51bceccbfaaed033638fc356cfcad", kill_on_drop: false }` [INFO] [stdout] 965de81be20644101e089cf3a7c958c1d0d51bceccbfaaed033638fc356cfcad