[INFO] fetching crate biome_rowan 0.3.1... [INFO] checking biome_rowan-0.3.1 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate biome_rowan 0.3.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate biome_rowan 0.3.1 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate biome_rowan 0.3.1 [INFO] finished tweaking crates.io crate biome_rowan 0.3.1 [INFO] tweaked toml for crates.io crate biome_rowan 0.3.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "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" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded biome_text_edit v0.3.1 [INFO] [stderr] Downloaded quickcheck_macros v1.0.0 [INFO] [stderr] Downloaded biome_text_size v0.3.1 [INFO] [stderr] Downloaded countme v3.0.1 [INFO] [stderr] Downloaded bstr v0.2.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71d4ef9a87d4cf4eb983fb878eecfc2b14a89c1de9edaadb15bc19d809f6d0cd [INFO] running `Command { std: "docker" "start" "-a" "71d4ef9a87d4cf4eb983fb878eecfc2b14a89c1de9edaadb15bc19d809f6d0cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71d4ef9a87d4cf4eb983fb878eecfc2b14a89c1de9edaadb15bc19d809f6d0cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71d4ef9a87d4cf4eb983fb878eecfc2b14a89c1de9edaadb15bc19d809f6d0cd", kill_on_drop: false }` [INFO] [stdout] 71d4ef9a87d4cf4eb983fb878eecfc2b14a89c1de9edaadb15bc19d809f6d0cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2cdcb33ab415c485f192bc6b74593166aadd30d08cd5851efe5757aeb1ffaf1 [INFO] running `Command { std: "docker" "start" "-a" "f2cdcb33ab415c485f192bc6b74593166aadd30d08cd5851efe5757aeb1ffaf1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking iai v0.1.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking biome_text_size v0.3.1 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking biome_text_edit v0.3.1 [INFO] [stderr] Checking biome_rowan v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/green/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/green/node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GreenTrivia` is imported redundantly [INFO] [stdout] --> src/green.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | use super::*; [INFO] [stdout] | -------- the item `GreenTrivia` is already imported here [INFO] [stdout] 28 | use crate::green::trivia::GreenTrivia; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/green/node.rs:235:35 [INFO] [stdout] | [INFO] [stdout] 234 | let repr: &Repr = &self.ptr; [INFO] [stdout] | -------- backing allocation comes from here [INFO] [stdout] 235 | let repr: &ReprThin = &*(repr as *const Repr as *const ReprThin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: casting from `ThinArc` (8 bytes) to `HeaderSlice` (16 bytes) [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/green/token.rs:195:35 [INFO] [stdout] | [INFO] [stdout] 194 | let repr: &Repr = &self.ptr; [INFO] [stdout] | -------- backing allocation comes from here [INFO] [stdout] 195 | let repr: &ReprThin = &*(repr as *const Repr as *const ReprThin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: casting from `ThinArc` (8 bytes) to `HeaderSlice` (32 bytes) [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 | 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 | std::ptr::eq(this.ptr(), other.ptr()) [INFO] [stdout] | +++++++++++++ ~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `biome_rowan` (lib) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/green/node.rs:235:35 [INFO] [stdout] | [INFO] [stdout] 234 | let repr: &Repr = &self.ptr; [INFO] [stdout] | -------- backing allocation comes from here [INFO] [stdout] 235 | let repr: &ReprThin = &*(repr as *const Repr as *const ReprThin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: casting from `ThinArc` (8 bytes) to `HeaderSlice` (16 bytes) [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting references to a bigger memory layout than the backing allocation is undefined behavior, even if the reference is unused [INFO] [stdout] --> src/green/token.rs:195:35 [INFO] [stdout] | [INFO] [stdout] 194 | let repr: &Repr = &self.ptr; [INFO] [stdout] | -------- backing allocation comes from here [INFO] [stdout] 195 | let repr: &ReprThin = &*(repr as *const Repr as *const ReprThin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: casting from `ThinArc` (8 bytes) to `HeaderSlice` (32 bytes) [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 | 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 | std::ptr::eq(this.ptr(), other.ptr()) [INFO] [stdout] | +++++++++++++ ~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `biome_rowan` (lib test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f2cdcb33ab415c485f192bc6b74593166aadd30d08cd5851efe5757aeb1ffaf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2cdcb33ab415c485f192bc6b74593166aadd30d08cd5851efe5757aeb1ffaf1", kill_on_drop: false }` [INFO] [stdout] f2cdcb33ab415c485f192bc6b74593166aadd30d08cd5851efe5757aeb1ffaf1