[INFO] fetching crate unrust 0.1.6... [INFO] checking unrust-0.1.6 against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] extracting crate unrust 0.1.6 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate unrust 0.1.6 on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unrust 0.1.6 [INFO] finished tweaking crates.io crate unrust 0.1.6 [INFO] tweaked toml for crates.io crate unrust 0.1.6 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 302 packages to latest compatible versions [INFO] [stderr] Adding bevy v0.11.3 (available: v0.16.1) [INFO] [stderr] Adding block-sys v0.1.0-beta.1 (available: v0.1.0-beta.2) [INFO] [stderr] Adding block2 v0.2.0-alpha.6 (available: v0.2.0) [INFO] [stderr] Adding objc-sys v0.2.0-beta.2 (available: v0.2.0-beta.3) [INFO] [stderr] Adding objc2 v0.3.0-beta.3.patch-leaks.3 (available: v0.3.0-beta.5) [INFO] [stderr] Adding objc2-encode v2.0.0-pre.2 (available: v2.0.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding wasm-bindgen-futures v0.4.45 (available: v0.4.50) [INFO] [stderr] Adding web-sys v0.3.72 (available: v0.3.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unrust-proc-macro v0.1.6 [INFO] [stderr] Downloaded unrust-codegen v0.1.6 [INFO] [stderr] Downloaded unrust-inbuilt v0.1.6 [INFO] [stderr] Downloaded genco-macros v0.17.10 [INFO] [stderr] Downloaded genco v0.17.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d1440b993c93629631844c418fb3740332a10923b37ca03a35470f5ac702ded [INFO] running `Command { std: "docker" "start" "-a" "8d1440b993c93629631844c418fb3740332a10923b37ca03a35470f5ac702ded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d1440b993c93629631844c418fb3740332a10923b37ca03a35470f5ac702ded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d1440b993c93629631844c418fb3740332a10923b37ca03a35470f5ac702ded", kill_on_drop: false }` [INFO] [stdout] 8d1440b993c93629631844c418fb3740332a10923b37ca03a35470f5ac702ded [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b185ab6c7777614b7878029da97a0e26a59a8c9a0c8f24624936817f43628b38 [INFO] running `Command { std: "docker" "start" "-a" "b185ab6c7777614b7878029da97a0e26a59a8c9a0c8f24624936817f43628b38", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling bevy_ptr v0.11.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bevy_tasks v0.11.3 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling genco-macros v0.17.10 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling accesskit v0.11.2 [INFO] [stderr] Compiling bevy_macro_utils v0.11.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.11.3 [INFO] [stderr] Compiling bevy_ecs_macros v0.11.3 [INFO] [stderr] Compiling bevy_derive v0.11.3 [INFO] [stderr] Compiling unrust-proc-macro v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking glam v0.24.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling genco v0.17.10 [INFO] [stderr] Checking bevy_utils v0.11.3 [INFO] [stderr] Compiling bevy_reflect_derive v0.11.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking tracing-error v0.2.1 [INFO] [stderr] Checking bevy_math v0.11.3 [INFO] [stderr] Checking bevy_reflect v0.11.3 [INFO] [stderr] Checking bevy_ecs v0.11.3 [INFO] [stderr] Checking bevy_app v0.11.3 [INFO] [stderr] Checking bevy_log v0.11.3 [INFO] [stderr] Checking bevy_core v0.11.3 [INFO] [stderr] Checking bevy_time v0.11.3 [INFO] [stderr] Checking bevy_input v0.11.3 [INFO] [stderr] Checking bevy_a11y v0.11.3 [INFO] [stderr] Checking bevy_hierarchy v0.11.3 [INFO] [stderr] Checking bevy_diagnostic v0.11.3 [INFO] [stderr] Checking bevy_transform v0.11.3 [INFO] [stderr] Checking bevy_asset v0.11.3 [INFO] [stderr] Checking bevy_window v0.11.3 [INFO] [stderr] Checking bevy_internal v0.11.3 [INFO] [stderr] Checking bevy v0.11.3 [INFO] [stderr] Checking unrust-inbuilt v0.1.6 [INFO] [stderr] Checking unrust-codegen v0.1.6 [INFO] [stderr] Compiling unrust v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `PrefabComponent` is never constructed [INFO] [stdout] --> unity.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PrefabComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> unrust.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | if let Some(game) = &GAMEPLUGIN { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 74 | if let Some(game) = &raw const GAMEPLUGIN { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> unrust.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | if let Some(game) = &GAMEPLUGIN { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 88 | if let Some(game) = &raw const GAMEPLUGIN { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> unrust.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(game) = &GAMEPLUGIN { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(game) = &raw const GAMEPLUGIN { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> logger.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(val) = &RELOAD { [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(val) = &raw const RELOAD { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrefabComponent` is never constructed [INFO] [stdout] --> unity.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PrefabComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> unrust.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | if let Some(game) = &GAMEPLUGIN { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 74 | if let Some(game) = &raw const GAMEPLUGIN { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> unrust.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | if let Some(game) = &GAMEPLUGIN { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 88 | if let Some(game) = &raw const GAMEPLUGIN { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> unrust.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(game) = &GAMEPLUGIN { [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(game) = &raw const GAMEPLUGIN { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> logger.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(val) = &RELOAD { [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 50 | if let Some(val) = &raw const RELOAD { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.63s [INFO] running `Command { std: "docker" "inspect" "b185ab6c7777614b7878029da97a0e26a59a8c9a0c8f24624936817f43628b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b185ab6c7777614b7878029da97a0e26a59a8c9a0c8f24624936817f43628b38", kill_on_drop: false }` [INFO] [stdout] b185ab6c7777614b7878029da97a0e26a59a8c9a0c8f24624936817f43628b38