Open
Description
root@codespaces-6a5539:/workspaces/Rust-CUDA# env | grep OPTIX
OPTIX_ROOT=/tmp/NVIDIA-OptiX-SDK-9.0.0-linux64-x86_64
OPTIX_ROOT_DIR=/tmp/NVIDIA-OptiX-SDK-9.0.0-linux64-x86_64
error[E0433]: failed to resolve: could not find `OptixAccelRelocationInfo` in `optix_sys`
--> crates/optix/src/acceleration.rs:224:36
|
224 | let mut inner = optix_sys::OptixAccelRelocationInfo::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^
| |
| could not find `OptixAccelRelocationInfo` in `optix_sys`
| help: a struct with a similar name exists: `OptixRelocationInfo`
error[E0412]: cannot find type `OptixAccelRelocationInfo` in crate `optix_sys`
--> crates/optix/src/acceleration.rs:831:23
|
831 | inner: optix_sys::OptixAccelRelocationInfo,
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `OptixRelocationInfo`
|
::: /workspaces/Rust-CUDA/target/debug/build/optix-sys-56b0be133357631c/out/optix_sys.rs:1982:1
|
1982 | pub struct OptixRelocationInfo {
| ------------------------------ similarly named struct `OptixRelocationInfo` defined here
error[E0425]: cannot find value `OPTIX_COMPILE_DEBUG_LEVEL_LINEINFO` in module `optix_sys::OptixCompileDebugLevel`
--> crates/optix/src/pipeline.rs:146:51
|
146 | LineInfo = optix_sys::OptixCompileDebugLevel::OPTIX_COMPILE_DEBUG_LEVEL_LINEINFO as i32,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `OPTIX_COMPILE_DEBUG_LEVEL_MINIMAL`
|
::: /workspaces/Rust-CUDA/target/debug/build/optix-sys-56b0be133357631c/out/optix_sys.rs:3591:5
|
3591 | pub const OPTIX_COMPILE_DEBUG_LEVEL_MINIMAL: Type = 9041;
| ------------------------------------------------- similarly named constant `OPTIX_COMPILE_DEBUG_LEVEL_MINIMAL` defined here
error[E0425]: cannot find value `OPTIX_EXCEPTION_FLAG_DEBUG` in module `optix_sys::OptixExceptionFlags`
--> crates/optix/src/pipeline.rs:196:55
|
196 | const DEBUG = optix_sys::OptixExceptionFlags::OPTIX_EXCEPTION_FLAG_DEBUG as i32;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `OPTIX_EXCEPTION_FLAG_NONE`
|
::: /workspaces/Rust-CUDA/target/debug/build/optix-sys-56b0be133357631c/out/optix_sys.rs:4053:5
|
4053 | pub const OPTIX_EXCEPTION_FLAG_NONE: Type = 0;
| ----------------------------------------- similarly named constant `OPTIX_EXCEPTION_FLAG_NONE` defined here
error[E0425]: cannot find function `optixModuleCreateFromPTX` in crate `optix_sys`
--> crates/optix/src/pipeline.rs:320:25
|
320 | optix_call!(optixModuleCreateFromPTX(
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `optixModuleCreate`
|
::: /workspaces/Rust-CUDA/target/debug/build/optix-sys-56b0be133357631c/out/optix_sys.rs:4470:5
|
4470 | / pub fn optixModuleCreate(
4471 | | context: OptixDeviceContext,
4472 | | moduleCompileOptions: *const OptixModuleCompileOptions,
4473 | | pipelineCompileOptions: *const OptixPipelineCompileOptions,
... |
4478 | | module: *mut OptixModule,
4479 | | ) -> OptixResult;
| |_____________________- similarly named function `optixModuleCreate` defined here
Compiling maybe-rayon v0.1.1
Compiling wayland-egl v0.29.5
Compiling proc-macro-error v1.0.4
Compiling nix v0.22.3
Compiling glfw-sys v3.3.5
error[E0063]: missing field `endcapFlags` in initializer of `OptixBuildInputCurveArray`
--> crates/optix/src/acceleration.rs:1085:55
|
1085 | *v.__bindgen_anon_1.curveArray.as_mut() = optix_sys::OptixBuildInputCurveArray {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `endcapFlags`
error[E0063]: missing fields `displacementMicromap` and `opacityMicromap` in initializer of `OptixBuildInputTriangleArray`
--> crates/optix/src/acceleration.rs:1306:58
|
1306 | *v.__bindgen_anon_1.triangleArray.as_mut() = optix_sys::OptixBuildInputTriangleArray {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `displacementMicromap` and `opacityMicromap`
error[E0063]: missing fields `displacementMicromap` and `opacityMicromap` in initializer of `OptixBuildInputTriangleArray`
--> crates/optix/src/acceleration.rs:1392:58
|
1392 | *v.__bindgen_anon_1.triangleArray.as_mut() = optix_sys::OptixBuildInputTriangleArray {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `displacementMicromap` and `opacityMicromap`
Compiling num-derive v0.4.2
error[E0599]: no variant or associated item named `OPTIX_INSTANCE_FLAG_DISABLE_TRANSFORM` found for enum `OptixInstanceFlags` in the current scope
--> crates/optix/src/acceleration.rs:1566:66
|
1566 | const DISABLE_TRANSFORM = optix_sys::OptixInstanceFlags::OPTIX_INSTANCE_FLAG_DISABLE_TRANSFORM as i32;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `OptixInstanceFlags`
|
help: there is a variant with a similar name
|
1566 - const DISABLE_TRANSFORM = optix_sys::OptixInstanceFlags::OPTIX_INSTANCE_FLAG_DISABLE_TRANSFORM as i32;
1566 + const DISABLE_TRANSFORM = optix_sys::OptixInstanceFlags::OPTIX_INSTANCE_FLAG_DISABLE_ANYHIT as i32;
|
error[E0063]: missing field `instanceStride` in initializer of `OptixBuildInputInstanceArray`
--> crates/optix/src/acceleration.rs:1656:58
|
1656 | *v.__bindgen_anon_1.instanceArray.as_mut() = optix_sys::OptixBuildInputInstanceArray {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `instanceStride`
error[E0063]: missing field `instanceStride` in initializer of `OptixBuildInputInstanceArray`
--> crates/optix/src/acceleration.rs:1692:58
|
1692 | *v.__bindgen_anon_1.instanceArray.as_mut() = optix_sys::OptixBuildInputInstanceArray {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `instanceStride`
error[E0063]: missing field `denoiseAlpha` in initializer of `OptixDenoiserOptions`
--> crates/optix/src/denoiser.rs:73:9
|
73 | optix_sys::OptixDenoiserOptions {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `denoiseAlpha`
error[E0063]: missing field `type_` in initializer of `OptixDenoiserLayer`
--> crates/optix/src/denoiser.rs:378:21
|
378 | let layer = optix_sys::OptixDenoiserLayer {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `type_`
error[E0560]: struct `OptixDenoiserParams` has no field named `denoiseAlpha`
--> crates/optix/src/denoiser.rs:426:13
|
426 | denoiseAlpha: self.denoise_alpha as u32,
| ^^^^^^^^^^^^ `OptixDenoiserParams` does not have this field
|
= note: available fields are: `temporalModeUsePreviousLayers`
error[E0063]: missing fields `flowTrustworthiness`, `outputInternalGuideLayer` and `previousOutputInternalGuideLayer` in initializer of `OptixDenoiserGuideLayer`
--> crates/optix/src/denoiser.rs:461:9
|
461 | optix_sys::OptixDenoiserGuideLayer {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `flowTrustworthiness`, `outputInternalGuideLayer` and `previousOutputInternalGuideLayer`
error[E0599]: no associated item named `OPTIX_ERROR_INVALID_PTX` found for struct `OptixResult` in the current scope
--> crates/optix/src/error.rs:73:51
|
73 | InvalidPtx => optix_sys::OptixResult::OPTIX_ERROR_INVALID_PTX,
| ^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `OptixResult`
|
help: there is an associated constant `OPTIX_ERROR_INVALID_INPUT` with a similar name
|
73 - InvalidPtx => optix_sys::OptixResult::OPTIX_ERROR_INVALID_PTX,
73 + InvalidPtx => optix_sys::OptixResult::OPTIX_ERROR_INVALID_INPUT,
|
error[E0599]: no associated item named `OPTIX_ERROR_ACCEL_NOT_COMPATIBLE` found for struct `OptixResult` in the current scope
--> crates/optix/src/error.rs:91:59
|
91 | AccelNotCompatible => optix_sys::OptixResult::OPTIX_ERROR_ACCEL_NOT_COMPATIBLE,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `OptixResult`
|
help: there is an associated constant `OPTIX_ERROR_NOT_COMPATIBLE` with a similar name
|
91 - AccelNotCompatible => optix_sys::OptixResult::OPTIX_ERROR_ACCEL_NOT_COMPATIBLE,
91 + AccelNotCompatible => optix_sys::OptixResult::OPTIX_ERROR_NOT_COMPATIBLE,
|
error[E0599]: no associated item named `OPTIX_ERROR_INVALID_PTX` found for struct `OptixResult` in the current scope
--> crates/optix/src/error.rs:168:37
|
168 | optix_sys::OptixResult::OPTIX_ERROR_INVALID_PTX => InvalidPtx,
| ^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `OptixResult`
|
help: there is an associated constant `OPTIX_ERROR_INVALID_INPUT` with a similar name
|
168 - optix_sys::OptixResult::OPTIX_ERROR_INVALID_PTX => InvalidPtx,
168 + optix_sys::OptixResult::OPTIX_ERROR_INVALID_INPUT => InvalidPtx,
|
Compiling arg_enum_proc_macro v0.3.4
error[E0599]: no associated item named `OPTIX_ERROR_ACCEL_NOT_COMPATIBLE` found for struct `OptixResult` in the current scope
--> crates/optix/src/error.rs:186:37
|
186 | optix_sys::OptixResult::OPTIX_ERROR_ACCEL_NOT_COMPATIBLE => AccelNotCompatible,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `OptixResult`
|
help: there is an associated constant `OPTIX_ERROR_NOT_COMPATIBLE` with a similar name
|
186 - optix_sys::OptixResult::OPTIX_ERROR_ACCEL_NOT_COMPATIBLE => AccelNotCompatible,
186 + optix_sys::OptixResult::OPTIX_ERROR_NOT_COMPATIBLE => AccelNotCompatible,
|
error[E0560]: struct `OptixPipelineLinkOptions` has no field named `debugLevel`
--> crates/optix/src/pipeline.rs:23:13
|
23 | debugLevel: o.debug_level as _,
| ^^^^^^^^^^ `OptixPipelineLinkOptions` does not have this field
|
= note: all struct fields are already assigned
error[E0063]: missing fields `numPayloadTypes` and `payloadTypes` in initializer of `OptixModuleCompileOptions`
--> crates/optix/src/pipeline.rs:162:17
|
162 | optix_sys::OptixModuleCompileOptions {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `numPayloadTypes` and `payloadTypes`
error[E0560]: struct `OptixPipelineCompileOptions` has no field named `reserved`
--> crates/optix/src/pipeline.rs:264:13
|
264 | reserved: 0,
| ^^^^^^^^ `OptixPipelineCompileOptions` does not have this field
|
= note: available fields are: `allowOpacityMicromaps`, `allowClusteredGeometry`
error[E0560]: struct `OptixPipelineCompileOptions` has no field named `reserved2`
--> crates/optix/src/pipeline.rs:266:13
|
266 | reserved2: 0,
| ^^^^^^^^^ `OptixPipelineCompileOptions` does not have this field
|
= note: available fields are: `allowOpacityMicromaps`, `allowClusteredGeometry`
error[E0063]: missing fields `buildFlags` and `curveEndcapFlags` in initializer of `OptixBuiltinISOptions`
--> crates/optix/src/pipeline.rs:356:26
|
356 | let is_options = optix_sys::OptixBuiltinISOptions {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `buildFlags` and `curveEndcapFlags`
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> crates/optix/src/lib.rs:115:78
|
115 | <optix_sys::OptixResult as $crate::error::ToResult>::to_result(optix_sys::$name($($param),*))
| ^^^^^^^^^^^^^^^^------------- argument #3 of type `*mut OptixPipeline_t` is missing
|
::: crates/optix/src/pipeline.rs:502:16
|
502 | Ok(optix_call!(optixProgramGroupGetStackSize(
| ________________-
503 | | self.raw,
504 | | &mut stack_sizes as *mut _ as *mut _
505 | | ))
| |______________- in this macro invocation
|
note: function defined here
--> /workspaces/Rust-CUDA/target/debug/build/optix-sys-56b0be133357631c/out/optix_sys.rs:4527:12
|
4527 | pub fn optixProgramGroupGetStackSize(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `optix_call` (in Nightly builds, run with -Z macro-backtrace for more info)
help: provide the argument
|
115 - <optix_sys::OptixResult as $crate::error::ToResult>::to_result(optix_sys::$name($($param),*))
115 + <optix_sys::OptixResult as $crate::error::ToResult>::to_result(optix_sys::optix_sys::$name(self.raw, &mut stack_sizes as *mut _ as *mut _, /* *mut OptixPipeline_t */))
|
error[E0560]: struct `OptixProgramGroupOptions` has no field named `reserved`
--> crates/optix/src/pipeline.rs:527:13
|
527 | reserved: 0,
| ^^^^^^^^ `OptixProgramGroupOptions` does not have this field
|
= note: available fields are: `payloadType`
error[E0560]: struct `OptixProgramGroupOptions` has no field named `reserved`
--> crates/optix/src/pipeline.rs:573:13
|
573 | reserved: 0,
| ^^^^^^^^ `OptixProgramGroupOptions` does not have this field
|
= note: available fields are: `payloadType`
Metadata
Metadata
Assignees
Labels
No labels