[INFO] fetching crate rome_rowan 0.0.1... [INFO] testing rome_rowan-0.0.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rome_rowan 0.0.1 into /workspace/builds/worker-5-tc1/source [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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rome_rowan 0.0.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 44 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.16.0) [INFO] [stderr] Adding memoffset v0.8.0 (available: v0.9.1) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.1.1) [INFO] [stderr] Adding schemars v0.8.22 (available: v1.0.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quickcheck_macros v1.1.0 [INFO] [stderr] Downloaded env_logger v0.8.4 [INFO] [stderr] Downloaded rome_text_size v0.0.1 [INFO] [stderr] Downloaded countme v3.0.1 [INFO] [stderr] Downloaded quickcheck v1.0.3 [INFO] [stderr] Downloaded iai v0.1.1 [INFO] [stderr] Downloaded rome_text_edit v0.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5f7b65e8b9c5fae1db5c63d6f74b870922fea60cb0647f6cc595c8ec5229d0c [INFO] running `Command { std: "docker" "start" "-a" "c5f7b65e8b9c5fae1db5c63d6f74b870922fea60cb0647f6cc595c8ec5229d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5f7b65e8b9c5fae1db5c63d6f74b870922fea60cb0647f6cc595c8ec5229d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5f7b65e8b9c5fae1db5c63d6f74b870922fea60cb0647f6cc595c8ec5229d0c", kill_on_drop: false }` [INFO] [stdout] c5f7b65e8b9c5fae1db5c63d6f74b870922fea60cb0647f6cc595c8ec5229d0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 930778b24f8577d038aca73c8a299fd74ffcdf82811ddc14a4122c5557a3e43d [INFO] running `Command { std: "docker" "start" "-a" "930778b24f8577d038aca73c8a299fd74ffcdf82811ddc14a4122c5557a3e43d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rome_text_size v0.0.1 [INFO] [stderr] Compiling rome_text_edit v0.0.1 [INFO] [stderr] Compiling rome_rowan v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/ast/batch.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | #[must_use = "This method consumes the node and return the BatchMutation api that returns the new SynytaxNode on commit"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | fn as_deref(&self) -> GreenElementRef { [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] 125 | fn as_deref(&self) -> GreenElementRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | fn green_siblings(&self) -> Option { [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] 202 | fn green_siblings(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/green/node.rs:301:26 [INFO] [stdout] | [INFO] [stdout] 301 | pub(crate) fn as_ref(&self) -> Option { [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] 301 | pub(crate) fn as_ref(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/arc.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | this.ptr() == other.ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 89 - this.ptr() == other.ptr() [INFO] [stdout] 89 + std::ptr::addr_eq(this.ptr(), other.ptr()) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 89 - this.ptr() == other.ptr() [INFO] [stdout] 89 + std::ptr::eq(this.ptr(), other.ptr()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.04s [INFO] running `Command { std: "docker" "inspect" "930778b24f8577d038aca73c8a299fd74ffcdf82811ddc14a4122c5557a3e43d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "930778b24f8577d038aca73c8a299fd74ffcdf82811ddc14a4122c5557a3e43d", kill_on_drop: false }` [INFO] [stdout] 930778b24f8577d038aca73c8a299fd74ffcdf82811ddc14a4122c5557a3e43d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91cc28651770498907979a1de7602df8199e67c78869bd732bc02b222bb47550 [INFO] running `Command { std: "docker" "start" "-a" "91cc28651770498907979a1de7602df8199e67c78869bd732bc02b222bb47550", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling iai v0.1.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling quickcheck_macros v1.1.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rome_text_size v0.0.1 [INFO] [stderr] Compiling rome_text_edit v0.0.1 [INFO] [stderr] Compiling rome_rowan v0.0.1 (/opt/rustwide/workdir) [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] 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] 1067 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/ast/batch.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | #[must_use = "This method consumes the node and return the BatchMutation api that returns the new SynytaxNode on commit"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/ast/batch.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | #[must_use = "This method consumes the node and return the BatchMutation api that returns the new SynytaxNode on commit"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | fn as_deref(&self) -> GreenElementRef { [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] 125 | fn as_deref(&self) -> GreenElementRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | fn green_siblings(&self) -> Option { [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] 202 | fn green_siblings(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/green/node.rs:301:26 [INFO] [stdout] | [INFO] [stdout] 301 | pub(crate) fn as_ref(&self) -> Option { [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] 301 | pub(crate) fn as_ref(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/arc.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | this.ptr() == other.ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 89 - this.ptr() == other.ptr() [INFO] [stdout] 89 + std::ptr::addr_eq(this.ptr(), other.ptr()) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 89 - this.ptr() == other.ptr() [INFO] [stdout] 89 + std::ptr::eq(this.ptr(), other.ptr()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | fn as_deref(&self) -> GreenElementRef { [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] 125 | fn as_deref(&self) -> GreenElementRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cursor.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | fn green_siblings(&self) -> Option { [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] 202 | fn green_siblings(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/green/node.rs:301:26 [INFO] [stdout] | [INFO] [stdout] 301 | pub(crate) fn as_ref(&self) -> Option { [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] 301 | pub(crate) fn as_ref(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/arc.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | this.ptr() == other.ptr() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 89 - this.ptr() == other.ptr() [INFO] [stdout] 89 + std::ptr::addr_eq(this.ptr(), other.ptr()) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 89 - this.ptr() == other.ptr() [INFO] [stdout] 89 + std::ptr::eq(this.ptr(), other.ptr()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.73s [INFO] running `Command { std: "docker" "inspect" "91cc28651770498907979a1de7602df8199e67c78869bd732bc02b222bb47550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91cc28651770498907979a1de7602df8199e67c78869bd732bc02b222bb47550", kill_on_drop: false }` [INFO] [stdout] 91cc28651770498907979a1de7602df8199e67c78869bd732bc02b222bb47550 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eae110f1b3e86b0653490a34ed2a4995b4014fa7abc90882ff9524135787c4ef [INFO] running `Command { std: "docker" "start" "-a" "eae110f1b3e86b0653490a34ed2a4995b4014fa7abc90882ff9524135787c4ef", kill_on_drop: false }` [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/ast/batch.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | #[must_use = "This method consumes the node and return the BatchMutation api that returns the new SynytaxNode on commit"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cursor.rs:125:17 [INFO] [stderr] | [INFO] [stderr] 125 | fn as_deref(&self) -> GreenElementRef { [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] 125 | fn as_deref(&self) -> GreenElementRef<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/cursor.rs:202:23 [INFO] [stderr] | [INFO] [stderr] 202 | fn green_siblings(&self) -> Option { [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] 202 | fn green_siblings(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/green/node.rs:301:26 [INFO] [stderr] | [INFO] [stderr] 301 | pub(crate) fn as_ref(&self) -> Option { [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] 301 | pub(crate) fn as_ref(&self) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stderr] --> src/arc.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | this.ptr() == other.ptr() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stderr] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stderr] | [INFO] [stderr] 89 - this.ptr() == other.ptr() [INFO] [stderr] 89 + std::ptr::addr_eq(this.ptr(), other.ptr()) [INFO] [stderr] | [INFO] [stderr] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stderr] | [INFO] [stderr] 89 - this.ptr() == other.ptr() [INFO] [stderr] 89 + std::ptr::eq(this.ptr(), other.ptr()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rome_rowan` (lib) generated 5 warnings (run `cargo fix --lib -p rome_rowan` to apply 4 suggestions) [INFO] [stderr] warning: private item shadows public glob re-export [INFO] [stderr] --> src/ast/mod.rs:737:1 [INFO] [stderr] | [INFO] [stderr] 737 | / mod tests { [INFO] [stderr] 738 | | use crate::raw_language::{ [INFO] [stderr] 739 | | LiteralExpression, RawLanguage, RawLanguageKind, RawSyntaxTreeBuilder, [INFO] [stderr] 740 | | SeparatedExpressionList, [INFO] [stderr] ... | [INFO] [stderr] 1067 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] note: the name `tests` in the type namespace is supposed to be publicly re-exported here [INFO] [stderr] --> src/ast/mod.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub use batch::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] note: but the private item here shadows it [INFO] [stderr] --> src/ast/mod.rs:737:1 [INFO] [stderr] | [INFO] [stderr] 737 | / mod tests { [INFO] [stderr] 738 | | use crate::raw_language::{ [INFO] [stderr] 739 | | LiteralExpression, RawLanguage, RawLanguageKind, RawSyntaxTreeBuilder, [INFO] [stderr] 740 | | SeparatedExpressionList, [INFO] [stderr] ... | [INFO] [stderr] 1067 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rome_rowan` (lib test) generated 6 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rome_rowan-28e4f17fc3fe6ca0) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test ast::tests::empty ... ok [INFO] [stdout] test ast::batch::tests::ok_batch_mutation_one_change ... ok [INFO] [stdout] test ast::tests::double_iterator_meet_at_middle ... ok [INFO] [stdout] test ast::batch::tests::ok_batch_mutation_no_changes ... ok [INFO] [stdout] test ast::batch::tests::ok_batch_mutation_multiple_changes_different_branches ... ok [INFO] [stdout] test ast::tests::ok_typed_parent_navigation ... ok [INFO] [stdout] test ast::tests::separated_with_leading_separator ... ok [INFO] [stdout] test ast::tests::separated_with_two_successive_nodes ... ok [INFO] [stdout] test ast::tests::separated_with_two_successive_separators ... ok [INFO] [stdout] test ast::tests::separated_with_trailing ... ok [INFO] [stdout] test cursor::node::tests::slots_iter ... ok [INFO] [stdout] test cursor::trivia::tests::trivia_text ... ok [INFO] [stdout] test green::node::tests::children ... ok [INFO] [stdout] test green::node_cache::tests::cache_entry_size ... ok [INFO] [stdout] test green::node_cache::tests::green_token_hash ... ok [INFO] [stdout] test green::token::tests::empty_text_len ... ok [INFO] [stdout] test green::tests::assert_send_sync ... ok [INFO] [stdout] test green::trivia::tests::sizes ... ok [INFO] [stdout] test syntax::tests::empty_list ... ok [INFO] [stdout] test syntax::tests::node_or_token_list ... ok [INFO] [stdout] test syntax::rewriter::tests::test_visits_each_node ... ok [INFO] [stdout] test green::token::tests::green_token_text_and_len ... ok [INFO] [stdout] test green::token::tests::sizes ... ok [INFO] [stdout] test syntax::tests::node_list ... ok [INFO] [stdout] test green::token::tests::whitespace_and_comments_text_len ... ok [INFO] [stdout] test green::node::tests::slots ... ok [INFO] [stdout] test green::tests::test_size_of ... ok [INFO] [stdout] test syntax::tests::siblings ... ok [INFO] [stdout] test syntax::tests::siblings_with_tokens ... ok [INFO] [stdout] test syntax::tests::syntax_range ... ok [INFO] [stdout] test syntax::tests::syntax_text_and_len ... ok [INFO] [stdout] test syntax::tests::syntax_trivia_pieces ... ok [INFO] [stdout] test syntax_node_text::tests::test_chars ... ok [INFO] [stdout] test tree_builder::tests::doesnt_cache_node_if_empty_slots_differ ... ok [INFO] [stdout] test tree_builder::tests::caches_identical_nodes_with_empty_slots ... ok [INFO] [stdout] test syntax_node_text::tests::test_text_equality ... ok [INFO] [stdout] test ast::tests::separated_list ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests rome_rowan [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test src/macros.rs - macros::declare_node_union (line 51) ... ignored [INFO] [stdout] test src/ast/mod.rs - ast::SyntaxKindSet::from_raw (line 46) - compile fail ... ok [INFO] [stdout] test src/syntax/node.rs - syntax::node::SyntaxNode::text (line 73) ... ok [INFO] [stdout] test src/syntax/node.rs - syntax::node::SyntaxNode::text_trimmed (line 101) ... ok [INFO] [stdout] test src/syntax/token.rs - syntax::token::SyntaxToken::leading_trivia (line 329) ... ok [INFO] [stdout] test src/syntax/token.rs - syntax::token::SyntaxToken::text (line 76) ... ok [INFO] [stdout] test src/syntax/token.rs - syntax::token::SyntaxToken::text_trimmed (line 130) ... ok [INFO] [stdout] test src/ast/mod.rs - ast::AstNode::try_cast (line 149) ... ok [INFO] [stdout] test src/syntax/node.rs - syntax::node::SyntaxNode::first_leading_trivia (line 185) ... ok [INFO] [stdout] test src/syntax/node.rs - syntax::node::SyntaxNode::last_trailing_trivia (line 217) ... ok [INFO] [stdout] test src/syntax/token.rs - syntax::token::SyntaxToken::trailing_trivia (line 353) ... ok [INFO] [stdout] test src/syntax/node.rs - syntax::node::SyntaxNode::text_trimmed_range (line 157) ... ok [INFO] [stdout] test src/ast/mod.rs - ast::AstNode::try_cast_node (line 182) ... ok [INFO] [stdout] test src/syntax/token.rs - syntax::token::SyntaxToken::token_text (line 97) ... ok [INFO] [stdout] test src/tree_builder.rs - tree_builder::TreeBuilder<'_,L,S>::wrap_with_node (line 53) ... ignored [INFO] [stdout] test src/syntax/trivia.rs - syntax::trivia::SyntaxTrivia::pieces (line 578) ... ok [INFO] [stdout] test src/syntax/trivia.rs - syntax::trivia::SyntaxTriviaPiece::is_whitespace (line 351) ... ok [INFO] [stdout] test src/syntax/node.rs - syntax::node::SyntaxNode::text_range (line 127) ... ok [INFO] [stdout] test src/syntax/rewriter.rs - syntax::rewriter::SyntaxRewriter (line 23) ... ok [INFO] [stdout] test src/syntax/trivia.rs - syntax::trivia::SyntaxTriviaPiece::as_newline (line 409) ... ok [INFO] [stdout] test src/syntax/trivia.rs - syntax::trivia::SyntaxTriviaPiece::as_whitespace (line 436) ... ok [INFO] [stdout] test src/syntax/trivia.rs - syntax::trivia::SyntaxTriviaPiece::as_comments (line 466) ... ok [INFO] [stdout] test src/syntax/trivia.rs - syntax::trivia::SyntaxTriviaPiece::is_comments (line 376) ... ok [INFO] [stdout] test src/macros.rs - macros::match_ast (line 7) ... ok [INFO] [stdout] test src/tree_builder.rs - tree_builder::TreeBuilder<'_,L,S>::checkpoint (line 139) ... ok [INFO] [stdout] test src/syntax/trivia.rs - syntax::trivia::SyntaxTriviaPiece::text_len (line 277) ... ok [INFO] [stdout] test src/syntax/trivia.rs - syntax::trivia::SyntaxTriviaPiece::text (line 240) ... ok [INFO] [stdout] test src/syntax/trivia.rs - syntax::trivia::SyntaxTriviaPiece::text_range (line 302) ... ok [INFO] [stdout] test src/syntax/trivia.rs - syntax::trivia::SyntaxTriviaPiece::is_newline (line 326) ... ok [INFO] [stdout] test src/syntax/trivia.rs - syntax::trivia::chain_trivia_pieces (line 682) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 1.72s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eae110f1b3e86b0653490a34ed2a4995b4014fa7abc90882ff9524135787c4ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eae110f1b3e86b0653490a34ed2a4995b4014fa7abc90882ff9524135787c4ef", kill_on_drop: false }` [INFO] [stdout] eae110f1b3e86b0653490a34ed2a4995b4014fa7abc90882ff9524135787c4ef