[INFO] updating cached repository Izzeri/rpg [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Izzeri/rpg [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Izzeri/rpg" "work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/Izzeri/rpg"` [INFO] [stderr] Cloning into 'work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/Izzeri/rpg'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Izzeri/rpg" "work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/Izzeri/rpg"` [INFO] [stderr] Cloning into 'work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/Izzeri/rpg'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] addb9e9d81621c02abd3f14f53768625a40017e1 [INFO] sha for GitHub repo Izzeri/rpg: addb9e9d81621c02abd3f14f53768625a40017e1 [INFO] validating manifest of Izzeri/rpg on toolchain master#39401465da4ce27aeeb2c2a26133ac35c63aa515 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Izzeri/rpg on toolchain try#f45cc3094ee337acd688771b9234318046b0572d [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Izzeri/rpg [INFO] finished frobbing Izzeri/rpg [INFO] frobbed toml for Izzeri/rpg written to work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/Izzeri/rpg/Cargo.toml [INFO] started frobbing Izzeri/rpg [INFO] finished frobbing Izzeri/rpg [INFO] frobbed toml for Izzeri/rpg written to work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/Izzeri/rpg/Cargo.toml [INFO] crate Izzeri/rpg already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/Izzeri/rpg/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/jeremyletang/rust-sfml.git` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/jeremyletang/rust-sfml.git` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking Izzeri/rpg against try#f45cc3094ee337acd688771b9234318046b0572d for pr-60914 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60914/worker-7/try#f45cc3094ee337acd688771b9234318046b0572d:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/Izzeri/rpg:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 802c245f93659b53e2cc37308db538799fb5f0ac972937398b98e833ad807059 [INFO] running `"docker" "start" "-a" "802c245f93659b53e2cc37308db538799fb5f0ac972937398b98e833ad807059"` [INFO] [stderr] Checking rpg v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `sfml::window::window_style` [INFO] [stderr] --> src/main.rs:15:55 [INFO] [stderr] | [INFO] [stderr] 15 | use sfml::window::{VideoMode, ContextSettings, event, window_style, Key}; [INFO] [stderr] | ^^^^^^^^^^^^ no `window_style` in `window` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `OutputConfig` in `fern` [INFO] [stderr] --> src/main.rs:31:28 [INFO] [stderr] | [INFO] [stderr] 31 | output: vec![fern::OutputConfig::stdout()], [INFO] [stderr] | ^^^^^^^^^^^^ could not find `OutputConfig` in `fern` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `LogLevelFilter` in `log` [INFO] [stderr] --> src/main.rs:33:21 [INFO] [stderr] | [INFO] [stderr] 33 | level: log::LogLevelFilter::Info, [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `LogLevelFilter` in `log` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `LogLevelFilter` in `log` [INFO] [stderr] --> src/main.rs:36:66 [INFO] [stderr] | [INFO] [stderr] 36 | if let Err(e) = fern::init_global_logger(logger_config, log::LogLevelFilter::Trace) { [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `LogLevelFilter` in `log` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DispatchConfig` in module `fern` [INFO] [stderr] --> src/main.rs:25:31 [INFO] [stderr] | [INFO] [stderr] 25 | let logger_config = fern::DispatchConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `fern` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `init_global_logger` in module `fern` [INFO] [stderr] --> src/main.rs:36:27 [INFO] [stderr] | [INFO] [stderr] 36 | if let Err(e) = fern::init_global_logger(logger_config, log::LogLevelFilter::Trace) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in `fern` [INFO] [stderr] [INFO] [stderr] error[E0603]: module `vector2` is private [INFO] [stderr] --> src/window.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | use sfml::system::vector2::Vector2f; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `event` is private [INFO] [stderr] --> src/main.rs:15:48 [INFO] [stderr] | [INFO] [stderr] 15 | use sfml::window::{VideoMode, ContextSettings, event, window_style, Key}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Transformable` [INFO] [stderr] --> src/text_window.rs:3:22 [INFO] [stderr] | [INFO] [stderr] 3 | use sfml::graphics::{Transformable, Text, Drawable, Color, RenderTarget, RenderStates}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0049]: method `draw` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stderr] --> src/window.rs:175:12 [INFO] [stderr] | [INFO] [stderr] 175 | fn draw(&self, target: &mut RT, rs: &mut RenderStates) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ found 1 type parameter, expected 0 [INFO] [stderr] [INFO] [stderr] error[E0049]: method `draw` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stderr] --> src/text_window.rs:239:12 [INFO] [stderr] | [INFO] [stderr] 239 | fn draw(&self, target: &mut RT, rs: &mut RenderStates) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ found 1 type parameter, expected 0 [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `sfml::window::window_style` [INFO] [stderr] --> src/main.rs:15:55 [INFO] [stderr] | [INFO] [stderr] 15 | use sfml::window::{VideoMode, ContextSettings, event, window_style, Key}; [INFO] [stderr] | ^^^^^^^^^^^^ no `window_style` in `window` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `OutputConfig` in `fern` [INFO] [stderr] --> src/main.rs:31:28 [INFO] [stderr] | [INFO] [stderr] 31 | output: vec![fern::OutputConfig::stdout()], [INFO] [stderr] | ^^^^^^^^^^^^ could not find `OutputConfig` in `fern` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `LogLevelFilter` in `log` [INFO] [stderr] --> src/main.rs:33:21 [INFO] [stderr] | [INFO] [stderr] 33 | level: log::LogLevelFilter::Info, [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `LogLevelFilter` in `log` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `LogLevelFilter` in `log` [INFO] [stderr] --> src/main.rs:36:66 [INFO] [stderr] | [INFO] [stderr] 36 | if let Err(e) = fern::init_global_logger(logger_config, log::LogLevelFilter::Trace) { [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `LogLevelFilter` in `log` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DispatchConfig` in module `fern` [INFO] [stderr] --> src/main.rs:25:31 [INFO] [stderr] | [INFO] [stderr] 25 | let logger_config = fern::DispatchConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `fern` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `init_global_logger` in module `fern` [INFO] [stderr] --> src/main.rs:36:27 [INFO] [stderr] | [INFO] [stderr] 36 | if let Err(e) = fern::init_global_logger(logger_config, log::LogLevelFilter::Trace) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in `fern` [INFO] [stderr] [INFO] [stderr] error[E0603]: module `vector2` is private [INFO] [stderr] --> src/window.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | use sfml::system::vector2::Vector2f; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `event` is private [INFO] [stderr] --> src/main.rs:15:48 [INFO] [stderr] | [INFO] [stderr] 15 | use sfml::window::{VideoMode, ContextSettings, event, window_style, Key}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Transformable` [INFO] [stderr] --> src/text_window.rs:3:22 [INFO] [stderr] | [INFO] [stderr] 3 | use sfml::graphics::{Transformable, Text, Drawable, Color, RenderTarget, RenderStates}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_init` found for type `sfml::window::VideoMode` in the current scope [INFO] [stderr] --> src/main.rs:41:51 [INFO] [stderr] | [INFO] [stderr] 41 | let mut window = RenderWindow::new(VideoMode::new_init(WINDOW_HEIGHT, WINDOW_WIDTH, 32), "SFML", window_style::CLOSE, &settings).unwrap(); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `sfml::window::VideoMode` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap` found for type `sfml::graphics::RenderWindow` in the current scope [INFO] [stderr] --> src/main.rs:41:134 [INFO] [stderr] | [INFO] [stderr] 41 | let mut window = RenderWindow::new(VideoMode::new_init(WINDOW_HEIGHT, WINDOW_WIDTH, 32), "SFML", window_style::CLOSE, &settings).unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `sfml::system::Clock` in the current scope [INFO] [stderr] --> src/main.rs:51:28 [INFO] [stderr] | [INFO] [stderr] 51 | let mut clock = Clock::new(); [INFO] [stderr] | ^^^ function or associated item not found in `sfml::system::Clock` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_init` found for type `sfml::graphics::Text<'_>` in the current scope [INFO] [stderr] --> src/main.rs:81:30 [INFO] [stderr] | [INFO] [stderr] 81 | let fps_text = Text::new_init(&fps.to_string(), &settings.font, 24).unwrap(); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `sfml::graphics::Text<'_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `black` found for type `sfml::graphics::Color` in the current scope [INFO] [stderr] --> src/main.rs:85:30 [INFO] [stderr] | [INFO] [stderr] 85 | window.clear(&Color::black()); [INFO] [stderr] | ^^^^^ function or associated item not found in `sfml::graphics::Color` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_size` found for type `sfml::graphics::Texture` in the current scope [INFO] [stderr] --> src/iconset.rs:18:50 [INFO] [stderr] | [INFO] [stderr] 18 | let Vector2u {x: w, y: h} = self.texture.get_size(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/iconset.rs:32:34 [INFO] [stderr] | [INFO] [stderr] 32 | let mut sprite = Sprite::new_with_texture(&self.texture).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:52:43 [INFO] [stderr] | [INFO] [stderr] 52 | let mut top_left_corner = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:56:44 [INFO] [stderr] | [INFO] [stderr] 56 | let mut top_right_corner = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:60:46 [INFO] [stderr] | [INFO] [stderr] 60 | let mut bottom_left_corner = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:64:47 [INFO] [stderr] | [INFO] [stderr] 64 | let mut bottom_right_corner = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:68:38 [INFO] [stderr] | [INFO] [stderr] 68 | let mut background = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:73:36 [INFO] [stderr] | [INFO] [stderr] 73 | let mut top_edge = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:78:39 [INFO] [stderr] | [INFO] [stderr] 78 | let mut bottom_edge = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0049]: method `draw` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stderr] --> src/window.rs:175:12 [INFO] [stderr] | [INFO] [stderr] 175 | fn draw(&self, target: &mut RT, rs: &mut RenderStates) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ found 1 type parameter, expected 0 [INFO] [stderr] [INFO] [stderr] error[E0049]: method `draw` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stderr] --> src/text_window.rs:239:12 [INFO] [stderr] | [INFO] [stderr] 239 | fn draw(&self, target: &mut RT, rs: &mut RenderStates) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ found 1 type parameter, expected 0 [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:83:37 [INFO] [stderr] | [INFO] [stderr] 83 | let mut left_edge = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:88:38 [INFO] [stderr] | [INFO] [stderr] 88 | let mut right_edge = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_pixel` found for type `sfml::graphics::Image` in the current scope [INFO] [stderr] --> src/window.rs:170:44 [INFO] [stderr] | [INFO] [stderr] 170 | self.skin.copy_to_image().unwrap().get_pixel(pixel_x, pixel_y) [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `set_pixel` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_texture` found for type `sfml::graphics::RenderTexture` in the current scope [INFO] [stderr] --> src/window.rs:183:43 [INFO] [stderr] | [INFO] [stderr] 183 | let window_texture = &self.window.get_texture().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:184:41 [INFO] [stderr] | [INFO] [stderr] 184 | let mut window_sprite = Sprite::new_with_texture(&window_texture).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_rgba` found for type `sfml::graphics::Color` in the current scope [INFO] [stderr] --> src/window.rs:188:41 [INFO] [stderr] | [INFO] [stderr] 188 | window_sprite.set_color(&Color::new_rgba(255, 255, 255, window_opacity as u8)); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `sfml::graphics::Color` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_texture` found for type `sfml::graphics::RenderTexture` in the current scope [INFO] [stderr] --> src/window.rs:190:46 [INFO] [stderr] | [INFO] [stderr] 190 | let content_texture = &self.contents.get_texture().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:191:42 [INFO] [stderr] | [INFO] [stderr] 191 | let mut content_sprite = Sprite::new_with_texture(&content_texture).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_rgba` found for type `sfml::graphics::Color` in the current scope [INFO] [stderr] --> src/window.rs:196:42 [INFO] [stderr] | [INFO] [stderr] 196 | content_sprite.set_color(&Color::new_rgba(255, 255, 255, content_opacity as u8)); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `sfml::graphics::Color` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/window.rs:198:55 [INFO] [stderr] | [INFO] [stderr] 198 | target.draw_with_renderstates(&window_sprite, rs); [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `sfml::graphics::RenderStates`, found mutable reference [INFO] [stderr] | help: consider dereferencing the borrow: `*rs` [INFO] [stderr] | [INFO] [stderr] = note: expected type `sfml::graphics::RenderStates<'_, '_, '_>` [INFO] [stderr] found type `&mut sfml::graphics::RenderStates<'_, '_, '_>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/window.rs:199:56 [INFO] [stderr] | [INFO] [stderr] 199 | target.draw_with_renderstates(&content_sprite, rs); [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `sfml::graphics::RenderStates`, found mutable reference [INFO] [stderr] | help: consider dereferencing the borrow: `*rs` [INFO] [stderr] | [INFO] [stderr] = note: expected type `sfml::graphics::RenderStates<'_, '_, '_>` [INFO] [stderr] found type `&mut sfml::graphics::RenderStates<'_, '_, '_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_init` found for type `sfml::graphics::Text<'_>` in the current scope [INFO] [stderr] --> src/text_window.rs:45:25 [INFO] [stderr] | [INFO] [stderr] 45 | text: Text::new_init("", &settings.font, settings.default_font_size).unwrap(), [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `sfml::graphics::Text<'_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_character_size` found for type `sfml::graphics::Text<'a>` in the current scope [INFO] [stderr] --> src/text_window.rs:69:57 [INFO] [stderr] | [INFO] [stderr] 69 | self.current_pos_y += self.text.get_character_size() as f32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `set_character_size` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set_position2f` found for type `sfml::graphics::Text<'a>` in the current scope [INFO] [stderr] --> src/text_window.rs:77:35 [INFO] [stderr] | [INFO] [stderr] 77 | self.text.set_position2f(self.current_pos_x, self.current_pos_y); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_local_bounds` found for type `sfml::graphics::Text<'a>` in the current scope [INFO] [stderr] --> src/text_window.rs:78:57 [INFO] [stderr] | [INFO] [stderr] 78 | self.current_pos_x += self.text.get_local_bounds().width; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `global_bounds` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_init` found for type `sfml::window::VideoMode` in the current scope [INFO] [stderr] --> src/main.rs:41:51 [INFO] [stderr] | [INFO] [stderr] 41 | let mut window = RenderWindow::new(VideoMode::new_init(WINDOW_HEIGHT, WINDOW_WIDTH, 32), "SFML", window_style::CLOSE, &settings).unwrap(); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `sfml::window::VideoMode` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap` found for type `sfml::graphics::RenderWindow` in the current scope [INFO] [stderr] --> src/main.rs:41:134 [INFO] [stderr] | [INFO] [stderr] 41 | let mut window = RenderWindow::new(VideoMode::new_init(WINDOW_HEIGHT, WINDOW_WIDTH, 32), "SFML", window_style::CLOSE, &settings).unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `sfml::system::Clock` in the current scope [INFO] [stderr] --> src/main.rs:51:28 [INFO] [stderr] | [INFO] [stderr] 51 | let mut clock = Clock::new(); [INFO] [stderr] | ^^^ function or associated item not found in `sfml::system::Clock` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_init` found for type `sfml::graphics::Text<'_>` in the current scope [INFO] [stderr] --> src/main.rs:81:30 [INFO] [stderr] | [INFO] [stderr] 81 | let fps_text = Text::new_init(&fps.to_string(), &settings.font, 24).unwrap(); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `sfml::graphics::Text<'_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set_position2f` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/text_window.rs:181:22 [INFO] [stderr] | [INFO] [stderr] 181 | icon.set_position2f(self.current_pos_x, self.current_pos_y); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `black` found for type `sfml::graphics::Color` in the current scope [INFO] [stderr] --> src/main.rs:85:30 [INFO] [stderr] | [INFO] [stderr] 85 | window.clear(&Color::black()); [INFO] [stderr] | ^^^^^ function or associated item not found in `sfml::graphics::Color` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_local_bounds` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/text_window.rs:184:44 [INFO] [stderr] | [INFO] [stderr] 184 | self.current_pos_x += icon.get_local_bounds().width; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `global_bounds` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set_color` found for type `sfml::graphics::Text<'a>` in the current scope [INFO] [stderr] --> src/text_window.rs:191:27 [INFO] [stderr] | [INFO] [stderr] 191 | self.text.set_color(&color); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_size` found for type `sfml::graphics::Texture` in the current scope [INFO] [stderr] --> src/iconset.rs:18:50 [INFO] [stderr] | [INFO] [stderr] 18 | let Vector2u {x: w, y: h} = self.texture.get_size(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_rgba` found for type `sfml::graphics::Color` in the current scope [INFO] [stderr] --> src/text_window.rs:221:50 [INFO] [stderr] | [INFO] [stderr] 221 | self.window.get_contents().clear(&Color::new_rgba(0, 0, 0, 0)); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `sfml::graphics::Color` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/text_window.rs:240:53 [INFO] [stderr] | [INFO] [stderr] 240 | target.draw_with_renderstates(&self.window, rs); [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `sfml::graphics::RenderStates`, found mutable reference [INFO] [stderr] | help: consider dereferencing the borrow: `*rs` [INFO] [stderr] | [INFO] [stderr] = note: expected type `sfml::graphics::RenderStates<'_, '_, '_>` [INFO] [stderr] found type `&mut sfml::graphics::RenderStates<'_, '_, '_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `new_from_file` found for type `sfml::graphics::Font` in the current scope [INFO] [stderr] --> src/game_settings_manager.rs:15:25 [INFO] [stderr] | [INFO] [stderr] 15 | font: Font::new_from_file(font_filename).expect("Failed to load font file"), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | variant or associated item not found in `sfml::graphics::Font` [INFO] [stderr] | help: there is a method with a similar name: `from_file` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/iconset.rs:32:34 [INFO] [stderr] | [INFO] [stderr] 32 | let mut sprite = Sprite::new_with_texture(&self.texture).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `new_from_file` found for type `sfml::graphics::Texture` in the current scope [INFO] [stderr] --> src/game_settings_manager.rs:17:44 [INFO] [stderr] | [INFO] [stderr] 17 | iconset: Iconset::new(Texture::new_from_file(iconset_filename).expect("Failed to load iconset texture"), 24), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | variant or associated item not found in `sfml::graphics::Texture` [INFO] [stderr] | help: there is a method with a similar name: `from_file` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `new_from_file` found for type `sfml::graphics::Texture` in the current scope [INFO] [stderr] --> src/game_settings_manager.rs:18:35 [INFO] [stderr] | [INFO] [stderr] 18 | window_skin: Texture::new_from_file(window_skin_filename).expect("Failed to load window skin texture"), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | variant or associated item not found in `sfml::graphics::Texture` [INFO] [stderr] | help: there is a method with a similar name: `from_file` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Transformable` [INFO] [stderr] --> src/window.rs:1:32 [INFO] [stderr] | [INFO] [stderr] 1 | use sfml::graphics::{Drawable, Transformable, Sprite, RenderTexture, Texture, Color, RenderTarget, IntRect, RenderStates}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Drawable` [INFO] [stderr] --> src/main.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | use sfml::graphics::{Drawable, RenderStates, Text, RenderWindow, Color, RenderTarget}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RenderTarget` [INFO] [stderr] --> src/main.rs:14:73 [INFO] [stderr] | [INFO] [stderr] 14 | use sfml::graphics::{Drawable, RenderStates, Text, RenderWindow, Color, RenderTarget}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 47 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0049, E0308, E0422, E0425, E0432, E0433, E0599, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0049`. [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:52:43 [INFO] [stderr] | [INFO] [stderr] 52 | let mut top_left_corner = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:56:44 [INFO] [stderr] | [INFO] [stderr] 56 | let mut top_right_corner = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:60:46 [INFO] [stderr] | [INFO] [stderr] 60 | let mut bottom_left_corner = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:64:47 [INFO] [stderr] | [INFO] [stderr] 64 | let mut bottom_right_corner = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:68:38 [INFO] [stderr] | [INFO] [stderr] 68 | let mut background = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:73:36 [INFO] [stderr] | [INFO] [stderr] 73 | let mut top_edge = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:78:39 [INFO] [stderr] | [INFO] [stderr] 78 | let mut bottom_edge = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:83:37 [INFO] [stderr] | [INFO] [stderr] 83 | let mut left_edge = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error: Could not compile `rpg`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:88:38 [INFO] [stderr] | [INFO] [stderr] 88 | let mut right_edge = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_pixel` found for type `sfml::graphics::Image` in the current scope [INFO] [stderr] --> src/window.rs:170:44 [INFO] [stderr] | [INFO] [stderr] 170 | self.skin.copy_to_image().unwrap().get_pixel(pixel_x, pixel_y) [INFO] [stderr] | ^^^^^^^^^ help: there is a method with a similar name: `set_pixel` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_texture` found for type `sfml::graphics::RenderTexture` in the current scope [INFO] [stderr] --> src/window.rs:183:43 [INFO] [stderr] | [INFO] [stderr] 183 | let window_texture = &self.window.get_texture().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:184:41 [INFO] [stderr] | [INFO] [stderr] 184 | let mut window_sprite = Sprite::new_with_texture(&window_texture).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_rgba` found for type `sfml::graphics::Color` in the current scope [INFO] [stderr] --> src/window.rs:188:41 [INFO] [stderr] | [INFO] [stderr] 188 | window_sprite.set_color(&Color::new_rgba(255, 255, 255, window_opacity as u8)); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `sfml::graphics::Color` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_texture` found for type `sfml::graphics::RenderTexture` in the current scope [INFO] [stderr] --> src/window.rs:190:46 [INFO] [stderr] | [INFO] [stderr] 190 | let content_texture = &self.contents.get_texture().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_with_texture` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/window.rs:191:42 [INFO] [stderr] | [INFO] [stderr] 191 | let mut content_sprite = Sprite::new_with_texture(&content_texture).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | function or associated item not found in `sfml::graphics::Sprite<'_>` [INFO] [stderr] | help: there is a method with a similar name: `with_texture` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_rgba` found for type `sfml::graphics::Color` in the current scope [INFO] [stderr] --> src/window.rs:196:42 [INFO] [stderr] | [INFO] [stderr] 196 | content_sprite.set_color(&Color::new_rgba(255, 255, 255, content_opacity as u8)); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `sfml::graphics::Color` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/window.rs:198:55 [INFO] [stderr] | [INFO] [stderr] 198 | target.draw_with_renderstates(&window_sprite, rs); [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `sfml::graphics::RenderStates`, found mutable reference [INFO] [stderr] | help: consider dereferencing the borrow: `*rs` [INFO] [stderr] | [INFO] [stderr] = note: expected type `sfml::graphics::RenderStates<'_, '_, '_>` [INFO] [stderr] found type `&mut sfml::graphics::RenderStates<'_, '_, '_>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/window.rs:199:56 [INFO] [stderr] | [INFO] [stderr] 199 | target.draw_with_renderstates(&content_sprite, rs); [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `sfml::graphics::RenderStates`, found mutable reference [INFO] [stderr] | help: consider dereferencing the borrow: `*rs` [INFO] [stderr] | [INFO] [stderr] = note: expected type `sfml::graphics::RenderStates<'_, '_, '_>` [INFO] [stderr] found type `&mut sfml::graphics::RenderStates<'_, '_, '_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_init` found for type `sfml::graphics::Text<'_>` in the current scope [INFO] [stderr] --> src/text_window.rs:45:25 [INFO] [stderr] | [INFO] [stderr] 45 | text: Text::new_init("", &settings.font, settings.default_font_size).unwrap(), [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `sfml::graphics::Text<'_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_character_size` found for type `sfml::graphics::Text<'a>` in the current scope [INFO] [stderr] --> src/text_window.rs:69:57 [INFO] [stderr] | [INFO] [stderr] 69 | self.current_pos_y += self.text.get_character_size() as f32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `set_character_size` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set_position2f` found for type `sfml::graphics::Text<'a>` in the current scope [INFO] [stderr] --> src/text_window.rs:77:35 [INFO] [stderr] | [INFO] [stderr] 77 | self.text.set_position2f(self.current_pos_x, self.current_pos_y); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_local_bounds` found for type `sfml::graphics::Text<'a>` in the current scope [INFO] [stderr] --> src/text_window.rs:78:57 [INFO] [stderr] | [INFO] [stderr] 78 | self.current_pos_x += self.text.get_local_bounds().width; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `global_bounds` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set_position2f` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/text_window.rs:181:22 [INFO] [stderr] | [INFO] [stderr] 181 | icon.set_position2f(self.current_pos_x, self.current_pos_y); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_local_bounds` found for type `sfml::graphics::Sprite<'_>` in the current scope [INFO] [stderr] --> src/text_window.rs:184:44 [INFO] [stderr] | [INFO] [stderr] 184 | self.current_pos_x += icon.get_local_bounds().width; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `global_bounds` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set_color` found for type `sfml::graphics::Text<'a>` in the current scope [INFO] [stderr] --> src/text_window.rs:191:27 [INFO] [stderr] | [INFO] [stderr] 191 | self.text.set_color(&color); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new_rgba` found for type `sfml::graphics::Color` in the current scope [INFO] [stderr] --> src/text_window.rs:221:50 [INFO] [stderr] | [INFO] [stderr] 221 | self.window.get_contents().clear(&Color::new_rgba(0, 0, 0, 0)); [INFO] [stderr] | ^^^^^^^^ function or associated item not found in `sfml::graphics::Color` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/text_window.rs:240:53 [INFO] [stderr] | [INFO] [stderr] 240 | target.draw_with_renderstates(&self.window, rs); [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `sfml::graphics::RenderStates`, found mutable reference [INFO] [stderr] | help: consider dereferencing the borrow: `*rs` [INFO] [stderr] | [INFO] [stderr] = note: expected type `sfml::graphics::RenderStates<'_, '_, '_>` [INFO] [stderr] found type `&mut sfml::graphics::RenderStates<'_, '_, '_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `new_from_file` found for type `sfml::graphics::Font` in the current scope [INFO] [stderr] --> src/game_settings_manager.rs:15:25 [INFO] [stderr] | [INFO] [stderr] 15 | font: Font::new_from_file(font_filename).expect("Failed to load font file"), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | variant or associated item not found in `sfml::graphics::Font` [INFO] [stderr] | help: there is a method with a similar name: `from_file` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `new_from_file` found for type `sfml::graphics::Texture` in the current scope [INFO] [stderr] --> src/game_settings_manager.rs:17:44 [INFO] [stderr] | [INFO] [stderr] 17 | iconset: Iconset::new(Texture::new_from_file(iconset_filename).expect("Failed to load iconset texture"), 24), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | variant or associated item not found in `sfml::graphics::Texture` [INFO] [stderr] | help: there is a method with a similar name: `from_file` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `new_from_file` found for type `sfml::graphics::Texture` in the current scope [INFO] [stderr] --> src/game_settings_manager.rs:18:35 [INFO] [stderr] | [INFO] [stderr] 18 | window_skin: Texture::new_from_file(window_skin_filename).expect("Failed to load window skin texture"), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | variant or associated item not found in `sfml::graphics::Texture` [INFO] [stderr] | help: there is a method with a similar name: `from_file` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Transformable` [INFO] [stderr] --> src/window.rs:1:32 [INFO] [stderr] | [INFO] [stderr] 1 | use sfml::graphics::{Drawable, Transformable, Sprite, RenderTexture, Texture, Color, RenderTarget, IntRect, RenderStates}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Drawable` [INFO] [stderr] --> src/main.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | use sfml::graphics::{Drawable, RenderStates, Text, RenderWindow, Color, RenderTarget}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RenderTarget` [INFO] [stderr] --> src/main.rs:14:73 [INFO] [stderr] | [INFO] [stderr] 14 | use sfml::graphics::{Drawable, RenderStates, Text, RenderWindow, Color, RenderTarget}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 47 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0049, E0308, E0422, E0425, E0432, E0433, E0599, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0049`. [INFO] [stderr] error: Could not compile `rpg`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "802c245f93659b53e2cc37308db538799fb5f0ac972937398b98e833ad807059"` [INFO] running `"docker" "rm" "-f" "802c245f93659b53e2cc37308db538799fb5f0ac972937398b98e833ad807059"` [INFO] [stdout] 802c245f93659b53e2cc37308db538799fb5f0ac972937398b98e833ad807059