[INFO] fetching crate unrust 0.1.6... [INFO] testing unrust-0.1.6 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate unrust 0.1.6 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate unrust 0.1.6 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 304 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.16) [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2517ad2c00de1e029c4da1644dd4ec3da800e3246f5b55dcd3b463b03ccab9e7 [INFO] running `Command { std: "docker" "start" "-a" "2517ad2c00de1e029c4da1644dd4ec3da800e3246f5b55dcd3b463b03ccab9e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2517ad2c00de1e029c4da1644dd4ec3da800e3246f5b55dcd3b463b03ccab9e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2517ad2c00de1e029c4da1644dd4ec3da800e3246f5b55dcd3b463b03ccab9e7", kill_on_drop: false }` [INFO] [stdout] 2517ad2c00de1e029c4da1644dd4ec3da800e3246f5b55dcd3b463b03ccab9e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 104d69c05b6e858f8b4bafc46f15cdf5f7834bdca6bb7f24e44f5c7bf492dceb [INFO] running `Command { std: "docker" "start" "-a" "104d69c05b6e858f8b4bafc46f15cdf5f7834bdca6bb7f24e44f5c7bf492dceb", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling bevy_ptr v0.11.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling bevy_tasks v0.11.3 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling accesskit v0.11.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling bevy_macro_utils v0.11.3 [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 matchers v0.2.0 [INFO] [stderr] Compiling genco-macros v0.17.10 [INFO] [stderr] Compiling unrust-proc-macro v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling uuid v1.18.0 [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_log v0.11.3 [INFO] [stderr] Compiling bevy_core 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_transform v0.11.3 [INFO] [stderr] Compiling bevy_asset 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 1m 47s [INFO] running `Command { std: "docker" "inspect" "104d69c05b6e858f8b4bafc46f15cdf5f7834bdca6bb7f24e44f5c7bf492dceb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "104d69c05b6e858f8b4bafc46f15cdf5f7834bdca6bb7f24e44f5c7bf492dceb", kill_on_drop: false }` [INFO] [stdout] 104d69c05b6e858f8b4bafc46f15cdf5f7834bdca6bb7f24e44f5c7bf492dceb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e28f08304bf7106376e2aa41f56720cdf80b07352227d93b74c56803fc79acfd [INFO] running `Command { std: "docker" "start" "-a" "e28f08304bf7106376e2aa41f56720cdf80b07352227d93b74c56803fc79acfd", 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] [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 2.12s [INFO] running `Command { std: "docker" "inspect" "e28f08304bf7106376e2aa41f56720cdf80b07352227d93b74c56803fc79acfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e28f08304bf7106376e2aa41f56720cdf80b07352227d93b74c56803fc79acfd", kill_on_drop: false }` [INFO] [stdout] e28f08304bf7106376e2aa41f56720cdf80b07352227d93b74c56803fc79acfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0648fc3b4d7817560f915ef15650d34ce4bc7c9ef461f0000d78f62400bdae08 [INFO] running `Command { std: "docker" "start" "-a" "0648fc3b4d7817560f915ef15650d34ce4bc7c9ef461f0000d78f62400bdae08", 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.30s [INFO] [stderr] Running unittests unrust.rs (/opt/rustwide/target/debug/deps/unrust-e76196d853afb487) [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] [stderr] Doc-tests unrust [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" "0648fc3b4d7817560f915ef15650d34ce4bc7c9ef461f0000d78f62400bdae08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0648fc3b4d7817560f915ef15650d34ce4bc7c9ef461f0000d78f62400bdae08", kill_on_drop: false }` [INFO] [stdout] 0648fc3b4d7817560f915ef15650d34ce4bc7c9ef461f0000d78f62400bdae08