[INFO] fetching crate parse_tree 0.0.7... [INFO] testing parse_tree-0.0.7 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate parse_tree 0.0.7 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate parse_tree 0.0.7 [INFO] finished tweaking crates.io crate parse_tree 0.0.7 [INFO] tweaked toml for crates.io crate parse_tree 0.0.7 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate parse_tree 0.0.7 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52d872ee55be115db09ee94f5e29241083c6d8cc714796817db701eec07c13d6 [INFO] running `Command { std: "docker" "start" "-a" "52d872ee55be115db09ee94f5e29241083c6d8cc714796817db701eec07c13d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52d872ee55be115db09ee94f5e29241083c6d8cc714796817db701eec07c13d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52d872ee55be115db09ee94f5e29241083c6d8cc714796817db701eec07c13d6", kill_on_drop: false }` [INFO] [stdout] 52d872ee55be115db09ee94f5e29241083c6d8cc714796817db701eec07c13d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3daa360a3128a8b84c5b925148710c316dd76b3ea128baa1b72d1a7db8abb2e [INFO] running `Command { std: "docker" "start" "-a" "c3daa360a3128a8b84c5b925148710c316dd76b3ea128baa1b72d1a7db8abb2e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling text_unit v0.1.10 [INFO] [stderr] Compiling parse_tree v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algo/search.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn children(tree: &ParseTree, node_id: PtNodeId) -> Children { [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] 8 | pub fn children(tree: &ParseTree, node_id: PtNodeId) -> Children<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/algo/search.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn children(tree: &ParseTree, node_id: PtNodeId) -> Children { [INFO] [stdout] | ---------------------------------------------------------------- move the `impl` block outside of this function `children` [INFO] [stdout] 9 | impl<'a> Iterator for Children<'a> { [INFO] [stdout] | ^^^^^^^^^--------^^^^^--------^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Children` is not local [INFO] [stdout] | `Iterator` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algo/search.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn ancestors(tree: &ParseTree, node_id: PtNodeId) -> Ancestors { [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] 121 | pub fn ancestors(tree: &ParseTree, node_id: PtNodeId) -> Ancestors<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "c3daa360a3128a8b84c5b925148710c316dd76b3ea128baa1b72d1a7db8abb2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3daa360a3128a8b84c5b925148710c316dd76b3ea128baa1b72d1a7db8abb2e", kill_on_drop: false }` [INFO] [stdout] c3daa360a3128a8b84c5b925148710c316dd76b3ea128baa1b72d1a7db8abb2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1a6236b64e23e06688a69d3759d7986ade1adbc5c4da71c54bde4dee019b9ff [INFO] running `Command { std: "docker" "start" "-a" "c1a6236b64e23e06688a69d3759d7986ade1adbc5c4da71c54bde4dee019b9ff", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algo/search.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn children(tree: &ParseTree, node_id: PtNodeId) -> Children { [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] 8 | pub fn children(tree: &ParseTree, node_id: PtNodeId) -> Children<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/algo/search.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn children(tree: &ParseTree, node_id: PtNodeId) -> Children { [INFO] [stdout] | ---------------------------------------------------------------- move the `impl` block outside of this function `children` [INFO] [stdout] 9 | impl<'a> Iterator for Children<'a> { [INFO] [stdout] | ^^^^^^^^^--------^^^^^--------^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Children` is not local [INFO] [stdout] | `Iterator` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algo/search.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn ancestors(tree: &ParseTree, node_id: PtNodeId) -> Ancestors { [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] 121 | pub fn ancestors(tree: &ParseTree, node_id: PtNodeId) -> Ancestors<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parse_tree v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algo/search.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn children(tree: &ParseTree, node_id: PtNodeId) -> Children { [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] 8 | pub fn children(tree: &ParseTree, node_id: PtNodeId) -> Children<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/algo/search.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn children(tree: &ParseTree, node_id: PtNodeId) -> Children { [INFO] [stdout] | ---------------------------------------------------------------- move the `impl` block outside of this function `children` [INFO] [stdout] 9 | impl<'a> Iterator for Children<'a> { [INFO] [stdout] | ^^^^^^^^^--------^^^^^--------^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Children` is not local [INFO] [stdout] | `Iterator` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algo/search.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn ancestors(tree: &ParseTree, node_id: PtNodeId) -> Ancestors { [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] 121 | pub fn ancestors(tree: &ParseTree, node_id: PtNodeId) -> Ancestors<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "c1a6236b64e23e06688a69d3759d7986ade1adbc5c4da71c54bde4dee019b9ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1a6236b64e23e06688a69d3759d7986ade1adbc5c4da71c54bde4dee019b9ff", kill_on_drop: false }` [INFO] [stdout] c1a6236b64e23e06688a69d3759d7986ade1adbc5c4da71c54bde4dee019b9ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b85ef584723ba6d8e234a7799e8edea69f02673ef4ead8998a6287571388dd89 [INFO] running `Command { std: "docker" "start" "-a" "b85ef584723ba6d8e234a7799e8edea69f02673ef4ead8998a6287571388dd89", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/algo/search.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn children(tree: &ParseTree, node_id: PtNodeId) -> Children { [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] 8 | pub fn children(tree: &ParseTree, node_id: PtNodeId) -> Children<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/algo/search.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn children(tree: &ParseTree, node_id: PtNodeId) -> Children { [INFO] [stderr] | ---------------------------------------------------------------- move the `impl` block outside of this function `children` [INFO] [stderr] 9 | impl<'a> Iterator for Children<'a> { [INFO] [stderr] | ^^^^^^^^^--------^^^^^--------^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Children` is not local [INFO] [stderr] | `Iterator` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/algo/search.rs:121:24 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn ancestors(tree: &ParseTree, node_id: PtNodeId) -> Ancestors { [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] 121 | pub fn ancestors(tree: &ParseTree, node_id: PtNodeId) -> Ancestors<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `parse_tree` (lib) generated 3 warnings (run `cargo fix --lib -p parse_tree` to apply 2 suggestions) [INFO] [stderr] warning: `parse_tree` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/parse_tree-19025030b0b5876a) [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-c474eab6ed8e0143) [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Doc-tests parse_tree [INFO] [stdout] test bottom_up ... ok [INFO] [stdout] test top_down ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 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" "b85ef584723ba6d8e234a7799e8edea69f02673ef4ead8998a6287571388dd89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b85ef584723ba6d8e234a7799e8edea69f02673ef4ead8998a6287571388dd89", kill_on_drop: false }` [INFO] [stdout] b85ef584723ba6d8e234a7799e8edea69f02673ef4ead8998a6287571388dd89