[INFO] fetching crate memonitor-sys 0.2.4... [INFO] checking memonitor-sys-0.2.4 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate memonitor-sys 0.2.4 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate memonitor-sys 0.2.4 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate memonitor-sys 0.2.4 [INFO] finished tweaking crates.io crate memonitor-sys 0.2.4 [INFO] tweaked toml for crates.io crate memonitor-sys 0.2.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.69.5 (available: v0.70.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6afbdbfc99433f6ebdd77ccad70b3f8fa19582635b1e16e453c036f7ca57d76 [INFO] running `Command { std: "docker" "start" "-a" "b6afbdbfc99433f6ebdd77ccad70b3f8fa19582635b1e16e453c036f7ca57d76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6afbdbfc99433f6ebdd77ccad70b3f8fa19582635b1e16e453c036f7ca57d76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6afbdbfc99433f6ebdd77ccad70b3f8fa19582635b1e16e453c036f7ca57d76", kill_on_drop: false }` [INFO] [stdout] b6afbdbfc99433f6ebdd77ccad70b3f8fa19582635b1e16e453c036f7ca57d76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0baebaece20cc7c0eb7887bbdf9d416f917081d026763ddfbcac827995441114 [INFO] running `Command { std: "docker" "start" "-a" "0baebaece20cc7c0eb7887bbdf9d416f917081d026763ddfbcac827995441114", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling memonitor-sys v0.2.4 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/cuda_bindings.rs (7 fixes) [INFO] [stderr] Fixed /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/vk_bindings.rs (7 fixes) [INFO] [stderr] Fixed /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/log_bindings.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.68s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling memonitor-sys v0.2.4 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/log_bindings.rs:3:751 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " Set the global event logging function.\n\n @param fn_ptr A pointer to the event logging function. If `NULL`, the global logger is unset."] # [link_name = "\u{1}log_set"] pub fn set (fn_ptr : LogFn) ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/cuda_bindings.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern "C" { # [doc = " Initializes the global context.\n\n Must be called before all other functions. Must be called again after `cu_term` is called before using other\n functions.\n\n @return 0 on success, otherwise the error code."] # [link_name = "\u{1}cu_init"] pub fn init () -> :: core :: ffi :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/cuda_bindings.rs:3:314 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Destroys the global context and frees all allocations.\n\n It isn't necessary to call this before program exit, but it is if the context will be created again."] # [link_name = "\u{1}cu_term"] pub fn term () ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/cuda_bindings.rs:3:1964 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Creates a list containing all physical devices found within the Vulkan context.\n\n @return The list of devices found."] # [link_name = "\u{1}cu_list_devices"] pub fn list_devices () -> Devices ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/cuda_bindings.rs:3:2186 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Destroys a `cu_Devices` object and frees its used memory\n\n @param devices the object to destroy"] # [link_name = "\u{1}cu_destroy_devices"] pub fn destroy_devices (devices : * mut Devices) ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/cuda_bindings.rs:3:3606 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Acquire a reference to a device from within a `cu_Devices` object.\n\n @param devices a `cu_Devices` handle from which to get the reference\n @param index the index of the device within `cu_Devices`\n @return A reference to the device at the index. If any of the arguments is invalid/null, return an null reference."] # [link_name = "\u{1}cu_get_device"] pub fn get_device (devices : * mut Devices , index : u32) -> DeviceRef ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/cuda_bindings.rs:3:5943 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the properties of the provided device.\n\n @param device the device to get properties from\n @return The device properties."] # [link_name = "\u{1}cu_device_properties"] pub fn device_properties (device : DeviceRef) -> DeviceProperties ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/cuda_bindings.rs:3:7478 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Query local memory information of the provided device at this point in time.\n\n @param device the device to be queried\n @return The device's memory information."] # [link_name = "\u{1}cu_device_memory_properties"] pub fn device_memory_properties (device : DeviceRef) -> DeviceMemoryProperties ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/vk_bindings.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern "C" { # [doc = " Initializes the global context.\n\n Must be called before all other functions. Must be called again after `vk_term` is called before using other\n functions.\n\n @return 0 on success, otherwise the error code."] # [link_name = "\u{1}vk_init"] pub fn init () -> :: core :: ffi :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/vk_bindings.rs:3:314 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Destroys the global context and frees all allocations.\n\n It isn't necessary to call this before program exit, but it is if the context will be created again."] # [link_name = "\u{1}vk_term"] pub fn term () ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/vk_bindings.rs:3:1937 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Creates a list containing all physical devices found within the Vulkan context.\n\n @return The list of devices found."] # [link_name = "\u{1}vk_list_devices"] pub fn list_devices () -> Devices ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/vk_bindings.rs:3:2159 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Destroys a `vk_Devices` object and frees its used memory\n\n @param devices the object to destroy"] # [link_name = "\u{1}vk_destroy_devices"] pub fn destroy_devices (devices : * mut Devices) ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/vk_bindings.rs:3:3548 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Acquire a reference to a device from within a `vk_Devices` object.\n\n @param devices a `vk_Devices` handle from which to get the reference\n @param index the index of the device within `vk_Devices`\n @return A reference to the device at the index. If any of the arguments is invalid/null, return an null reference."] # [link_name = "\u{1}vk_get_device"] pub fn get_device (devices : * mut Devices , index : u32) -> DeviceRef ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/vk_bindings.rs:3:5990 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the properties of the provided device.\n\n @param device the device to get properties from\n @return The device properties."] # [link_name = "\u{1}vk_device_properties"] pub fn device_properties (device : DeviceRef) -> DeviceProperties ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/vk_bindings.rs:3:7556 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Query local memory information of the provided device at this point in time.\n\n @param device the device to be queried\n @return The device's memory information."] # [link_name = "\u{1}vk_device_memory_properties"] pub fn device_memory_properties (device : DeviceRef) -> DeviceMemoryProperties ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/log_bindings.rs:3:751 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " Set the global event logging function.\n\n @param fn_ptr A pointer to the event logging function. If `NULL`, the global logger is unset."] # [link_name = "\u{1}log_set"] pub fn set (fn_ptr : LogFn) ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/cuda_bindings.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern "C" { # [doc = " Initializes the global context.\n\n Must be called before all other functions. Must be called again after `cu_term` is called before using other\n functions.\n\n @return 0 on success, otherwise the error code."] # [link_name = "\u{1}cu_init"] pub fn init () -> :: core :: ffi :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/cuda_bindings.rs:3:314 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Destroys the global context and frees all allocations.\n\n It isn't necessary to call this before program exit, but it is if the context will be created again."] # [link_name = "\u{1}cu_term"] pub fn term () ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/cuda_bindings.rs:3:1964 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Creates a list containing all physical devices found within the Vulkan context.\n\n @return The list of devices found."] # [link_name = "\u{1}cu_list_devices"] pub fn list_devices () -> Devices ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/cuda_bindings.rs:3:2186 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Destroys a `cu_Devices` object and frees its used memory\n\n @param devices the object to destroy"] # [link_name = "\u{1}cu_destroy_devices"] pub fn destroy_devices (devices : * mut Devices) ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/cuda_bindings.rs:3:3606 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Acquire a reference to a device from within a `cu_Devices` object.\n\n @param devices a `cu_Devices` handle from which to get the reference\n @param index the index of the device within `cu_Devices`\n @return A reference to the device at the index. If any of the arguments is invalid/null, return an null reference."] # [link_name = "\u{1}cu_get_device"] pub fn get_device (devices : * mut Devices , index : u32) -> DeviceRef ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/cuda_bindings.rs:3:5943 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the properties of the provided device.\n\n @param device the device to get properties from\n @return The device properties."] # [link_name = "\u{1}cu_device_properties"] pub fn device_properties (device : DeviceRef) -> DeviceProperties ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/cuda_bindings.rs:3:7478 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Query local memory information of the provided device at this point in time.\n\n @param device the device to be queried\n @return The device's memory information."] # [link_name = "\u{1}cu_device_memory_properties"] pub fn device_memory_properties (device : DeviceRef) -> DeviceMemoryProperties ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/vk_bindings.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern "C" { # [doc = " Initializes the global context.\n\n Must be called before all other functions. Must be called again after `vk_term` is called before using other\n functions.\n\n @return 0 on success, otherwise the error code."] # [link_name = "\u{1}vk_init"] pub fn init () -> :: core :: ffi :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/vk_bindings.rs:3:314 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Destroys the global context and frees all allocations.\n\n It isn't necessary to call this before program exit, but it is if the context will be created again."] # [link_name = "\u{1}vk_term"] pub fn term () ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/vk_bindings.rs:3:1937 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Creates a list containing all physical devices found within the Vulkan context.\n\n @return The list of devices found."] # [link_name = "\u{1}vk_list_devices"] pub fn list_devices () -> Devices ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/vk_bindings.rs:3:2159 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Destroys a `vk_Devices` object and frees its used memory\n\n @param devices the object to destroy"] # [link_name = "\u{1}vk_destroy_devices"] pub fn destroy_devices (devices : * mut Devices) ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/vk_bindings.rs:3:3548 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Acquire a reference to a device from within a `vk_Devices` object.\n\n @param devices a `vk_Devices` handle from which to get the reference\n @param index the index of the device within `vk_Devices`\n @return A reference to the device at the index. If any of the arguments is invalid/null, return an null reference."] # [link_name = "\u{1}vk_get_device"] pub fn get_device (devices : * mut Devices , index : u32) -> DeviceRef ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/vk_bindings.rs:3:5990 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Get the properties of the provided device.\n\n @param device the device to get properties from\n @return The device properties."] # [link_name = "\u{1}vk_device_properties"] pub fn device_properties (device : DeviceRef) -> DeviceProperties ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/memonitor-sys-59018800056d2efd/out/vk_bindings.rs:3:7556 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Query local memory information of the provided device at this point in time.\n\n @param device the device to be queried\n @return The device's memory information."] # [link_name = "\u{1}vk_device_memory_properties"] pub fn device_memory_properties (device : DeviceRef) -> DeviceMemoryProperties ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `memonitor-sys` (lib) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `memonitor-sys` (lib test) due to 15 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0baebaece20cc7c0eb7887bbdf9d416f917081d026763ddfbcac827995441114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0baebaece20cc7c0eb7887bbdf9d416f917081d026763ddfbcac827995441114", kill_on_drop: false }` [INFO] [stdout] 0baebaece20cc7c0eb7887bbdf9d416f917081d026763ddfbcac827995441114