[INFO] cloning repository https://github.com/embik/nightshift [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/embik/nightshift" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fembik%2Fnightshift", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fembik%2Fnightshift'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d803dce5043faa410c1b73e1a5b3455965fe89b [INFO] checking embik/nightshift against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fembik%2Fnightshift" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/embik/nightshift [INFO] finished tweaking git repo https://github.com/embik/nightshift [INFO] tweaked toml for git repo https://github.com/embik/nightshift written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/embik/nightshift on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/embik/nightshift already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddc725b42586df7786fa33398e3be9a9f9656d8ff29a04757bc40cb4623f9b07 [INFO] running `Command { std: "docker" "start" "-a" "ddc725b42586df7786fa33398e3be9a9f9656d8ff29a04757bc40cb4623f9b07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddc725b42586df7786fa33398e3be9a9f9656d8ff29a04757bc40cb4623f9b07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddc725b42586df7786fa33398e3be9a9f9656d8ff29a04757bc40cb4623f9b07", kill_on_drop: false }` [INFO] [stdout] ddc725b42586df7786fa33398e3be9a9f9656d8ff29a04757bc40cb4623f9b07 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b44918864edc7f7ba712241790e609251adc8c43caa9bbadaa61d2b9e60e7712 [INFO] running `Command { std: "docker" "start" "-a" "b44918864edc7f7ba712241790e609251adc8c43caa9bbadaa61d2b9e60e7712", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking token_store v0.1.2 [INFO] [stderr] Checking libc v0.2.24 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking dlib v0.4.0 [INFO] [stderr] Checking wayland-sys v0.12.4 [INFO] [stderr] Checking wayland-scanner v0.12.4 [INFO] [stderr] Compiling wayland-client v0.12.4 [INFO] [stderr] Compiling nightshift v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `GammaControl` [INFO] [stdout] --> src/wayland/gamma_control.rs:1:68 [INFO] [stdout] | [INFO] [stdout] 1 | pub use wayland::gamma_control::generated::client::gamma_control::{GammaControl, Implementation}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_api.rs:46:56 [INFO] [stdout] | [INFO] [stdout] 46 | type UserData = (*mut EventQueueHandle, Option>, Arc<(AtomicBool, AtomicPtr<()>)>); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | type UserData = (*mut EventQueueHandle, Option>, Arc<(AtomicBool, AtomicPtr<()>)>); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_api.rs:163:56 [INFO] [stdout] | [INFO] [stdout] 163 | type UserData = (*mut EventQueueHandle, Option>, Arc<(AtomicBool, AtomicPtr<()>)>); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 | type UserData = (*mut EventQueueHandle, Option>, Arc<(AtomicBool, AtomicPtr<()>)>); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GammaControl` [INFO] [stdout] --> src/wayland/gamma_control.rs:1:68 [INFO] [stdout] | [INFO] [stdout] 1 | pub use wayland::gamma_control::generated::client::gamma_control::{GammaControl, Implementation}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_api.rs:46:56 [INFO] [stdout] | [INFO] [stdout] 46 | type UserData = (*mut EventQueueHandle, Option>, Arc<(AtomicBool, AtomicPtr<()>)>); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | type UserData = (*mut EventQueueHandle, Option>, Arc<(AtomicBool, AtomicPtr<()>)>); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_api.rs:163:56 [INFO] [stdout] | [INFO] [stdout] 163 | type UserData = (*mut EventQueueHandle, Option>, Arc<(AtomicBool, AtomicPtr<()>)>); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 | type UserData = (*mut EventQueueHandle, Option>, Arc<(AtomicBool, AtomicPtr<()>)>); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { &gamma_control_interface as *const wl_interface }, [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] 45 | unsafe { &raw const gamma_control_interface as *const wl_interface }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe { &wl_output_interface as *const wl_interface }, [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] 46 | unsafe { &raw const wl_output_interface as *const wl_interface }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | unsafe { &gamma_control_interface as *const wl_interface }, [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] 45 | unsafe { &raw const gamma_control_interface as *const wl_interface }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:49:132 [INFO] [stdout] | [INFO] [stdout] 49 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [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] 49 | wl_message { name: b"destroy\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:50:144 [INFO] [stdout] | [INFO] [stdout] 50 | ...char, types: unsafe { &gamma_control_manager_requests_get_gamma_control_types as *const _ } }, [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 | wl_message { name: b"get_gamma_control\0" as *const u8 as *const c_char, signature: b"no\0" as *const u8 as *const c_char, types: unsafe { &raw const gamma_control_manager_requests_get_gamma_control_types as *const _ } }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | requests: unsafe { &gamma_control_manager_requests as *const _ }, [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] 57 | requests: unsafe { &raw const gamma_control_manager_requests as *const _ }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:65:132 [INFO] [stdout] | [INFO] [stdout] 65 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [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] 65 | wl_message { name: b"destroy\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe { &wl_output_interface as *const wl_interface }, [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] 46 | unsafe { &raw const wl_output_interface as *const wl_interface }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:66:137 [INFO] [stdout] | [INFO] [stdout] 66 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [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] 66 | wl_message { name: b"set_gamma\0" as *const u8 as *const c_char, signature: b"aaa\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:49:132 [INFO] [stdout] | [INFO] [stdout] 49 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [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] 49 | wl_message { name: b"destroy\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:50:144 [INFO] [stdout] | [INFO] [stdout] 50 | ...char, types: unsafe { &gamma_control_manager_requests_get_gamma_control_types as *const _ } }, [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 | wl_message { name: b"get_gamma_control\0" as *const u8 as *const c_char, signature: b"no\0" as *const u8 as *const c_char, types: unsafe { &raw const gamma_control_manager_requests_get_gamma_control_types as *const _ } }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | requests: unsafe { &gamma_control_manager_requests as *const _ }, [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] 57 | requests: unsafe { &raw const gamma_control_manager_requests as *const _ }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:65:132 [INFO] [stdout] | [INFO] [stdout] 65 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [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] 65 | wl_message { name: b"destroy\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:66:137 [INFO] [stdout] | [INFO] [stdout] 66 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [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] 66 | wl_message { name: b"set_gamma\0" as *const u8 as *const c_char, signature: b"aaa\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:67:136 [INFO] [stdout] | [INFO] [stdout] 67 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [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] 67 | wl_message { name: b"reset_gamma\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:70:136 [INFO] [stdout] | [INFO] [stdout] 70 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [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] 70 | wl_message { name: b"gamma_size\0" as *const u8 as *const c_char, signature: b"u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | requests: unsafe { &gamma_control_requests as *const _ }, [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] 77 | requests: unsafe { &raw const gamma_control_requests as *const _ }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:67:136 [INFO] [stdout] | [INFO] [stdout] 67 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [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] 67 | wl_message { name: b"reset_gamma\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | events: unsafe { &gamma_control_events as *const _ }, [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] 79 | events: unsafe { &raw const gamma_control_events as *const _ }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:70:136 [INFO] [stdout] | [INFO] [stdout] 70 | ...*const u8 as *const c_char, types: unsafe { &types_null as *const _ } }, [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] 70 | wl_message { name: b"gamma_size\0" as *const u8 as *const c_char, signature: b"u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | requests: unsafe { &gamma_control_requests as *const _ }, [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] 77 | requests: unsafe { &raw const gamma_control_requests as *const _ }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_interface.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | events: unsafe { &gamma_control_events as *const _ }, [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] 79 | events: unsafe { &raw const gamma_control_events as *const _ }, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_api.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | fn interface_ptr() -> *const wl_interface { unsafe { &gamma_control_manager_interface } } [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] 80 | fn interface_ptr() -> *const wl_interface { unsafe { &raw const gamma_control_manager_interface } } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_api.rs:141:152 [INFO] [stdout] | [INFO] [stdout] 141 | ...A_CONTROL_MANAGER_GET_GAMMA_CONTROL, &gamma_control_interface, ptr::null_mut::(), output.ptr()) }; [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] 141 | let ptr = unsafe { ffi_dispatch!(WAYLAND_CLIENT_HANDLE, wl_proxy_marshal_constructor, self.ptr(), GAMMA_CONTROL_MANAGER_GET_GAMMA_CONTROL, &raw const gamma_control_interface, ptr::null_mut::(), output.ptr()) }; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_api.rs:197:62 [INFO] [stdout] | [INFO] [stdout] 197 | fn interface_ptr() -> *const wl_interface { unsafe { &gamma_control_interface } } [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] 197 | fn interface_ptr() -> *const wl_interface { unsafe { &raw const gamma_control_interface } } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_api.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | fn interface_ptr() -> *const wl_interface { unsafe { &gamma_control_manager_interface } } [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] 80 | fn interface_ptr() -> *const wl_interface { unsafe { &raw const gamma_control_manager_interface } } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_api.rs:141:152 [INFO] [stdout] | [INFO] [stdout] 141 | ...A_CONTROL_MANAGER_GET_GAMMA_CONTROL, &gamma_control_interface, ptr::null_mut::(), output.ptr()) }; [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] 141 | let ptr = unsafe { ffi_dispatch!(WAYLAND_CLIENT_HANDLE, wl_proxy_marshal_constructor, self.ptr(), GAMMA_CONTROL_MANAGER_GET_GAMMA_CONTROL, &raw const gamma_control_interface, ptr::null_mut::(), output.ptr()) }; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> /opt/rustwide/target/debug/build/nightshift-f8d2a9175d0962ed/out/gamma_control_api.rs:197:62 [INFO] [stdout] | [INFO] [stdout] 197 | fn interface_ptr() -> *const wl_interface { unsafe { &gamma_control_interface } } [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] 197 | fn interface_ptr() -> *const wl_interface { unsafe { &raw const gamma_control_interface } } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.86s [INFO] running `Command { std: "docker" "inspect" "b44918864edc7f7ba712241790e609251adc8c43caa9bbadaa61d2b9e60e7712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b44918864edc7f7ba712241790e609251adc8c43caa9bbadaa61d2b9e60e7712", kill_on_drop: false }` [INFO] [stdout] b44918864edc7f7ba712241790e609251adc8c43caa9bbadaa61d2b9e60e7712