[INFO] fetching crate unrust 0.1.6... [INFO] testing unrust-0.1.6 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate unrust 0.1.6 into /workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate unrust 0.1.6 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bevy_winit v0.11.3 [INFO] [stderr] Downloaded bevy_utils_proc_macros v0.11.3 [INFO] [stderr] Downloaded unrust-proc-macro v0.1.6 [INFO] [stderr] Downloaded bevy_window v0.11.3 [INFO] [stderr] Downloaded bevy_utils v0.11.3 [INFO] [stderr] Downloaded bevy_internal v0.11.3 [INFO] [stderr] Downloaded unrust-inbuilt v0.1.6 [INFO] [stderr] Downloaded khronos-egl v4.1.0 [INFO] [stderr] Downloaded unrust-codegen v0.1.6 [INFO] [stderr] Downloaded gpu-alloc-types v0.2.0 [INFO] [stderr] Downloaded bevy_encase_derive v0.11.3 [INFO] [stderr] Downloaded range-alloc v0.1.4 [INFO] [stderr] Downloaded d3d12 v0.6.0 [INFO] [stderr] Downloaded encase_derive_impl v0.6.1 [INFO] [stderr] Downloaded bevy_diagnostic v0.11.3 [INFO] [stderr] Downloaded radsort v0.1.1 [INFO] [stderr] Downloaded notify v6.1.1 [INFO] [stderr] Downloaded typewit v1.14.2 [INFO] [stderr] Downloaded naga_oil v0.8.2 [INFO] [stderr] Downloaded gpu-allocator v0.22.0 [INFO] [stderr] Downloaded accesskit_windows v0.14.3 [INFO] [stderr] Downloaded glow v0.12.3 [INFO] [stderr] Downloaded bevy_mikktspace v0.11.3 [INFO] [stderr] Downloaded wgpu v0.16.3 [INFO] [stderr] Downloaded bevy_render v0.11.3 [INFO] [stderr] Downloaded bevy_render_macros v0.11.3 [INFO] [stderr] Downloaded const_panic v0.2.15 [INFO] [stderr] Downloaded wgpu-core v0.16.1 [INFO] [stderr] Downloaded wgpu-hal v0.16.2 [INFO] [stderr] Downloaded bevy v0.11.3 [INFO] [stderr] Downloaded bevy_ecs v0.11.3 [INFO] [stderr] Downloaded encase v0.6.1 [INFO] [stderr] Downloaded const_soft_float v0.1.4 [INFO] [stderr] Downloaded wgpu-types v0.16.1 [INFO] [stderr] Downloaded accesskit_consumer v0.15.2 [INFO] [stderr] Downloaded accesskit v0.11.2 [INFO] [stderr] Downloaded bevy_reflect v0.11.3 [INFO] [stderr] Downloaded bevy_asset v0.11.3 [INFO] [stderr] Downloaded constgebra v0.1.4 [INFO] [stderr] Downloaded naga v0.12.3 [INFO] [stderr] Downloaded hexasphere v9.1.0 [INFO] [stderr] Downloaded gpu-alloc v0.5.4 [INFO] [stderr] Downloaded com-rs v0.2.1 [INFO] [stderr] Downloaded hassle-rs v0.10.0 [INFO] [stderr] Downloaded pp-rs v0.2.1 [INFO] [stderr] Downloaded accesskit_winit v0.14.4 [INFO] [stderr] Downloaded bevy_core_pipeline v0.11.3 [INFO] [stderr] Downloaded bevy_app v0.11.3 [INFO] [stderr] Downloaded bevy_tasks v0.11.3 [INFO] [stderr] Downloaded bevy_input v0.11.3 [INFO] [stderr] Downloaded bevy_reflect_derive v0.11.3 [INFO] [stderr] Downloaded spirv v0.2.0+1.5.4 [INFO] [stderr] Downloaded metal v0.24.0 [INFO] [stderr] Downloaded bevy_transform v0.11.3 [INFO] [stderr] Downloaded windows-implement v0.48.0 [INFO] [stderr] Downloaded windows-interface v0.48.0 [INFO] [stderr] Downloaded tracing-wasm v0.2.1 [INFO] [stderr] Downloaded bevy_ecs_macros v0.11.3 [INFO] [stderr] Downloaded bevy_ptr v0.11.3 [INFO] [stderr] Downloaded encase_derive v0.6.1 [INFO] [stderr] Downloaded profiling-procmacros v1.0.17 [INFO] [stderr] Downloaded bevy_core v0.11.3 [INFO] [stderr] Downloaded android_log-sys v0.3.2 [INFO] [stderr] Downloaded accesskit_macos v0.9.0 [INFO] [stderr] Downloaded bevy_log v0.11.3 [INFO] [stderr] Downloaded bevy_hierarchy v0.11.3 [INFO] [stderr] Downloaded bevy_macro_utils v0.11.3 [INFO] [stderr] Downloaded bevy_time v0.11.3 [INFO] [stderr] Downloaded bevy_a11y v0.11.3 [INFO] [stderr] Downloaded bevy_math v0.11.3 [INFO] [stderr] Downloaded bevy_derive v0.11.3 [INFO] [stderr] Downloaded windows v0.44.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8c276dfcf5de56859ff01b61bcf86eaf7dee99ec1b11adc8226ac9527bc3d1b [INFO] running `Command { std: "docker" "start" "-a" "e8c276dfcf5de56859ff01b61bcf86eaf7dee99ec1b11adc8226ac9527bc3d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8c276dfcf5de56859ff01b61bcf86eaf7dee99ec1b11adc8226ac9527bc3d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8c276dfcf5de56859ff01b61bcf86eaf7dee99ec1b11adc8226ac9527bc3d1b", kill_on_drop: false }` [INFO] [stdout] e8c276dfcf5de56859ff01b61bcf86eaf7dee99ec1b11adc8226ac9527bc3d1b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a59e952740f75cf111b8997e9943c2262e9a53cc9cc5cfbe930f59cf8fc5c71a [INFO] running `Command { std: "docker" "start" "-a" "a59e952740f75cf111b8997e9943c2262e9a53cc9cc5cfbe930f59cf8fc5c71a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling getrandom v0.3.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 fastrand v1.9.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling bevy_ptr v0.11.3 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling accesskit v0.11.2 [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 matchers v0.2.0 [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 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.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_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)]` 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 38.23s [INFO] running `Command { std: "docker" "inspect" "a59e952740f75cf111b8997e9943c2262e9a53cc9cc5cfbe930f59cf8fc5c71a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a59e952740f75cf111b8997e9943c2262e9a53cc9cc5cfbe930f59cf8fc5c71a", kill_on_drop: false }` [INFO] [stdout] a59e952740f75cf111b8997e9943c2262e9a53cc9cc5cfbe930f59cf8fc5c71a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7da9af401ab80ec3edf5fb531bc0140910e786f2ed9a7946284c2678da0af55b [INFO] running `Command { std: "docker" "start" "-a" "7da9af401ab80ec3edf5fb531bc0140910e786f2ed9a7946284c2678da0af55b", 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)]` 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] [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)]` 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 `test` profile [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `Command { std: "docker" "inspect" "7da9af401ab80ec3edf5fb531bc0140910e786f2ed9a7946284c2678da0af55b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7da9af401ab80ec3edf5fb531bc0140910e786f2ed9a7946284c2678da0af55b", kill_on_drop: false }` [INFO] [stdout] 7da9af401ab80ec3edf5fb531bc0140910e786f2ed9a7946284c2678da0af55b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2db00c8a90cc39ef99af1c275dd7177e2b0db4f4938e07bc4edc8f8c7aea3603 [INFO] running `Command { std: "docker" "start" "-a" "2db00c8a90cc39ef99af1c275dd7177e2b0db4f4938e07bc4edc8f8c7aea3603", 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)]` 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)]` 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.22s [INFO] [stderr] Running unittests unrust.rs (/opt/rustwide/target/debug/deps/unrust-484fc6ca13b93cdf) [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" "2db00c8a90cc39ef99af1c275dd7177e2b0db4f4938e07bc4edc8f8c7aea3603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2db00c8a90cc39ef99af1c275dd7177e2b0db4f4938e07bc4edc8f8c7aea3603", kill_on_drop: false }` [INFO] [stdout] 2db00c8a90cc39ef99af1c275dd7177e2b0db4f4938e07bc4edc8f8c7aea3603