[INFO] fetching crate kodept-ast 0.4.1... [INFO] testing kodept-ast-0.4.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate kodept-ast 0.4.1 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kodept-ast 0.4.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 98 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c21c1fb29134f35f5551535da43eb5202e47ce8dfcdedf83792ec667a0c79c9 [INFO] running `Command { std: "docker" "start" "-a" "8c21c1fb29134f35f5551535da43eb5202e47ce8dfcdedf83792ec667a0c79c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c21c1fb29134f35f5551535da43eb5202e47ce8dfcdedf83792ec667a0c79c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c21c1fb29134f35f5551535da43eb5202e47ce8dfcdedf83792ec667a0c79c9", kill_on_drop: false }` [INFO] [stdout] 8c21c1fb29134f35f5551535da43eb5202e47ce8dfcdedf83792ec667a0c79c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e88ec08e6b428b3f669c8926a83c24fd9fd73816e13a44db2c81266454a91287 [INFO] running `Command { std: "docker" "start" "-a" "e88ec08e6b428b3f669c8926a83c24fd9fd73816e13a44db2c81266454a91287", kill_on_drop: false }` [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling qcell v0.5.4 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling constcat v0.5.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling slotgraph v0.1.1 [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 12.07s [INFO] running `Command { std: "docker" "inspect" "e88ec08e6b428b3f669c8926a83c24fd9fd73816e13a44db2c81266454a91287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e88ec08e6b428b3f669c8926a83c24fd9fd73816e13a44db2c81266454a91287", kill_on_drop: false }` [INFO] [stdout] e88ec08e6b428b3f669c8926a83c24fd9fd73816e13a44db2c81266454a91287 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2671497cda1b15fb827667659fa2358988c8c5b638474f32d2fc16e3db170b91 [INFO] running `Command { std: "docker" "start" "-a" "2671497cda1b15fb827667659fa2358988c8c5b638474f32d2fc16e3db170b91", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-syntax v0.8.6 [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 cfg-if v1.0.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [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 ref-cast-impl v1.0.24 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling regex v1.11.2 [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 35.19s [INFO] running `Command { std: "docker" "inspect" "2671497cda1b15fb827667659fa2358988c8c5b638474f32d2fc16e3db170b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2671497cda1b15fb827667659fa2358988c8c5b638474f32d2fc16e3db170b91", kill_on_drop: false }` [INFO] [stdout] 2671497cda1b15fb827667659fa2358988c8c5b638474f32d2fc16e3db170b91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b291f2191f4ae5534070266c4ab9f3cd9b53ed2c5e1c0c39fcf2931959d078f3 [INFO] running `Command { std: "docker" "start" "-a" "b291f2191f4ae5534070266c4ab9f3cd9b53ed2c5e1c0c39fcf2931959d078f3", 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.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kodept_ast-1490700a59cf7845) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test graph::tree::tests::test_tree_creation ... ok [INFO] [stderr] Doc-tests kodept_ast [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_2 ... ok [INFO] [stdout] test utils::tests::test_human_readable_bytes::case_4 ... ok [INFO] [stdout] test utils::tests::test_human_readable_bytes::case_5 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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" "b291f2191f4ae5534070266c4ab9f3cd9b53ed2c5e1c0c39fcf2931959d078f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b291f2191f4ae5534070266c4ab9f3cd9b53ed2c5e1c0c39fcf2931959d078f3", kill_on_drop: false }` [INFO] [stdout] b291f2191f4ae5534070266c4ab9f3cd9b53ed2c5e1c0c39fcf2931959d078f3