[INFO] fetching crate unrust 0.1.6... [INFO] testing unrust-0.1.6 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate unrust 0.1.6 into /workspace/builds/worker-6-tc2/source [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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate unrust 0.1.6 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 307 packages to latest compatible versions [INFO] [stderr] Adding bevy v0.11.3 (available: v0.17.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.17) [INFO] [stderr] Adding wasm-bindgen-futures v0.4.45 (available: v0.4.54) [INFO] [stderr] Adding web-sys v0.3.72 (available: v0.3.81) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7e6d1170e17b86b6dffcf3e455ed8cc44630aaf8f923766e6755171fda1adf3 [INFO] running `Command { std: "docker" "start" "-a" "a7e6d1170e17b86b6dffcf3e455ed8cc44630aaf8f923766e6755171fda1adf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7e6d1170e17b86b6dffcf3e455ed8cc44630aaf8f923766e6755171fda1adf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7e6d1170e17b86b6dffcf3e455ed8cc44630aaf8f923766e6755171fda1adf3", kill_on_drop: false }` [INFO] [stdout] a7e6d1170e17b86b6dffcf3e455ed8cc44630aaf8f923766e6755171fda1adf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28a5eb80a3cccfe0a4dd4c9631516486f113874428bc8677d6fed616ca4403f9 [INFO] running `Command { std: "docker" "start" "-a" "28a5eb80a3cccfe0a4dd4c9631516486f113874428bc8677d6fed616ca4403f9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling bevy_ptr v0.11.3 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling genco-macros v0.17.10 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling accesskit v0.11.2 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling bevy_tasks v0.11.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling bevy_macro_utils v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [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 thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling glam v0.24.2 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling genco v0.17.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling bevy_reflect_derive v0.11.3 [INFO] [stderr] Compiling bevy_utils v0.11.3 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling bevy_math v0.11.3 [INFO] [stderr] Compiling bevy_reflect v0.11.3 [INFO] [stderr] Compiling bevy_ecs v0.11.3 [INFO] [stderr] Compiling bevy_app v0.11.3 [INFO] [stderr] Compiling bevy_core v0.11.3 [INFO] [stderr] Compiling bevy_log v0.11.3 [INFO] [stderr] Compiling bevy_time v0.11.3 [INFO] [stderr] Compiling bevy_input v0.11.3 [INFO] [stderr] Compiling bevy_a11y v0.11.3 [INFO] [stderr] Compiling bevy_hierarchy v0.11.3 [INFO] [stderr] Compiling bevy_diagnostic v0.11.3 [INFO] [stderr] Compiling bevy_asset v0.11.3 [INFO] [stderr] Compiling bevy_transform v0.11.3 [INFO] [stderr] Compiling bevy_window v0.11.3 [INFO] [stderr] Compiling bevy_internal v0.11.3 [INFO] [stderr] Compiling bevy v0.11.3 [INFO] [stderr] Compiling unrust-inbuilt v0.1.6 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 56.29s [INFO] running `Command { std: "docker" "inspect" "28a5eb80a3cccfe0a4dd4c9631516486f113874428bc8677d6fed616ca4403f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28a5eb80a3cccfe0a4dd4c9631516486f113874428bc8677d6fed616ca4403f9", kill_on_drop: false }` [INFO] [stdout] 28a5eb80a3cccfe0a4dd4c9631516486f113874428bc8677d6fed616ca4403f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c86af63e67ecc800413ec39ddfcbf7e50856066d21bef850c68783cbfb35a04 [INFO] running `Command { std: "docker" "start" "-a" "8c86af63e67ecc800413ec39ddfcbf7e50856066d21bef850c68783cbfb35a04", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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] [stderr] Compiling unrust v0.1.6 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2024_compatibility)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "8c86af63e67ecc800413ec39ddfcbf7e50856066d21bef850c68783cbfb35a04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c86af63e67ecc800413ec39ddfcbf7e50856066d21bef850c68783cbfb35a04", kill_on_drop: false }` [INFO] [stdout] 8c86af63e67ecc800413ec39ddfcbf7e50856066d21bef850c68783cbfb35a04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 623c63ff83be905ec5f66a45bd0c897856ad645f58ff150b458467ddd10ae283 [INFO] running `Command { std: "docker" "start" "-a" "623c63ff83be905ec5f66a45bd0c897856ad645f58ff150b458467ddd10ae283", kill_on_drop: false }` [INFO] [stderr] warning: struct `PrefabComponent` is never constructed [INFO] [stderr] --> unity.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct PrefabComponent { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> unrust.rs:74:29 [INFO] [stderr] | [INFO] [stderr] 74 | if let Some(game) = &GAMEPLUGIN { [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 74 | if let Some(game) = &raw const GAMEPLUGIN { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> unrust.rs:88:29 [INFO] [stderr] | [INFO] [stderr] 88 | if let Some(game) = &GAMEPLUGIN { [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 88 | if let Some(game) = &raw const GAMEPLUGIN { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> unrust.rs:113:29 [INFO] [stderr] | [INFO] [stderr] 113 | if let Some(game) = &GAMEPLUGIN { [INFO] [stderr] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 113 | if let Some(game) = &raw const GAMEPLUGIN { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> logger.rs:50:28 [INFO] [stderr] | [INFO] [stderr] 50 | if let Some(val) = &RELOAD { [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 50 | if let Some(val) = &raw const RELOAD { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: `unrust` (lib) generated 5 warnings [INFO] [stderr] warning: `unrust` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests unrust.rs (/opt/rustwide/target/debug/deps/unrust-484fc6ca13b93cdf) [INFO] [stdout] [INFO] [stderr] Doc-tests unrust [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "623c63ff83be905ec5f66a45bd0c897856ad645f58ff150b458467ddd10ae283", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "623c63ff83be905ec5f66a45bd0c897856ad645f58ff150b458467ddd10ae283", kill_on_drop: false }` [INFO] [stdout] 623c63ff83be905ec5f66a45bd0c897856ad645f58ff150b458467ddd10ae283