[INFO] fetching crate rome_rowan 0.0.1... [INFO] checking rome_rowan-0.0.1 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate rome_rowan 0.0.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate rome_rowan 0.0.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 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-7-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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rome_text_edit v0.0.1 [INFO] [stderr] Downloaded iai v0.1.1 [INFO] [stderr] Downloaded countme v3.0.1 [INFO] [stderr] Downloaded rome_text_size v0.0.1 [INFO] [stderr] Downloaded quickcheck_macros v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 53745b98f8ee1a23e819c94f1c92e310bf4ddd9cddee03e491710298faa79f32 [INFO] running `Command { std: "docker" "start" "-a" "53745b98f8ee1a23e819c94f1c92e310bf4ddd9cddee03e491710298faa79f32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53745b98f8ee1a23e819c94f1c92e310bf4ddd9cddee03e491710298faa79f32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53745b98f8ee1a23e819c94f1c92e310bf4ddd9cddee03e491710298faa79f32", kill_on_drop: false }` [INFO] [stdout] 53745b98f8ee1a23e819c94f1c92e310bf4ddd9cddee03e491710298faa79f32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a29e2d4f8f2271b92c525fdc1c1ad481ee6df5ca11f68424dd7a4129fff653f0 [INFO] running `Command { std: "docker" "start" "-a" "a29e2d4f8f2271b92c525fdc1c1ad481ee6df5ca11f68424dd7a4129fff653f0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking iai v0.1.1 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking rome_text_size v0.0.1 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking rome_text_edit v0.0.1 [INFO] [stderr] Checking rome_rowan v0.0.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] 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: 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 `rome_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; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rome_rowan` (lib test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a29e2d4f8f2271b92c525fdc1c1ad481ee6df5ca11f68424dd7a4129fff653f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a29e2d4f8f2271b92c525fdc1c1ad481ee6df5ca11f68424dd7a4129fff653f0", kill_on_drop: false }` [INFO] [stdout] a29e2d4f8f2271b92c525fdc1c1ad481ee6df5ca11f68424dd7a4129fff653f0