makepad-draw-2d 0.3.0

Makepad 2d drawing API
Build #653273 2022-10-20T17:41:07.419688+00:00
# rustc version
rustc 1.66.0-nightly (4b8f43199 2022-10-19)# docs.rs version
docsrs 0.6.0 (5eb7632 2022-10-16)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/makepad-draw-2d-0.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/makepad-draw-2d-0.3.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20221019-1.66.0-nightly-4b8f43199\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d561f9c7ec0b8f60bb11a8589eeea52e41fc20b146b57e34c42368d2cb8d2b60
[INFO] running `Command { std: "docker" "start" "-a" "d561f9c7ec0b8f60bb11a8589eeea52e41fc20b146b57e34c42368d2cb8d2b60", kill_on_drop: false }`
[INFO] [stderr]     Checking makepad-platform v0.3.0
[INFO] [stderr] error[E0432]: unresolved import `crate::os::CxOs`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/makepad-platform-0.3.0/src/cx.rs:23:13
[INFO] [stderr]    |
[INFO] [stderr] 23 |             CxOs,
[INFO] [stderr]    |             ^^^^ no `CxOs` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::os::CxOsDrawShader`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/makepad-platform-0.3.0/src/cx_draw_shaders.rs:19:13
[INFO] [stderr]    |
[INFO] [stderr] 19 |             CxOsDrawShader,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^ no `CxOsDrawShader` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::os::CxOsPass`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/makepad-platform-0.3.0/src/pass.rs:20:13
[INFO] [stderr]    |
[INFO] [stderr] 20 |             CxOsPass,
[INFO] [stderr]    |             ^^^^^^^^ no `CxOsPass` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::os::CxOsTexture`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/makepad-platform-0.3.0/src/texture.rs:17:14
[INFO] [stderr]    |
[INFO] [stderr] 17 |         os::{CxOsTexture},
[INFO] [stderr]    |              ^^^^^^^^^^^ no `CxOsTexture` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `crate::os::CxOsGeometry`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/makepad-platform-0.3.0/src/geometry.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 |         os::CxOsGeometry,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^ no `CxOsGeometry` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `crate::os::CxOsDrawCall`, `crate::os::CxOsView`
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/makepad-platform-0.3.0/src/draw_list.rs:9:13
[INFO] [stderr]    |
[INFO] [stderr] 9  |             CxOsDrawCall,
[INFO] [stderr]    |             ^^^^^^^^^^^^ no `CxOsDrawCall` in `os`
[INFO] [stderr] 10 |             CxOsView,
[INFO] [stderr]    |             ^^^^^^^^ no `CxOsView` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/makepad-platform-0.3.0/src/cx_draw_shaders.rs:69:5
[INFO] [stderr]    |
[INFO] [stderr] 66 | #[derive(Default)]
[INFO] [stderr]    |          ------- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr] 69 |     pub platform: Vec<CxOsDrawShader>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stderr]    |
[INFO] [stderr]    = note: cannot satisfy `_: Default`
[INFO] [stderr]    = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `post_signal` found for struct `Cx` in the current scope
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/makepad-platform-0.3.0/src/thread.rs:74:13
[INFO] [stderr]    |
[INFO] [stderr] 74 |         Cx::post_signal(self.signal);
[INFO] [stderr]    |             ^^^^^^^^^^^ function or associated item not found in `Cx`
[INFO] [stderr]    |
[INFO] [stderr]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/makepad-platform-0.3.0/src/cx.rs:68:1
[INFO] [stderr]    |
[INFO] [stderr] 68 | pub struct Cx {
[INFO] [stderr]    | ------------- function or associated item `post_signal` not found for this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr] note: `cx_api::CxOsApi` defines an item `post_signal`, perhaps you need to implement it
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/makepad-platform-0.3.0/src/cx_api.rs:42:1
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub trait CxOsApi {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `spawn_thread` found for mutable reference `&mut Cx` in the current scope
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/makepad-platform-0.3.0/src/thread.rs:149:16
[INFO] [stderr]     |
[INFO] [stderr] 149 |             cx.spawn_thread(move || loop {
[INFO] [stderr]     |                ^^^^^^^^^^^^ method not found in `&mut Cx`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr] note: `cx_api::CxOsApi` defines an item `spawn_thread`, perhaps you need to implement it
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/makepad-platform-0.3.0/src/cx_api.rs:42:1
[INFO] [stderr]     |
[INFO] [stderr] 42  | pub trait CxOsApi {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/makepad-platform-0.3.0/src/texture.rs:173:5
[INFO] [stderr]     |
[INFO] [stderr] 167 | #[derive(Default)]
[INFO] [stderr]     |          ------- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr] 173 |     pub os: CxOsTexture
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stderr]     |
[INFO] [stderr]     = note: cannot satisfy `_: Default`
[INFO] [stderr]     = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/makepad-platform-0.3.0/src/geometry.rs:141:5
[INFO] [stderr]     |
[INFO] [stderr] 136 | #[derive(Default)]
[INFO] [stderr]     |          ------- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr] 141 |     pub os: CxOsGeometry
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stderr]     |
[INFO] [stderr]     = note: cannot satisfy `_: Default`
[INFO] [stderr]     = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0283]: type annotations needed
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/makepad-platform-0.3.0/src/draw_list.rs:280:5
[INFO] [stderr]     |
[INFO] [stderr] 259 | #[derive(Default)]
[INFO] [stderr]     |          ------- in this derive macro expansion
[INFO] [stderr] ...
[INFO] [stderr] 280 |     pub platform: CxOsView,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stderr]     |
[INFO] [stderr]     = note: cannot satisfy `_: Default`
[INFO] [stderr]     = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0283, E0432, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0283`.
[INFO] [stderr] error: could not compile `makepad-platform` due to 12 previous errors
[INFO] running `Command { std: "docker" "inspect" "d561f9c7ec0b8f60bb11a8589eeea52e41fc20b146b57e34c42368d2cb8d2b60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d561f9c7ec0b8f60bb11a8589eeea52e41fc20b146b57e34c42368d2cb8d2b60", kill_on_drop: false }`
[INFO] [stdout] d561f9c7ec0b8f60bb11a8589eeea52e41fc20b146b57e34c42368d2cb8d2b60