[INFO] cloning repository https://github.com/Izzeri/rpg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Izzeri/rpg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIzzeri%2Frpg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIzzeri%2Frpg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] addb9e9d81621c02abd3f14f53768625a40017e1 [INFO] checking Izzeri/rpg against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIzzeri%2Frpg" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Izzeri/rpg on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Izzeri/rpg [INFO] finished tweaking git repo https://github.com/Izzeri/rpg [INFO] tweaked toml for git repo https://github.com/Izzeri/rpg written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Izzeri/rpg already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/jeremyletang/rust-sfml.git` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/jeremyletang/rust-sfml.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 581368eeb362ff5bef13715efea0d7c078193914df855ebe75f7dc7395bf43f4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "581368eeb362ff5bef13715efea0d7c078193914df855ebe75f7dc7395bf43f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "581368eeb362ff5bef13715efea0d7c078193914df855ebe75f7dc7395bf43f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "581368eeb362ff5bef13715efea0d7c078193914df855ebe75f7dc7395bf43f4", kill_on_drop: false }` [INFO] [stdout] 581368eeb362ff5bef13715efea0d7c078193914df855ebe75f7dc7395bf43f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa5b9363137d19a33a53066c6b098712b744ff3bd0b681b77d88f002a042142c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fa5b9363137d19a33a53066c6b098712b744ff3bd0b681b77d88f002a042142c", kill_on_drop: false }` [INFO] [stderr] Compiling sfml-build v0.3.0 (https://github.com/jeremyletang/rust-sfml.git#d71c3b92) [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling csfml-system-sys v0.5.0 (https://github.com/jeremyletang/rust-sfml.git#d71c3b92) [INFO] [stderr] Compiling csfml-window-sys v0.5.0 (https://github.com/jeremyletang/rust-sfml.git#d71c3b92) [INFO] [stderr] Compiling csfml-audio-sys v0.5.0 (https://github.com/jeremyletang/rust-sfml.git#d71c3b92) [INFO] [stderr] Compiling csfml-graphics-sys v0.5.0 (https://github.com/jeremyletang/rust-sfml.git#d71c3b92) [INFO] [stderr] Checking fern v0.6.0 [INFO] [stderr] Compiling lua52-sys v0.1.2 [INFO] [stderr] Checking sfml v0.15.1 (https://github.com/jeremyletang/rust-sfml.git#d71c3b92) [INFO] [stderr] Checking hlua v0.4.1 [INFO] [stderr] Checking rpg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sfml::window::window_style` [INFO] [stdout] --> src/main.rs:15:55 [INFO] [stdout] | [INFO] [stdout] 15 | use sfml::window::{VideoMode, ContextSettings, event, window_style, Key}; [INFO] [stdout] | ^^^^^^^^^^^^ no `window_style` in `window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sfml::window::window_style` [INFO] [stdout] --> src/main.rs:15:55 [INFO] [stdout] | [INFO] [stdout] 15 | use sfml::window::{VideoMode, ContextSettings, event, window_style, Key}; [INFO] [stdout] | ^^^^^^^^^^^^ no `window_style` in `window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `OutputConfig` in `fern` [INFO] [stdout] --> src/main.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | output: vec![fern::OutputConfig::stdout()], [INFO] [stdout] | ^^^^^^^^^^^^ could not find `OutputConfig` in `fern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LogLevelFilter` in `log` [INFO] [stdout] --> src/main.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | level: log::LogLevelFilter::Info, [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `LogLevelFilter` in `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `OutputConfig` in `fern` [INFO] [stdout] --> src/main.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | output: vec![fern::OutputConfig::stdout()], [INFO] [stdout] | ^^^^^^^^^^^^ could not find `OutputConfig` in `fern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LogLevelFilter` in `log` [INFO] [stdout] --> src/main.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | level: log::LogLevelFilter::Info, [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `LogLevelFilter` in `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LogLevelFilter` in `log` [INFO] [stdout] --> src/main.rs:36:66 [INFO] [stdout] | [INFO] [stdout] 36 | if let Err(e) = fern::init_global_logger(logger_config, log::LogLevelFilter::Trace) { [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `LogLevelFilter` in `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DispatchConfig` in crate `fern` [INFO] [stdout] --> src/main.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | let logger_config = fern::DispatchConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `fern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init_global_logger` in crate `fern` [INFO] [stdout] --> src/main.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | if let Err(e) = fern::init_global_logger(logger_config, log::LogLevelFilter::Trace) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `fern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `vector2` is private [INFO] [stdout] --> src/window.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use sfml::system::vector2::Vector2f; [INFO] [stdout] | ^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `vector2` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sfml-57dacbb744fc0106/d71c3b9/src/system/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | mod vector2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LogLevelFilter` in `log` [INFO] [stdout] --> src/main.rs:36:66 [INFO] [stdout] | [INFO] [stdout] 36 | if let Err(e) = fern::init_global_logger(logger_config, log::LogLevelFilter::Trace) { [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `LogLevelFilter` in `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DispatchConfig` in crate `fern` [INFO] [stdout] --> src/main.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | let logger_config = fern::DispatchConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `fern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init_global_logger` in crate `fern` [INFO] [stdout] --> src/main.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | if let Err(e) = fern::init_global_logger(logger_config, log::LogLevelFilter::Trace) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `fern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `vector2` is private [INFO] [stdout] --> src/window.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use sfml::system::vector2::Vector2f; [INFO] [stdout] | ^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `vector2` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sfml-57dacbb744fc0106/d71c3b9/src/system/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | mod vector2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `event` is private [INFO] [stdout] --> src/main.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 15 | use sfml::window::{VideoMode, ContextSettings, event, window_style, Key}; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `event` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sfml-57dacbb744fc0106/d71c3b9/src/window/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `event` is private [INFO] [stdout] --> src/main.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 15 | use sfml::window::{VideoMode, ContextSettings, event, window_style, Key}; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `event` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-sfml-57dacbb744fc0106/d71c3b9/src/window/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transformable` [INFO] [stdout] --> src/text_window.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use sfml::graphics::{Transformable, Text, Drawable, Color, RenderTarget, RenderStates}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transformable` [INFO] [stdout] --> src/text_window.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use sfml::graphics::{Transformable, Text, Drawable, Color, RenderTarget, RenderStates}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0049]: method `draw` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stdout] --> src/window.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | fn draw(&self, target: &mut RT, rs: &mut RenderStates) { [INFO] [stdout] | ^^ found 1 type parameter, expected 0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0049]: method `draw` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stdout] --> src/text_window.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | fn draw(&self, target: &mut RT, rs: &mut RenderStates) { [INFO] [stdout] | ^^ found 1 type parameter, expected 0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0049]: method `draw` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stdout] --> src/window.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | fn draw(&self, target: &mut RT, rs: &mut RenderStates) { [INFO] [stdout] | ^^ found 1 type parameter, expected 0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0049]: method `draw` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stdout] --> src/text_window.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | fn draw(&self, target: &mut RT, rs: &mut RenderStates) { [INFO] [stdout] | ^^ found 1 type parameter, expected 0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_init` found for struct `VideoMode` in the current scope [INFO] [stdout] --> src/main.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | let mut window = RenderWindow::new(VideoMode::new_init(WINDOW_HEIGHT, WINDOW_WIDTH, 32), "SFML", window_style::CLOSE, &settings).unwr... [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `VideoMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_init` found for struct `VideoMode` in the current scope [INFO] [stdout] --> src/main.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | let mut window = RenderWindow::new(VideoMode::new_init(WINDOW_HEIGHT, WINDOW_WIDTH, 32), "SFML", window_style::CLOSE, &settings).unwr... [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `VideoMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `RenderWindow` in the current scope [INFO] [stdout] --> src/main.rs:41:134 [INFO] [stdout] | [INFO] [stdout] 41 | ... 32), "SFML", window_style::CLOSE, &settings).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `RenderWindow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Clock` in the current scope [INFO] [stdout] --> src/main.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | let mut clock = Clock::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Escape` found for struct `Key` in the current scope [INFO] [stdout] --> src/main.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | Key::Escape => { [INFO] [stdout] | ^^^^^^ associated item not found in `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `RenderWindow` in the current scope [INFO] [stdout] --> src/main.rs:41:134 [INFO] [stdout] | [INFO] [stdout] 41 | ... 32), "SFML", window_style::CLOSE, &settings).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `RenderWindow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Clock` in the current scope [INFO] [stdout] --> src/main.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | let mut clock = Clock::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Escape` found for struct `Key` in the current scope [INFO] [stdout] --> src/main.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | Key::Escape => { [INFO] [stdout] | ^^^^^^ associated item not found in `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_init` found for struct `sfml::graphics::Text<'_>` in the current scope [INFO] [stdout] --> src/main.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | let fps_text = Text::new_init(&fps.to_string(), &settings.font, 24).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `sfml::graphics::Text<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_init` found for struct `sfml::graphics::Text<'_>` in the current scope [INFO] [stdout] --> src/main.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | let fps_text = Text::new_init(&fps.to_string(), &settings.font, 24).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `sfml::graphics::Text<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `black` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | window.clear(&Color::black()); [INFO] [stdout] | ^^^^^ function or associated item not found in `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `black` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | window.clear(&Color::black()); [INFO] [stdout] | ^^^^^ function or associated item not found in `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_size` found for struct `Texture` in the current scope [INFO] [stdout] --> src/iconset.rs:18:50 [INFO] [stdout] | [INFO] [stdout] 18 | let Vector2u {x: w, y: h} = self.texture.get_size(); [INFO] [stdout] | ^^^^^^^^ method not found in `Texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/iconset.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | let mut sprite = Sprite::new_with_texture(&self.texture).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_size` found for struct `Texture` in the current scope [INFO] [stdout] --> src/iconset.rs:18:50 [INFO] [stdout] | [INFO] [stdout] 18 | let Vector2u {x: w, y: h} = self.texture.get_size(); [INFO] [stdout] | ^^^^^^^^ method not found in `Texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | let mut top_left_corner = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | let mut top_right_corner = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let mut bottom_left_corner = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:64:47 [INFO] [stdout] | [INFO] [stdout] 64 | let mut bottom_right_corner = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | let mut background = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:73:36 [INFO] [stdout] | [INFO] [stdout] 73 | let mut top_edge = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | let mut bottom_edge = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:83:37 [INFO] [stdout] | [INFO] [stdout] 83 | let mut left_edge = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/iconset.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | let mut sprite = Sprite::new_with_texture(&self.texture).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | let mut right_edge = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | let mut top_left_corner = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | let mut top_right_corner = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 60 | let mut bottom_left_corner = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:64:47 [INFO] [stdout] | [INFO] [stdout] 64 | let mut bottom_right_corner = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | let mut background = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:73:36 [INFO] [stdout] | [INFO] [stdout] 73 | let mut top_edge = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_pixel` found for struct `Image` in the current scope [INFO] [stdout] --> src/window.rs:170:44 [INFO] [stdout] | [INFO] [stdout] 170 | self.skin.copy_to_image().unwrap().get_pixel(pixel_x, pixel_y) [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `set_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | let mut bottom_edge = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:83:37 [INFO] [stdout] | [INFO] [stdout] 83 | let mut left_edge = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_texture` found for struct `RenderTexture` in the current scope [INFO] [stdout] --> src/window.rs:183:43 [INFO] [stdout] | [INFO] [stdout] 183 | let window_texture = &self.window.get_texture().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `RenderTexture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:184:41 [INFO] [stdout] | [INFO] [stdout] 184 | let mut window_sprite = Sprite::new_with_texture(&window_texture).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | let mut right_edge = Sprite::new_with_texture(self.skin).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_rgba` found for struct `Color` in the current scope [INFO] [stdout] --> src/window.rs:188:41 [INFO] [stdout] | [INFO] [stdout] 188 | window_sprite.set_color(&Color::new_rgba(255, 255, 255, window_opacity as u8)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_pixel` found for struct `Image` in the current scope [INFO] [stdout] --> src/window.rs:170:44 [INFO] [stdout] | [INFO] [stdout] 170 | self.skin.copy_to_image().unwrap().get_pixel(pixel_x, pixel_y) [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `set_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_texture` found for struct `RenderTexture` in the current scope [INFO] [stdout] --> src/window.rs:190:46 [INFO] [stdout] | [INFO] [stdout] 190 | let content_texture = &self.contents.get_texture().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `RenderTexture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_texture` found for struct `RenderTexture` in the current scope [INFO] [stdout] --> src/window.rs:183:43 [INFO] [stdout] | [INFO] [stdout] 183 | let window_texture = &self.window.get_texture().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `RenderTexture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:184:41 [INFO] [stdout] | [INFO] [stdout] 184 | let mut window_sprite = Sprite::new_with_texture(&window_texture).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:191:42 [INFO] [stdout] | [INFO] [stdout] 191 | let mut content_sprite = Sprite::new_with_texture(&content_texture).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_rgba` found for struct `Color` in the current scope [INFO] [stdout] --> src/window.rs:188:41 [INFO] [stdout] | [INFO] [stdout] 188 | window_sprite.set_color(&Color::new_rgba(255, 255, 255, window_opacity as u8)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_rgba` found for struct `Color` in the current scope [INFO] [stdout] --> src/window.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | content_sprite.set_color(&Color::new_rgba(255, 255, 255, content_opacity as u8)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_texture` found for struct `RenderTexture` in the current scope [INFO] [stdout] --> src/window.rs:190:46 [INFO] [stdout] | [INFO] [stdout] 190 | let content_texture = &self.contents.get_texture().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `RenderTexture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/window.rs:191:42 [INFO] [stdout] | [INFO] [stdout] 191 | let mut content_sprite = Sprite::new_with_texture(&content_texture).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Sprite<'_>` [INFO] [stdout] | help: there is an associated function with a similar name: `with_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_rgba` found for struct `Color` in the current scope [INFO] [stdout] --> src/window.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | content_sprite.set_color(&Color::new_rgba(255, 255, 255, content_opacity as u8)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_init` found for struct `sfml::graphics::Text<'_>` in the current scope [INFO] [stdout] --> src/text_window.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | text: Text::new_init("", &settings.font, settings.default_font_size).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `sfml::graphics::Text<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_character_size` found for struct `sfml::graphics::Text<'a>` in the current scope [INFO] [stdout] --> src/text_window.rs:69:57 [INFO] [stdout] | [INFO] [stdout] 69 | self.current_pos_y += self.text.get_character_size() as f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `set_character_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_position2f` found for struct `sfml::graphics::Text<'a>` in the current scope [INFO] [stdout] --> src/text_window.rs:77:35 [INFO] [stdout] | [INFO] [stdout] 77 | self.text.set_position2f(self.current_pos_x, self.current_pos_y); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `sfml::graphics::Text<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_local_bounds` found for struct `sfml::graphics::Text<'a>` in the current scope [INFO] [stdout] --> src/text_window.rs:78:57 [INFO] [stdout] | [INFO] [stdout] 78 | self.current_pos_x += self.text.get_local_bounds().width; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `global_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_init` found for struct `sfml::graphics::Text<'_>` in the current scope [INFO] [stdout] --> src/text_window.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | text: Text::new_init("", &settings.font, settings.default_font_size).unwrap(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `sfml::graphics::Text<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_position2f` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/text_window.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | icon.set_position2f(self.current_pos_x, self.current_pos_y); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Sprite<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_local_bounds` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/text_window.rs:184:44 [INFO] [stdout] | [INFO] [stdout] 184 | self.current_pos_x += icon.get_local_bounds().width; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `global_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_color` found for struct `sfml::graphics::Text<'a>` in the current scope [INFO] [stdout] --> src/text_window.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | self.text.set_color(&color); [INFO] [stdout] | ^^^^^^^^^ method not found in `sfml::graphics::Text<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_character_size` found for struct `sfml::graphics::Text<'a>` in the current scope [INFO] [stdout] --> src/text_window.rs:69:57 [INFO] [stdout] | [INFO] [stdout] 69 | self.current_pos_y += self.text.get_character_size() as f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `set_character_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_position2f` found for struct `sfml::graphics::Text<'a>` in the current scope [INFO] [stdout] --> src/text_window.rs:77:35 [INFO] [stdout] | [INFO] [stdout] 77 | self.text.set_position2f(self.current_pos_x, self.current_pos_y); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `sfml::graphics::Text<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_rgba` found for struct `Color` in the current scope [INFO] [stdout] --> src/text_window.rs:221:50 [INFO] [stdout] | [INFO] [stdout] 221 | self.window.get_contents().clear(&Color::new_rgba(0, 0, 0, 0)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_from_file` found for struct `Font` in the current scope [INFO] [stdout] --> src/game_settings_manager.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | font: Font::new_from_file(font_filename).expect("Failed to load font file"), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Font` [INFO] [stdout] | help: there is an associated function with a similar name: `from_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_local_bounds` found for struct `sfml::graphics::Text<'a>` in the current scope [INFO] [stdout] --> src/text_window.rs:78:57 [INFO] [stdout] | [INFO] [stdout] 78 | self.current_pos_x += self.text.get_local_bounds().width; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `global_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_from_file` found for struct `Texture` in the current scope [INFO] [stdout] --> src/game_settings_manager.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | iconset: Iconset::new(Texture::new_from_file(iconset_filename).expect("Failed to load iconset texture"), 24), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Texture` [INFO] [stdout] | help: there is an associated function with a similar name: `from_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_from_file` found for struct `Texture` in the current scope [INFO] [stdout] --> src/game_settings_manager.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | window_skin: Texture::new_from_file(window_skin_filename).expect("Failed to load window skin texture"), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Texture` [INFO] [stdout] | help: there is an associated function with a similar name: `from_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transformable` [INFO] [stdout] --> src/window.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use sfml::graphics::{Drawable, Transformable, Sprite, RenderTexture, Texture, Color, RenderTarget, IntRect, RenderStates}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Drawable` [INFO] [stdout] --> src/main.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use sfml::graphics::{Drawable, RenderStates, Text, RenderWindow, Color, RenderTarget}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderTarget` [INFO] [stdout] --> src/main.rs:14:73 [INFO] [stdout] | [INFO] [stdout] 14 | use sfml::graphics::{Drawable, RenderStates, Text, RenderWindow, Color, RenderTarget}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_position2f` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/text_window.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | icon.set_position2f(self.current_pos_x, self.current_pos_y); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Sprite<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_local_bounds` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/text_window.rs:184:44 [INFO] [stdout] | [INFO] [stdout] 184 | self.current_pos_x += icon.get_local_bounds().width; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `global_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_color` found for struct `sfml::graphics::Text<'a>` in the current scope [INFO] [stdout] --> src/text_window.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 191 | self.text.set_color(&color); [INFO] [stdout] | ^^^^^^^^^ method not found in `sfml::graphics::Text<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rpg` [INFO] [stdout] Some errors have detailed explanations: E0049, E0422, E0425, E0432, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about an error, try `rustc --explain E0049`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0599]: no function or associated item named `new_rgba` found for struct `Color` in the current scope [INFO] [stdout] --> src/text_window.rs:221:50 [INFO] [stdout] | [INFO] [stdout] 221 | self.window.get_contents().clear(&Color::new_rgba(0, 0, 0, 0)); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `new_from_file` found for struct `Font` in the current scope [INFO] [stdout] --> src/game_settings_manager.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | font: Font::new_from_file(font_filename).expect("Failed to load font file"), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Font` [INFO] [stdout] | help: there is an associated function with a similar name: `from_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_from_file` found for struct `Texture` in the current scope [INFO] [stdout] --> src/game_settings_manager.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | iconset: Iconset::new(Texture::new_from_file(iconset_filename).expect("Failed to load iconset texture"), 24), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Texture` [INFO] [stdout] | help: there is an associated function with a similar name: `from_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_from_file` found for struct `Texture` in the current scope [INFO] [stdout] --> src/game_settings_manager.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | window_skin: Texture::new_from_file(window_skin_filename).expect("Failed to load window skin texture"), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `Texture` [INFO] [stdout] | help: there is an associated function with a similar name: `from_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transformable` [INFO] [stdout] --> src/window.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use sfml::graphics::{Drawable, Transformable, Sprite, RenderTexture, Texture, Color, RenderTarget, IntRect, RenderStates}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Drawable` [INFO] [stdout] --> src/main.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use sfml::graphics::{Drawable, RenderStates, Text, RenderWindow, Color, RenderTarget}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderTarget` [INFO] [stdout] --> src/main.rs:14:73 [INFO] [stdout] | [INFO] [stdout] 14 | use sfml::graphics::{Drawable, RenderStates, Text, RenderWindow, Color, RenderTarget}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0049, E0422, E0425, E0432, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0049`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fa5b9363137d19a33a53066c6b098712b744ff3bd0b681b77d88f002a042142c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa5b9363137d19a33a53066c6b098712b744ff3bd0b681b77d88f002a042142c", kill_on_drop: false }` [INFO] [stdout] fa5b9363137d19a33a53066c6b098712b744ff3bd0b681b77d88f002a042142c