[INFO] cloning repository nathanieltan/murder_lord [INFO] running `"git" "clone" "--bare" "git://github.com/nathanieltan/murder_lord.git" "work/cache/sources/gh/nathanieltan/murder_lord"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/nathanieltan/murder_lord'... [INFO] running `"git" "clone" "work/cache/sources/gh/nathanieltan/murder_lord" "work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/nathanieltan/murder_lord"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/nathanieltan/murder_lord'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/nathanieltan/murder_lord" "work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/nathanieltan/murder_lord"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/nathanieltan/murder_lord'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9ed7262610870e55284e1f389df0a5c2a17d1581 [INFO] sha for GitHub repo nathanieltan/murder_lord: 9ed7262610870e55284e1f389df0a5c2a17d1581 [INFO] validating manifest of nathanieltan/murder_lord on toolchain master#9f06855064ed06a50c496577b21ca50f92a2e67d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of nathanieltan/murder_lord on toolchain try#d3301713b54af69ca9de941a8c6b0d8287dbd6df [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing nathanieltan/murder_lord [INFO] finished frobbing nathanieltan/murder_lord [INFO] frobbed toml for nathanieltan/murder_lord written to work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/nathanieltan/murder_lord/Cargo.toml [INFO] started frobbing nathanieltan/murder_lord [INFO] finished frobbing nathanieltan/murder_lord [INFO] frobbed toml for nathanieltan/murder_lord written to work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/nathanieltan/murder_lord/Cargo.toml [INFO] crate nathanieltan/murder_lord already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded texture v0.1.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking nathanieltan/murder_lord against try#d3301713b54af69ca9de941a8c6b0d8287dbd6df for pr-61874 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61874/worker-3/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/nathanieltan/murder_lord:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 61e009d550c26f984a1c5bc3293a597c04feec8aefbbfdab424fe658eee98c15 [INFO] running `"docker" "start" "-a" "61e009d550c26f984a1c5bc3293a597c04feec8aefbbfdab424fe658eee98c15"` [INFO] [stderr] Compiling libc v0.2.28 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Checking adler32 v1.0.0 [INFO] [stderr] Checking shader_version v0.2.2 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Checking num_cpus v1.6.2 [INFO] [stderr] Checking shared_library v0.1.7 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Checking vecmath v0.3.0 [INFO] [stderr] Compiling linenoise-rust v0.2.0 [INFO] [stderr] Checking tempfile v2.1.6 [INFO] [stderr] Checking uuid v0.1.18 [INFO] [stderr] Checking deflate v0.7.14 [INFO] [stderr] Checking pistoncore-input v0.18.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking arrayvec v0.3.23 [INFO] [stderr] Checking rayon-core v1.2.1 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling glutin v0.9.2 [INFO] [stderr] Checking piston2d-graphics v0.21.1 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Checking rusttype v0.2.1 [INFO] [stderr] Checking png v0.8.0 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking pistoncore-window v0.27.0 [INFO] [stderr] warning[E0311]: the parameter type `K` may not live long enough [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusttype-0.2.1/src/support/bst/map.rs:81:19 [INFO] [stderr] | [INFO] [stderr] 81 | match node.force() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider adding an explicit lifetime bound for `K` [INFO] [stderr] note: the parameter type `K` must be valid for the anonymous lifetime #1 defined on the function body at 77:9... [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusttype-0.2.1/src/support/bst/map.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | / fn clone_subtree( [INFO] [stderr] 78 | | node: node::NodeRef) [INFO] [stderr] 79 | | -> BTreeMap { [INFO] [stderr] 80 | | [INFO] [stderr] ... | [INFO] [stderr] 136| | } [INFO] [stderr] 137| | } [INFO] [stderr] | |_________^ [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] warning[E0311]: the parameter type `V` may not live long enough [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusttype-0.2.1/src/support/bst/map.rs:81:19 [INFO] [stderr] | [INFO] [stderr] 81 | match node.force() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider adding an explicit lifetime bound for `V` [INFO] [stderr] note: the parameter type `V` must be valid for the anonymous lifetime #1 defined on the function body at 77:9... [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusttype-0.2.1/src/support/bst/map.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | / fn clone_subtree( [INFO] [stderr] 78 | | node: node::NodeRef) [INFO] [stderr] 79 | | -> BTreeMap { [INFO] [stderr] 80 | | [INFO] [stderr] ... | [INFO] [stderr] 136| | } [INFO] [stderr] 137| | } [INFO] [stderr] | |_________^ [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] Checking piston-ai_behavior v0.20.0 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling wayland-scanner v0.9.9 [INFO] [stderr] Checking pistoncore-event_loop v0.32.0 [INFO] [stderr] Checking texture v0.1.0 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Checking piston2d-sprite v0.36.0 [INFO] [stderr] Checking jpeg-decoder v0.1.13 [INFO] [stderr] Checking piston v0.32.0 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Checking image v0.14.0 [INFO] [stderr] Compiling wayland-client v0.9.9 [INFO] [stderr] Checking gfx_core v0.7.1 [INFO] [stderr] Checking piston2d-opengl_graphics v0.45.0 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.9.9 [INFO] [stderr] Checking wayland-window v0.6.1 [INFO] [stderr] Checking wayland-kbd v0.9.1 [INFO] [stderr] Checking winit v0.7.5 [INFO] [stderr] Checking pistoncore-glutin_window v0.38.0 [INFO] [stderr] Checking gfx v0.16.1 [INFO] [stderr] Checking gfx_device_gl v0.14.1 [INFO] [stderr] Checking piston-gfx_texture v0.25.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.42.0 [INFO] [stderr] Checking piston_window v0.68.0 [INFO] [stderr] Checking murder_lord v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Window` [INFO] [stderr] --> src/main.rs:35:22 [INFO] [stderr] | [INFO] [stderr] 35 | let mut window = Window::new( [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Window` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowSettings` [INFO] [stderr] --> src/main.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | WindowSettings::new( [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `WindowSettings` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Flip` [INFO] [stderr] --> src/main.rs:49:67 [INFO] [stderr] | [INFO] [stderr] 49 | let tex = Texture::from_path(&mut window.factory, "test.jpg", Flip::None,&TextureSettings::new()).unwrap(); [INFO] [stderr] | ^^^^ use of undeclared type or module `Flip` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TextureSettings` [INFO] [stderr] --> src/main.rs:49:79 [INFO] [stderr] | [INFO] [stderr] 49 | let tex = Texture::from_path(&mut window.factory, "test.jpg", Flip::None,&TextureSettings::new()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `TextureSettings` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Flip` [INFO] [stderr] --> src/main.rs:50:68 [INFO] [stderr] | [INFO] [stderr] 50 | let tex2 = Texture::from_path(&mut window.factory, "test.jpg", Flip::None,&TextureSettings::new()).unwrap(); [INFO] [stderr] | ^^^^ use of undeclared type or module `Flip` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TextureSettings` [INFO] [stderr] --> src/main.rs:50:80 [INFO] [stderr] | [INFO] [stderr] 50 | let tex2 = Texture::from_path(&mut window.factory, "test.jpg", Flip::None,&TextureSettings::new()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `TextureSettings` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Rectangle` [INFO] [stderr] --> src/main.rs:70:17 [INFO] [stderr] | [INFO] [stderr] 70 | Rectangle::new([0.8, 0.8, 1.0, 1.0]).draw(board_rect, &c.draw_state, c.transform, g); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Rectangle` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Player` [INFO] [stderr] --> src/fight.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use Player; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Enemy` [INFO] [stderr] --> src/fight.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use Enemy; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FightView` [INFO] [stderr] --> src/fight_controller.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use FightView; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Line` [INFO] [stderr] --> src/fight_view.rs:48:24 [INFO] [stderr] | [INFO] [stderr] 48 | use graphics::{Line, Rectangle}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/characters.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::option::*` [INFO] [stderr] --> src/characters.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::option::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 4 parameters were supplied [INFO] [stderr] --> src/main.rs:49:15 [INFO] [stderr] | [INFO] [stderr] 49 | let tex = Texture::from_path(&mut window.factory, "test.jpg", Flip::None,&TextureSettings::new()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 4 parameters were supplied [INFO] [stderr] --> src/main.rs:50:16 [INFO] [stderr] | [INFO] [stderr] 50 | let tex2 = Texture::from_path(&mut window.factory, "test.jpg", Flip::None,&TextureSettings::new()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `image` on type `characters::Player` [INFO] [stderr] --> src/main.rs:71:24 [INFO] [stderr] | [INFO] [stderr] 71 | player.image.draw(&player.texture, &graphics::DrawState::default(), c.transform, g); [INFO] [stderr] | ^^^^^ unknown field [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `texture` on type `characters::Player` [INFO] [stderr] --> src/main.rs:71:43 [INFO] [stderr] | [INFO] [stderr] 71 | player.image.draw(&player.texture, &graphics::DrawState::default(), c.transform, g); [INFO] [stderr] | ^^^^^^^ unknown field [INFO] [stderr] [INFO] [stderr] warning: unused import: `piston::input` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use piston::input::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0433, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `murder_lord`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Window` [INFO] [stderr] --> src/main.rs:35:22 [INFO] [stderr] | [INFO] [stderr] 35 | let mut window = Window::new( [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Window` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowSettings` [INFO] [stderr] --> src/main.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | WindowSettings::new( [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `WindowSettings` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Flip` [INFO] [stderr] --> src/main.rs:49:67 [INFO] [stderr] | [INFO] [stderr] 49 | let tex = Texture::from_path(&mut window.factory, "test.jpg", Flip::None,&TextureSettings::new()).unwrap(); [INFO] [stderr] | ^^^^ use of undeclared type or module `Flip` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TextureSettings` [INFO] [stderr] --> src/main.rs:49:79 [INFO] [stderr] | [INFO] [stderr] 49 | let tex = Texture::from_path(&mut window.factory, "test.jpg", Flip::None,&TextureSettings::new()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `TextureSettings` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Flip` [INFO] [stderr] --> src/main.rs:50:68 [INFO] [stderr] | [INFO] [stderr] 50 | let tex2 = Texture::from_path(&mut window.factory, "test.jpg", Flip::None,&TextureSettings::new()).unwrap(); [INFO] [stderr] | ^^^^ use of undeclared type or module `Flip` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TextureSettings` [INFO] [stderr] --> src/main.rs:50:80 [INFO] [stderr] | [INFO] [stderr] 50 | let tex2 = Texture::from_path(&mut window.factory, "test.jpg", Flip::None,&TextureSettings::new()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `TextureSettings` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Rectangle` [INFO] [stderr] --> src/main.rs:70:17 [INFO] [stderr] | [INFO] [stderr] 70 | Rectangle::new([0.8, 0.8, 1.0, 1.0]).draw(board_rect, &c.draw_state, c.transform, g); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `Rectangle` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Player` [INFO] [stderr] --> src/fight.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use Player; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Enemy` [INFO] [stderr] --> src/fight.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use Enemy; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FightView` [INFO] [stderr] --> src/fight_controller.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use FightView; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Line` [INFO] [stderr] --> src/fight_view.rs:48:24 [INFO] [stderr] | [INFO] [stderr] 48 | use graphics::{Line, Rectangle}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/characters.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::option::*` [INFO] [stderr] --> src/characters.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::option::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 4 parameters were supplied [INFO] [stderr] --> src/main.rs:49:15 [INFO] [stderr] | [INFO] [stderr] 49 | let tex = Texture::from_path(&mut window.factory, "test.jpg", Flip::None,&TextureSettings::new()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 4 parameters were supplied [INFO] [stderr] --> src/main.rs:50:16 [INFO] [stderr] | [INFO] [stderr] 50 | let tex2 = Texture::from_path(&mut window.factory, "test.jpg", Flip::None,&TextureSettings::new()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `image` on type `characters::Player` [INFO] [stderr] --> src/main.rs:71:24 [INFO] [stderr] | [INFO] [stderr] 71 | player.image.draw(&player.texture, &graphics::DrawState::default(), c.transform, g); [INFO] [stderr] | ^^^^^ unknown field [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `texture` on type `characters::Player` [INFO] [stderr] --> src/main.rs:71:43 [INFO] [stderr] | [INFO] [stderr] 71 | player.image.draw(&player.texture, &graphics::DrawState::default(), c.transform, g); [INFO] [stderr] | ^^^^^^^ unknown field [INFO] [stderr] [INFO] [stderr] warning: unused import: `piston::input` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use piston::input::*; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0433, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `murder_lord`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "61e009d550c26f984a1c5bc3293a597c04feec8aefbbfdab424fe658eee98c15"` [INFO] running `"docker" "rm" "-f" "61e009d550c26f984a1c5bc3293a597c04feec8aefbbfdab424fe658eee98c15"` [INFO] [stdout] 61e009d550c26f984a1c5bc3293a597c04feec8aefbbfdab424fe658eee98c15