Skip to content

Add bevy

Add bevy #28

Triggered via pull request March 4, 2024 01:04
@berkusberkus
synchronize #5
add-bevy
Status Failure
Total duration 3m 52s
Artifacts

codecov.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

26 errors and 9 warnings
failed to resolve: use of undeclared type `Materials`: src/support/brender/actor.rs#L102
error[E0433]: failed to resolve: use of undeclared type `Materials` --> src/support/brender/actor.rs:102:38 | 102 | actor.material = Materials::find(material.identifier); | ^^^^^^^^^ use of undeclared type `Materials`
failed to resolve: use of undeclared type `Models`: src/support/brender/actor.rs#L93
error[E0433]: failed to resolve: use of undeclared type `Models` --> src/support/brender/actor.rs:93:35 | 93 | actor.model = Models::find(model.identifier); | ^^^^^^ use of undeclared type `Models`
struct `Model` is private: src/support/car.rs#L14
error[E0603]: struct `Model` is private --> src/support/car.rs:14:20 | 14 | model::Model, | ^^^^^ private struct | note: the struct `Model` is defined here --> src/support/brender/model.rs:15:1 | 15 | struct Model { | ^^^^^^^^^^^^
failed to resolve: use of undeclared type `Mesh`: src/support/mesh.rs#L35
error[E0433]: failed to resolve: use of undeclared type `Mesh` --> src/support/mesh.rs:35:21 | 35 | let m = Mesh::from_stream(&mut file); | ^^^^ use of undeclared type `Mesh` | help: consider importing this struct | 9 + use bevy::render::mesh::Mesh; |
cannot find type `Mesh` in this scope: src/support/mesh.rs#L33
error[E0412]: cannot find type `Mesh` in this scope --> src/support/mesh.rs:33:32 | 33 | let mut meshes = Vec::<Mesh>::new(); | ^^^^ not found in this scope | help: consider importing this struct | 9 + use bevy::render::mesh::Mesh; |
cannot find type `Mesh` in this scope: src/support/mesh.rs#L30
error[E0412]: cannot find type `Mesh` in this scope --> src/support/mesh.rs:30:44 | 30 | pub fn load_many(fname: String) -> Vec<Mesh> { | ^^^^ not found in this scope | help: consider importing this struct | 9 + use bevy::render::mesh::Mesh; |
cannot find type `Mesh` in this scope: src/support/mesh.rs#L27
error[E0412]: cannot find type `Mesh` in this scope --> src/support/mesh.rs:27:6 | 27 | impl Mesh { | ^^^^ not found in this scope | help: consider importing this struct | 9 + use bevy::render::mesh::Mesh; |
cannot find value `face_material_indices` in this scope: src/support/brender/resource.rs#L454
error[E0425]: cannot find value `face_material_indices` in this scope --> src/support/brender/resource.rs:454:13 | 441 | pub face_material_indices: Vec<u16>, | ----------------------------------- a field by that name exists in `Self` ... 454 | face_material_indices, | ^^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `face_material_indexes`
cannot find value `Model` in module `stack`: src/support/brender/model.rs#L82
error[E0425]: cannot find value `Model` in module `stack` --> src/support/brender/model.rs:82:26 | 82 | stack.pop(stack::Model)? | ^^^^^ | ::: src/support/brender/resource.rs:1142:5 | 1142 | pub const MODEL: u32 = 8; | ------------------------- similarly named constant `MODEL` defined here | help: a constant with a similar name exists | 82 | stack.pop(stack::MODEL)? | ~~~~~ help: consider importing one of these items | 1 + use crate::support::brender::resource::Chunk::Model; | 1 + use crate::support::brender::resource::ResourceTag::Model; | help: if you import `Model`, refer to it directly | 82 - stack.pop(stack::Model)? 82 + stack.pop(Model)? |
cannot find struct, variant or union type `VerticesChunk` in this scope: src/support/brender/model.rs#L56
error[E0422]: cannot find struct, variant or union type `VerticesChunk` in this scope --> src/support/brender/model.rs:56:33 | 56 | Chunk::Vertices(VerticesChunk { vertices }) => { | ^^^^^^^^^^^^^ | ::: src/support/brender/resource.rs:373:1 | 373 | pub struct VertexUvChunk { | ------------------------ similarly named struct `VertexUvChunk` defined here | help: a struct with a similar name exists | 56 | Chunk::Vertices(VertexUvChunk { vertices }) => { | ~~~~~~~~~~~~~ help: consider importing this struct | 1 + use crate::support::brender::resource::VerticesChunk; |
cannot find type `Vec3f` in this scope: src/support/brender/model.rs#L20
error[E0412]: cannot find type `Vec3f` in this scope --> src/support/brender/model.rs:20:12 | 20 | pivot: Vec3f, | ^^^^^ not found in this scope | note: struct `crate::support::brender::resource::Vec3f` exists but is inaccessible --> src/support/brender/resource.rs:300:1 | 300 | struct Vec3f { | ^^^^^^^^^^^^ not accessible
cannot find value `actor` in this scope: src/support/brender/actor.rs#L167
error[E0425]: cannot find value `actor` in this scope --> src/support/brender/actor.rs:167:9 | 167 | actor | ^^^^^ not found in this scope
cannot find value `plane` in this scope: src/support/brender/actor.rs#L160
error[E0425]: cannot find value `plane` in this scope --> src/support/brender/actor.rs:160:46 | 160 | stack.push(stack::PLANE, plane); | ^^^^^ not found in this scope
cannot find value `camera` in this scope: src/support/brender/actor.rs#L157
error[E0425]: cannot find value `camera` in this scope --> src/support/brender/actor.rs:157:47 | 157 | stack.push(stack::CAMERA, camera); | ^^^^^^ not found in this scope
cannot find value `light` in this scope: src/support/brender/actor.rs#L154
error[E0425]: cannot find value `light` in this scope --> src/support/brender/actor.rs:154:46 | 154 | stack.push(stack::LIGHT, light); | ^^^^^ not found in this scope
cannot find value `bounds` in this scope: src/support/brender/actor.rs#L151
error[E0425]: cannot find value `bounds` in this scope --> src/support/brender/actor.rs:151:47 | 151 | stack.push(stack::BOUNDS, bounds); | ^^^^^^ not found in this scope
cannot find value `transform` in this scope: src/support/brender/actor.rs#L147
error[E0425]: cannot find value `transform` in this scope --> src/support/brender/actor.rs:147:50 | 55 | transform: (), | ------------- a field by that name exists in `Self` ... 147 | stack.push(stack::TRANSFORM, transform); | ^^^^^^^^^
cannot find value `transform` in this scope: src/support/brender/actor.rs#L144
error[E0425]: cannot find value `transform` in this scope --> src/support/brender/actor.rs:144:50 | 55 | transform: (), | ------------- a field by that name exists in `Self` ... 144 | stack.push(stack::TRANSFORM, transform); | ^^^^^^^^^
cannot find value `transform` in this scope: src/support/brender/actor.rs#L141
error[E0425]: cannot find value `transform` in this scope --> src/support/brender/actor.rs:141:50 | 55 | transform: (), | ------------- a field by that name exists in `Self` ... 141 | stack.push(stack::TRANSFORM, transform); | ^^^^^^^^^
cannot find value `transform` in this scope: src/support/brender/actor.rs#L138
error[E0425]: cannot find value `transform` in this scope --> src/support/brender/actor.rs:138:50 | 55 | transform: (), | ------------- a field by that name exists in `Self` ... 138 | stack.push(stack::TRANSFORM, transform); | ^^^^^^^^^
cannot find value `transform` in this scope: src/support/brender/actor.rs#L135
error[E0425]: cannot find value `transform` in this scope --> src/support/brender/actor.rs:135:50 | 55 | transform: (), | ------------- a field by that name exists in `Self` ... 135 | stack.push(stack::TRANSFORM, transform); | ^^^^^^^^^
cannot find value `transform` in this scope: src/support/brender/actor.rs#L132
error[E0425]: cannot find value `transform` in this scope --> src/support/brender/actor.rs:132:50 | 55 | transform: (), | ------------- a field by that name exists in `Self` ... 132 | stack.push(stack::TRANSFORM, transform); | ^^^^^^^^^
cannot find value `transform` in this scope: src/support/brender/actor.rs#L129
error[E0425]: cannot find value `transform` in this scope --> src/support/brender/actor.rs:129:50 | 55 | transform: (), | ------------- a field by that name exists in `Self` ... 129 | stack.push(stack::TRANSFORM, transform); | ^^^^^^^^^
cannot find value `actor` in this scope: src/support/brender/actor.rs#L106
error[E0425]: cannot find value `actor` in this scope --> src/support/brender/actor.rs:106:21 | 106 | actor.data = ActorData::Light(light); | ^^^^^ | help: the binding `actor` is available in a different scope in the same function --> src/support/brender/actor.rs:101:29 | 101 | let mut actor = stack.top(stack::ACTOR); | ^^^^^
unresolved import `super::pixelmap`: src/support/texture.rs#L10
error[E0432]: unresolved import `super::pixelmap` --> src/support/texture.rs:10:12 | 10 | super::pixelmap::PixelMap, | ^^^^^^^^ could not find `pixelmap` in `super`
Test
Process completed with exit code 1.
unused import: `brender::resource::FromStream`: src/support/texture.rs#L11
warning: unused import: `brender::resource::FromStream` --> src/support/texture.rs:11:28 | 11 | crate::support::{self, brender::resource::FromStream, Error}, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused imports: `BufRead`, `Vertex`, `anyhow::Result`, `byteorder::ReadBytesExt`: src/support/mesh.rs#L10
warning: unused imports: `BufRead`, `Vertex`, `anyhow::Result`, `byteorder::ReadBytesExt` --> src/support/mesh.rs:10:51 | 10 | crate::support::{brender::resource::VertexUV, Vertex}, | ^^^^^^ 11 | anyhow::Result, | ^^^^^^^^^^^^^^ 12 | byteorder::ReadBytesExt, | ^^^^^^^^^^^^^^^^^^^^^^^ ... 16 | io::{BufRead, BufReader}, | ^^^^^^^
unused import: `id_tree::*`: src/support/brender/actor.rs#L16
warning: unused import: `id_tree::*` --> src/support/brender/actor.rs:16:5 | 16 | id_tree::*, | ^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/