[INFO] fetching crate kodept-ast 0.4.1... [INFO] testing kodept-ast-0.4.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate kodept-ast 0.4.1 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kodept-ast 0.4.1 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 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 01e80ee996fe938272b6abdffc507deddea1bfbbba934cf2b306306d37135408 [INFO] running `Command { std: "docker" "start" "-a" "01e80ee996fe938272b6abdffc507deddea1bfbbba934cf2b306306d37135408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01e80ee996fe938272b6abdffc507deddea1bfbbba934cf2b306306d37135408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e80ee996fe938272b6abdffc507deddea1bfbbba934cf2b306306d37135408", kill_on_drop: false }` [INFO] [stdout] 01e80ee996fe938272b6abdffc507deddea1bfbbba934cf2b306306d37135408 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] df3245fd316d18b440714fa5dd8c5b73f00ee6df837af9493c668f7dc67dbc33 [INFO] running `Command { std: "docker" "start" "-a" "df3245fd316d18b440714fa5dd8c5b73f00ee6df837af9493c668f7dc67dbc33", 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 slotmap v1.0.7 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling qcell v0.5.5 [INFO] [stderr] Compiling constcat v0.5.1 [INFO] [stderr] Compiling syn v2.0.110 [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 strum_macros v0.26.4 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [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 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.19s [INFO] running `Command { std: "docker" "inspect" "df3245fd316d18b440714fa5dd8c5b73f00ee6df837af9493c668f7dc67dbc33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df3245fd316d18b440714fa5dd8c5b73f00ee6df837af9493c668f7dc67dbc33", kill_on_drop: false }` [INFO] [stdout] df3245fd316d18b440714fa5dd8c5b73f00ee6df837af9493c668f7dc67dbc33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ec848a05435def24faa24b56cceadd585d726d610b917538fee5a550e2d6e42e [INFO] running `Command { std: "docker" "start" "-a" "ec848a05435def24faa24b56cceadd585d726d610b917538fee5a550e2d6e42e", kill_on_drop: false }` [INFO] [stderr] Compiling rstest_macros v0.19.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [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 strum v0.26.3 [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 kodept-ast v0.4.1 (/opt/rustwide/workdir) [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] [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.57s [INFO] running `Command { std: "docker" "inspect" "ec848a05435def24faa24b56cceadd585d726d610b917538fee5a550e2d6e42e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec848a05435def24faa24b56cceadd585d726d610b917538fee5a550e2d6e42e", kill_on_drop: false }` [INFO] [stdout] ec848a05435def24faa24b56cceadd585d726d610b917538fee5a550e2d6e42e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9733815413ee1fb78720975ae367577fed27916e4215ab16ae56f8aef9f8df6e [INFO] running `Command { std: "docker" "start" "-a" "9733815413ee1fb78720975ae367577fed27916e4215ab16ae56f8aef9f8df6e", 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.12s [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 utils::tests::test_human_readable_bytes::case_3 ... ok [INFO] [stdout] test utils::tests::test_human_readable_bytes::case_1 ... ok [INFO] [stdout] test utils::tests::test_human_readable_bytes::case_4 ... 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 graph::tree::tests::test_tree_creation ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests kodept_ast [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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" "9733815413ee1fb78720975ae367577fed27916e4215ab16ae56f8aef9f8df6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9733815413ee1fb78720975ae367577fed27916e4215ab16ae56f8aef9f8df6e", kill_on_drop: false }` [INFO] [stdout] 9733815413ee1fb78720975ae367577fed27916e4215ab16ae56f8aef9f8df6e