Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on cargo test #4

Open
rforcen opened this issue Mar 17, 2021 · 0 comments
Open

error on cargo test #4

rforcen opened this issue Mar 17, 2021 · 0 comments

Comments

@rforcen
Copy link

rforcen commented Mar 17, 2021

mac:metl-master asd$ cargo test
Updating crates.io index
Downloaded bitflags v0.7.0
Downloaded uuid v0.2.3
Downloaded serde v0.8.23
Downloaded winit v0.5.11
Downloaded cocoa v0.5.2
Downloaded core-graphics v0.4.2
Downloaded 6 crates (169.7 KB) in 1.45s
Compiling libc v0.2.89
Compiling core-foundation-sys v0.2.3
Compiling log v0.4.14
Compiling cfg-if v1.0.0
Compiling bitflags v0.9.1
Compiling core-foundation-sys v0.8.2
Compiling khronos_api v1.0.1
Compiling bitflags v1.2.1
Compiling pkg-config v0.3.19
Compiling foreign-types-shared v0.1.1
Compiling serde v0.7.15
Compiling block v0.1.6
Compiling serde v0.8.23
Compiling lazy_static v1.4.0
Compiling bitflags v0.7.0
Compiling bitflags v0.3.3
Compiling bitflags v0.5.0
Compiling lazy_static v0.2.11
Compiling xml-rs v0.6.1
Compiling foreign-types v0.3.2
Compiling log v0.3.9
Compiling malloc_buf v0.0.6
Compiling core-foundation v0.9.1
Compiling rand v0.4.6
Compiling shared_library v0.1.9
Compiling objc v0.2.7
Compiling gl_generator v0.5.5
Compiling core-foundation v0.2.3
Compiling core-graphics-types v0.1.1
Compiling core-graphics v0.22.2
Compiling rand v0.3.23
Compiling uuid v0.2.3
Compiling core-graphics v0.3.2
Compiling gleam v0.2.32
error: type __CGColorSpace is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/context.rs:86:26
|
86 | let result = CGBitmapContextCreate(ptr::null_mut(),
| ^^^^^^^^^^^^^^^^^^^^^ private type

error: type __CGColorSpace is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/context.rs:91:48
|
91 | ... space.as_concrete_TypeRef(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type

error: type __CGColorSpace is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/context.rs:149:37
|
149 | ... space: CGColorSpaceRef,
| ^^^^^^^^^^^^^^^ private type

error: type __CGDataProvider is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/font.rs:106:28
|
106 | let font_ref = CGFontCreateWithDataProvider(provider.as_concrete_TypeRef());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type

error: type __CGDataProvider is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/font.rs:106:57
|
106 | let font_ref = CGFontCreateWithDataProvider(provider.as_concrete_TypeRef());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type

error: type __CGDataProvider is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/font.rs:137:47
|
137 | fn CGFontCreateWithDataProvider(provider: CGDataProviderRef) -> CGFontRef;
| ^^^^^^^^^^^^^^^^^ private type

error: type CGSRegionObject is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:19:13
|
19 | region: ffi::CGSRegionRef,
| ^^^^^^^^^^^^^^^^^ private type

error: type CGSRegionObject is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:25:13
|
25 | ffi::CGSRegionRelease(self.region)
| ^^^^^^^^^^^^^^^^^^^^^ private type

error: type CGSRegionObject is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:25:35
|
25 | ffi::CGSRegionRelease(self.region)
| ^^^^^^^^^^^ private type

error: type CGSRegionObject is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:34:30
|
34 | let mut region = ptr::null_mut();
| ^^^^^^^^^^^^^^^ private type

error: type CGSRegionObject is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:35:21
|
35 | assert!(ffi::CGSNewRegionWithRect(rect, &mut region) == 0);
| ^^^^^^^^^^^^^^^^^^^^^^^^^ private type

error: type CGSRegionObject is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:35:53
|
35 | assert!(ffi::CGSNewRegionWithRect(rect, &mut region) == 0);
| ^^^^^^^^^^^ private type

error: type CGSRegionObject is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:37:25
|
37 | region: region,
| ^^^^^^ private type

error: type CGSRegionObject is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:45:30
|
45 | let mut region = ptr::null_mut();
| ^^^^^^^^^^^^^^^ private type

error: type CGSRegionObject is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:46:21
|
46 | assert!(ffi::CGSNewRegionWithRectList(rects.as_ptr(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type

error: type CGSRegionObject is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:48:51
|
48 | ... &mut region) == 0);
| ^^^^^^^^^^^ private type

error: type CGSRegionObject is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:50:25
|
50 | region: region,
| ^^^^^^ private type

error: type CGSRegionObject is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:81:21
|
81 | assert!(ffi::CGSSetSurfaceShape(self.context_id,
| ^^^^^^^^^^^^^^^^^^^^^^^ private type

error: type CGSRegionObject is private
--> /Users/asd/.cargo/registry/src/github.com-1ecc6299db9ec823/core-graphics-0.3.2/src/private.rs:84:45
|
84 | ... region.region) == 0)
| ^^^^^^^^^^^^^ private type

error: aborting due to 19 previous errors

error: could not compile core-graphics

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant