[INFO] fetching crate rome_rowan 0.0.1... [INFO] checking rome_rowan-0.0.1 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate rome_rowan 0.0.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate rome_rowan 0.0.1 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rome_rowan 0.0.1 [INFO] finished tweaking crates.io crate rome_rowan 0.0.1 [INFO] tweaked toml for crates.io crate rome_rowan 0.0.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e8ec65c5182ec6aaf1ccdfd276604d82e74953292637de05fd577bd1b208292 [INFO] running `Command { std: "docker" "start" "-a" "5e8ec65c5182ec6aaf1ccdfd276604d82e74953292637de05fd577bd1b208292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e8ec65c5182ec6aaf1ccdfd276604d82e74953292637de05fd577bd1b208292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e8ec65c5182ec6aaf1ccdfd276604d82e74953292637de05fd577bd1b208292", kill_on_drop: false }` [INFO] [stdout] 5e8ec65c5182ec6aaf1ccdfd276604d82e74953292637de05fd577bd1b208292 [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccd5f187927e1ea9aab32b5b35f0e4d039a8bc45d83ae88efa35895c9139f813 [INFO] running `Command { std: "docker" "start" "-a" "ccd5f187927e1ea9aab32b5b35f0e4d039a8bc45d83ae88efa35895c9139f813", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking iai v0.1.1 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking serde v1.0.188 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking similar v2.2.1 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking rome_text_size v0.0.1 [INFO] [stderr] Checking serde_json v1.0.107 [INFO] [stderr] Checking rome_text_edit v0.0.1 [INFO] [stderr] Checking rome_rowan v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stdout] error[E0597]: `siblings` does not live long enough [INFO] [stdout] --> src/cursor.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 247 | let siblings = self.green_siblings()?; [INFO] [stdout] | -------- binding `siblings` declared here [INFO] [stdout] 248 | siblings.previous().find_map(|child| { [INFO] [stdout] | ^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 255 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `siblings` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 248 ~ let x = siblings.previous().find_map(|child| { [INFO] [stdout] 249 | child.element().into_node().and_then(|green| { [INFO] [stdout] ... [INFO] [stdout] 253 | }) [INFO] [stdout] 254 ~ }); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `siblings` does not live long enough [INFO] [stdout] --> src/cursor.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 272 | let siblings = self.green_siblings()?; [INFO] [stdout] | -------- binding `siblings` declared here [INFO] [stdout] 273 | [INFO] [stdout] 274 | siblings.previous().next().and_then(|child| { [INFO] [stdout] | ^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 284 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `siblings` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 274 ~ let x = siblings.previous().next().and_then(|child| { [INFO] [stdout] 275 | let parent = self.parent_node()?; [INFO] [stdout] ... [INFO] [stdout] 282 | )) [INFO] [stdout] 283 ~ }); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rome_rowan` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/ast/mod.rs:737:1 [INFO] [stdout] | [INFO] [stdout] 737 | / mod tests { [INFO] [stdout] 738 | | use crate::raw_language::{ [INFO] [stdout] 739 | | LiteralExpression, RawLanguage, RawLanguageKind, RawSyntaxTreeBuilder, [INFO] [stdout] 740 | | SeparatedExpressionList, [INFO] [stdout] ... | [INFO] [stdout] 1066 | | } [INFO] [stdout] 1067 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the name `tests` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/ast/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use batch::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/ast/mod.rs:737:1 [INFO] [stdout] | [INFO] [stdout] 737 | / mod tests { [INFO] [stdout] 738 | | use crate::raw_language::{ [INFO] [stdout] 739 | | LiteralExpression, RawLanguage, RawLanguageKind, RawSyntaxTreeBuilder, [INFO] [stdout] 740 | | SeparatedExpressionList, [INFO] [stdout] ... | [INFO] [stdout] 1066 | | } [INFO] [stdout] 1067 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `siblings` does not live long enough [INFO] [stdout] --> src/cursor.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 247 | let siblings = self.green_siblings()?; [INFO] [stdout] | -------- binding `siblings` declared here [INFO] [stdout] 248 | siblings.previous().find_map(|child| { [INFO] [stdout] | ^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 255 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `siblings` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 248 ~ let x = siblings.previous().find_map(|child| { [INFO] [stdout] 249 | child.element().into_node().and_then(|green| { [INFO] [stdout] ... [INFO] [stdout] 253 | }) [INFO] [stdout] 254 ~ }); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `siblings` does not live long enough [INFO] [stdout] --> src/cursor.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 272 | let siblings = self.green_siblings()?; [INFO] [stdout] | -------- binding `siblings` declared here [INFO] [stdout] 273 | [INFO] [stdout] 274 | siblings.previous().next().and_then(|child| { [INFO] [stdout] | ^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 284 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `siblings` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Iterator>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 274 ~ let x = siblings.previous().next().and_then(|child| { [INFO] [stdout] 275 | let parent = self.parent_node()?; [INFO] [stdout] ... [INFO] [stdout] 282 | )) [INFO] [stdout] 283 ~ }); x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rome_rowan` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ccd5f187927e1ea9aab32b5b35f0e4d039a8bc45d83ae88efa35895c9139f813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccd5f187927e1ea9aab32b5b35f0e4d039a8bc45d83ae88efa35895c9139f813", kill_on_drop: false }` [INFO] [stdout] ccd5f187927e1ea9aab32b5b35f0e4d039a8bc45d83ae88efa35895c9139f813