[INFO] fetching crate kodept-ast 0.4.1... [INFO] checking kodept-ast-0.4.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate kodept-ast 0.4.1 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kodept-ast 0.4.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 99 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0bdcc21b90192cdc9d6cd5533de8b005c87eb41fb4464c2ef02ba886a6ca513 [INFO] running `Command { std: "docker" "start" "-a" "a0bdcc21b90192cdc9d6cd5533de8b005c87eb41fb4464c2ef02ba886a6ca513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0bdcc21b90192cdc9d6cd5533de8b005c87eb41fb4464c2ef02ba886a6ca513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0bdcc21b90192cdc9d6cd5533de8b005c87eb41fb4464c2ef02ba886a6ca513", kill_on_drop: false }` [INFO] [stdout] a0bdcc21b90192cdc9d6cd5533de8b005c87eb41fb4464c2ef02ba886a6ca513 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93b52c014ff8a9cd518767f24c73e0b5e27451477057dc5093c1a530ac985c77 [INFO] running `Command { std: "docker" "start" "-a" "93b52c014ff8a9cd518767f24c73e0b5e27451477057dc5093c1a530ac985c77", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking qcell v0.5.4 [INFO] [stderr] Checking constcat v0.5.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling rstest_macros v0.19.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking slotgraph v0.1.1 [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.24 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking kodept-core v0.2.8 [INFO] [stderr] Checking 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:179:14 [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:28 [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:32 [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:34 [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:220: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] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking 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:179:14 [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:28 [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:32 [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:34 [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:220: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 19.85s [INFO] running `Command { std: "docker" "inspect" "93b52c014ff8a9cd518767f24c73e0b5e27451477057dc5093c1a530ac985c77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93b52c014ff8a9cd518767f24c73e0b5e27451477057dc5093c1a530ac985c77", kill_on_drop: false }` [INFO] [stdout] 93b52c014ff8a9cd518767f24c73e0b5e27451477057dc5093c1a530ac985c77