[INFO] updating cached repository https://github.com/dobrite/dood-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] bc82ed45a59ade3529ebf7bdea9fddcbcce85059 [INFO] testing dobrite/dood-rs against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdobrite%2Fdood-rs" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dobrite/dood-rs on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/dobrite/dood-rs [INFO] finished tweaking git repo https://github.com/dobrite/dood-rs [INFO] tweaked toml for git repo https://github.com/dobrite/dood-rs written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/dobrite/dood-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d6bf884c9c99b5fec0f68da659805db606e6a32a607c8f38a0f62e4e8873ca78 [INFO] running `"docker" "start" "-a" "d6bf884c9c99b5fec0f68da659805db606e6a32a607c8f38a0f62e4e8873ca78"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling clock_ticks v0.1.1 [INFO] [stderr] Compiling snowflake v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling quaternion v0.4.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hprof v0.1.3 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling piston3d-cam v0.4.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling png v0.16.4 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling image v0.23.4 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling pistoncore-input v0.28.1 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling piston-gfx_texture v0.41.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.68.0 [INFO] [stderr] Compiling pistoncore-window v0.45.0 [INFO] [stderr] Compiling camera_controllers v0.31.0 [INFO] [stderr] Compiling piston-ai_behavior v0.31.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.50.0 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling piston v0.50.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.64.0 [INFO] [stderr] Compiling piston_window v0.109.0 [INFO] [stderr] Compiling dood-rs v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error: no rules expected the token `flags` [INFO] [stderr] --> src/render/flags.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | flags Flags: u32 { [INFO] [stderr] | ^^^^^ no rules expected this token in macro call [INFO] [stderr] [INFO] [stderr] error[E0252]: the name `Action` is defined multiple times [INFO] [stderr] --> src/brain.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 6 | use ai_behavior::{Success, Running, Failure, Action, If, Sequence, WaitForever, While, State}; [INFO] [stderr] | ------ previous import of the type `Action` here [INFO] [stderr] ... [INFO] [stderr] 16 | use action::Action; [INFO] [stderr] | ^^^^^^^^^^^^^^ `Action` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `Action` must be defined only once in the type namespace of this module [INFO] [stderr] help: you can use `as` to change the binding name of the import [INFO] [stderr] | [INFO] [stderr] 16 | use action::Action as OtherAction; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range` [INFO] [stderr] --> src/brain.rs:55:35 [INFO] [stderr] | [INFO] [stderr] 55 | use rand::distributions::{IndependentSample, Range}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^ no `Range` in `distributions` [INFO] [stderr] | | [INFO] [stderr] | no `IndependentSample` in `distributions` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `extra` in `gfx` [INFO] [stderr] --> src/main.rs:50:10 [INFO] [stderr] | [INFO] [stderr] 50 | use gfx::extra::stream::Stream; [INFO] [stderr] | ^^^^^ could not find `extra` in `gfx` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `render` in `gfx` [INFO] [stderr] --> src/main.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | use gfx::render::mesh::ToIndexSlice; [INFO] [stderr] | ^^^^^^ could not find `render` in `gfx` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `extra` in `gfx` [INFO] [stderr] --> src/main.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | use gfx::extra::factory::FactoryExt; [INFO] [stderr] | ^^^^^ could not find `extra` in `gfx` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `gfx::device` [INFO] [stderr] --> src/main.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | use gfx::device::Factory; [INFO] [stderr] | ^^^^^^ could not find `device` in `gfx` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `gfx::PrimitiveType` [INFO] [stderr] --> src/main.rs:53:10 [INFO] [stderr] | [INFO] [stderr] 53 | use gfx::PrimitiveType::TriangleList; [INFO] [stderr] | ^^^^^^^^^^^^^ could not find `PrimitiveType` in `gfx` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `gfx::PrimitiveType` [INFO] [stderr] --> src/main.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | use gfx::PrimitiveType; [INFO] [stderr] | ^^^^^------------- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `Primitive` [INFO] [stderr] | no `PrimitiveType` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `super::flags::IN_FOV`, `super::flags::TRANSPARENT`, `super::flags::Flags` [INFO] [stderr] --> src/render/fov.rs:31:20 [INFO] [stderr] | [INFO] [stderr] 31 | use super::flags::{IN_FOV, TRANSPARENT, Flags}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^ ^^^^^ no `Flags` in `render::flags` [INFO] [stderr] | | | [INFO] [stderr] | | no `TRANSPARENT` in `render::flags` [INFO] [stderr] | no `IN_FOV` in `render::flags` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `super::flags::Flags`, `super::flags::HAS_ENTITY`, `super::flags::IN_FOV`, `super::flags::TRANSPARENT`, `super::flags::PASSABLE` [INFO] [stderr] --> src/render/scratch.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | use super::flags::{Flags, HAS_ENTITY, IN_FOV, TRANSPARENT, PASSABLE}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ no `PASSABLE` in `render::flags` [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `TRANSPARENT` in `render::flags` [INFO] [stderr] | | | no `IN_FOV` in `render::flags` [INFO] [stderr] | | no `HAS_ENTITY` in `render::flags` [INFO] [stderr] | no `Flags` in `render::flags` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `render::Vertex` [INFO] [stderr] --> src/cascadecs/render_component.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use render::Vertex; [INFO] [stderr] | ^^^^^^^^------ [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module (notice the capitalization): `vertex` [INFO] [stderr] | no `Vertex` in `render` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::vertex::Vertex` [INFO] [stderr] --> src/render/mod.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub use self::vertex::Vertex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `Vertex` in `render::vertex` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::vertex::Vertex` [INFO] [stderr] --> src/render/scratch.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use super::vertex::Vertex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no `Vertex` in `render::vertex` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `gfx_vertex` in this scope [INFO] [stderr] --> src/render/vertex.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | gfx_vertex!(Vertex { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `gfx_parameters` in this scope [INFO] [stderr] --> src/main.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | gfx_parameters!(Params { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: `Action` is a variant, not a module [INFO] [stderr] --> src/brain.rs:30:54 [INFO] [stderr] | [INFO] [stderr] 30 | let find_food = Sequence(vec![Action(Action::PathTo { path_target: path_target }), Action(Action::EatFood)]); [INFO] [stderr] | ^^^^^^ `Action` is a variant, not a module [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: `Action` is a variant, not a module [INFO] [stderr] --> src/brain.rs:30:107 [INFO] [stderr] | [INFO] [stderr] 30 | let find_food = Sequence(vec![Action(Action::PathTo { path_target: path_target }), Action(Action::EatFood)]); [INFO] [stderr] | ^^^^^^ `Action` is a variant, not a module [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: `Action` is a variant, not a module [INFO] [stderr] --> src/brain.rs:31:56 [INFO] [stderr] | [INFO] [stderr] 31 | let dood_behavior = If(Box::new(Action(Action::Content)), [INFO] [stderr] | ^^^^^^ `Action` is a variant, not a module [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: `Action` is a variant, not a module [INFO] [stderr] --> src/brain.rs:32:56 [INFO] [stderr] | [INFO] [stderr] 32 | ... Box::new(Action(Action::Idle)), [INFO] [stderr] | ^^^^^^ `Action` is a variant, not a module [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: `Action` is a variant, not a module [INFO] [stderr] --> src/brain.rs:62:21 [INFO] [stderr] | [INFO] [stderr] 62 | Action::Idle => { [INFO] [stderr] | ^^^^^^ `Action` is a variant, not a module [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: `Action` is a variant, not a module [INFO] [stderr] --> src/brain.rs:73:21 [INFO] [stderr] | [INFO] [stderr] 73 | Action::Content => { [INFO] [stderr] | ^^^^^^ `Action` is a variant, not a module [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: `Action` is a variant, not a module [INFO] [stderr] --> src/brain.rs:80:21 [INFO] [stderr] | [INFO] [stderr] 80 | Action::PathTo { path_target } => { [INFO] [stderr] | ^^^^^^ `Action` is a variant, not a module [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: `Action` is a variant, not a module [INFO] [stderr] --> src/brain.rs:93:21 [INFO] [stderr] | [INFO] [stderr] 93 | Action::EatFood => { [INFO] [stderr] | ^^^^^^ `Action` is a variant, not a module [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ShaderSource` in `gfx` [INFO] [stderr] --> src/main.rs:98:20 [INFO] [stderr] | [INFO] [stderr] 98 | ..gfx::ShaderSource::empty() [INFO] [stderr] | ^^^^^^^^^^^^ could not find `ShaderSource` in `gfx` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ShaderSource` in `gfx` [INFO] [stderr] --> src/main.rs:103:20 [INFO] [stderr] | [INFO] [stderr] 103 | ..gfx::ShaderSource::empty() [INFO] [stderr] | ^^^^^^^^^^^^ could not find `ShaderSource` in `gfx` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tex` in `gfx` [INFO] [stderr] --> src/main.rs:113:29 [INFO] [stderr] | [INFO] [stderr] 113 | let sampler_info = gfx::tex::SamplerInfo::new(gfx::tex::FilterMethod::Scale, [INFO] [stderr] | ^^^ could not find `tex` in `gfx` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tex` in `gfx` [INFO] [stderr] --> src/main.rs:113:56 [INFO] [stderr] | [INFO] [stderr] 113 | let sampler_info = gfx::tex::SamplerInfo::new(gfx::tex::FilterMethod::Scale, [INFO] [stderr] | ^^^ could not find `tex` in `gfx` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tex` in `gfx` [INFO] [stderr] --> src/main.rs:114:56 [INFO] [stderr] | [INFO] [stderr] 114 | ... gfx::tex::WrapMode::Clamp); [INFO] [stderr] | ^^^ could not find `tex` in `gfx` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `DrawState` in `gfx` [INFO] [stderr] --> src/main.rs:142:22 [INFO] [stderr] | [INFO] [stderr] 142 | let state = gfx::DrawState::new().depth(gfx::state::Comparison::LessEqual, true); [INFO] [stderr] | ^^^^^^^^^ could not find `DrawState` in `gfx` [INFO] [stderr] [INFO] [stderr] error[E0573]: expected type, found variant `Action` [INFO] [stderr] --> src/brain.rs:25:45 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn new_state(brain: Brain) -> State { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: an enum with a similar name exists [INFO] [stderr] | [INFO] [stderr] 25 | pub fn new_state(brain: Brain) -> State { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: possible better candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use action::Action; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ShaderSource` in crate `gfx` [INFO] [stderr] --> src/main.rs:95:27 [INFO] [stderr] | [INFO] [stderr] 95 | let vertex = gfx::ShaderSource { [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `ShaderResource` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gfx-0.18.2/src/pso/resource.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct ShaderResource(RawShaderResource, PhantomData); [INFO] [stderr] | ---------------------------------------------------------------- similarly named struct `ShaderResource` defined here [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ShaderSource` in crate `gfx` [INFO] [stderr] --> src/main.rs:100:29 [INFO] [stderr] | [INFO] [stderr] 100 | let fragment = gfx::ShaderSource { [INFO] [stderr] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `ShaderResource` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gfx-0.18.2/src/pso/resource.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct ShaderResource(RawShaderResource, PhantomData); [INFO] [stderr] | ---------------------------------------------------------------- similarly named struct `ShaderResource` defined here [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PNG` in crate `image` [INFO] [stderr] --> src/main.rs:109:44 [INFO] [stderr] | [INFO] [stderr] 109 | let image = image::load(cursor, image::PNG).unwrap(); [INFO] [stderr] | ^^^ not found in `image` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Params` in this scope [INFO] [stderr] --> src/main.rs:136:24 [INFO] [stderr] | [INFO] [stderr] 136 | let mut uniforms = Params { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `ClearData` in crate `gfx` [INFO] [stderr] --> src/main.rs:144:27 [INFO] [stderr] | [INFO] [stderr] 144 | let clear_data = gfx::ClearData { color: [0.0, 0.0, 0.0, 1.0], depth: 1.0, stencil: 0 }; [INFO] [stderr] | ^^^^^^^^^ not found in `gfx` [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(vec_resize, clone_from_slice, collections)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `loc::Loc` [INFO] [stderr] --> src/brain.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use loc::Loc; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `action::Action` [INFO] [stderr] --> src/brain.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use action::Action; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `rand` is imported redundantly [INFO] [stderr] --> src/brain.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | use rand; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/main.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | extern crate rand; [INFO] [stderr] | ------------------ the item `rand` is already imported here [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/brain.rs:68:30 [INFO] [stderr] | [INFO] [stderr] 68 | ... 4...10 => Event::None, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/render/scratch.rs:119:22 [INFO] [stderr] | [INFO] [stderr] 119 | for x in (tl_loc.x..br_loc.x + 1) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `borrow` found for struct `gfx_device_gl::Factory` in the current scope [INFO] [stderr] --> src/main.rs:92:42 [INFO] [stderr] | [INFO] [stderr] 92 | let ref mut factory = window.factory.borrow().clone(); [INFO] [stderr] | ^^^^^^ method not found in `gfx_device_gl::Factory` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 44 | use std::borrow::Borrow; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `handle` found for struct `gfx_texture::Texture<_>` in the current scope [INFO] [stderr] --> src/main.rs:112:64 [INFO] [stderr] | [INFO] [stderr] 112 | factory, &image.to_rgba(), &texture_settings).unwrap().handle(); [INFO] [stderr] | ^^^^^^ method not found in `gfx_texture::Texture<_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `draw_3d` found for enum `piston::Event` in the current scope [INFO] [stderr] --> src/main.rs:181:11 [INFO] [stderr] | [INFO] [stderr] 181 | e.draw_3d(|stream| { [INFO] [stderr] | ^^^^^^^ method not found in `piston::Event` [INFO] [stderr] [INFO] [stderr] error[E0593]: closure is expected to take 1 argument, but it takes 2 arguments [INFO] [stderr] --> src/main.rs:232:11 [INFO] [stderr] | [INFO] [stderr] 232 | e.mouse_cursor(|x, y| input.mouse_cursor(x, y)); [INFO] [stderr] | ^^^^^^^^^^^^ ------ takes 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected closure that takes 1 argument [INFO] [stderr] [INFO] [stderr] error[E0593]: closure is expected to take 1 argument, but it takes 2 arguments [INFO] [stderr] --> src/main.rs:233:11 [INFO] [stderr] | [INFO] [stderr] 233 | e.mouse_scroll(|dx, dy| input.mouse_scroll(dx, dy)); [INFO] [stderr] | ^^^^^^^^^^^^ -------- takes 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected closure that takes 1 argument [INFO] [stderr] [INFO] [stderr] error[E0593]: closure is expected to take 1 argument, but it takes 2 arguments [INFO] [stderr] --> src/main.rs:234:11 [INFO] [stderr] | [INFO] [stderr] 234 | e.mouse_relative(|dx, dy| input.mouse_relative(dx, dy)); [INFO] [stderr] | ^^^^^^^^^^^^^^ -------- takes 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected closure that takes 1 argument [INFO] [stderr] [INFO] [stderr] error: aborting due to 43 previous errors; 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0252, E0422, E0425, E0432, E0433, E0554, E0573, E0593, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0252`. [INFO] [stderr] error: could not compile `dood-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d6bf884c9c99b5fec0f68da659805db606e6a32a607c8f38a0f62e4e8873ca78"` [INFO] running `"docker" "rm" "-f" "d6bf884c9c99b5fec0f68da659805db606e6a32a607c8f38a0f62e4e8873ca78"` [INFO] [stdout] d6bf884c9c99b5fec0f68da659805db606e6a32a607c8f38a0f62e4e8873ca78