[INFO] cloning repository https://github.com/Crejak/rust-mandelbrot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Crejak/rust-mandelbrot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrejak%2Frust-mandelbrot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrejak%2Frust-mandelbrot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e264ec9bc28fa14c56214d18c95e71ba0bb66928 [INFO] checking Crejak/rust-mandelbrot against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrejak%2Frust-mandelbrot" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Crejak/rust-mandelbrot 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/Crejak/rust-mandelbrot [INFO] finished tweaking git repo https://github.com/Crejak/rust-mandelbrot [INFO] tweaked toml for git repo https://github.com/Crejak/rust-mandelbrot written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/Crejak/rust-mandelbrot 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] error: the lock file /workspace/builds/worker-14/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded complex v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 8c678fb7ab07a702cc694a246261e52dd1a73f9ee83e5b94dbc8bbcaff4a7818 [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" "8c678fb7ab07a702cc694a246261e52dd1a73f9ee83e5b94dbc8bbcaff4a7818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c678fb7ab07a702cc694a246261e52dd1a73f9ee83e5b94dbc8bbcaff4a7818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c678fb7ab07a702cc694a246261e52dd1a73f9ee83e5b94dbc8bbcaff4a7818", kill_on_drop: false }` [INFO] [stdout] 8c678fb7ab07a702cc694a246261e52dd1a73f9ee83e5b94dbc8bbcaff4a7818 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 52f09aa1bcf849e03d5d7baa0e167b4bf48a4322a0d50c70ec9f93356e98c279 [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" "52f09aa1bcf849e03d5d7baa0e167b4bf48a4322a0d50c70ec9f93356e98c279", kill_on_drop: false }` [INFO] [stderr] Compiling sfml-build v0.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Checking complex v0.8.0 [INFO] [stderr] Compiling csfml-system-sys v0.5.0 [INFO] [stderr] Compiling csfml-window-sys v0.5.0 [INFO] [stderr] Compiling csfml-audio-sys v0.5.0 [INFO] [stderr] Compiling csfml-graphics-sys v0.5.0 [INFO] [stderr] Checking sfml v0.15.1 [INFO] [stderr] Checking mandelbrot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sfml::window::mouse::MouseButton` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sfml::window::mouse::MouseButton; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MouseButton` in `window::mouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sfml::window::WindowStyle` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sfml::window::WindowStyle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `WindowStyle` in `window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sfml::window::mouse::MouseButton` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sfml::window::mouse::MouseButton; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MouseButton` in `window::mouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sfml::window::WindowStyle` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sfml::window::WindowStyle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `WindowStyle` in `window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:193:29 [INFO] [stdout] | [INFO] [stdout] 193 | let mut z = c64::new(0.0, 0.0); [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 235 | let mut z = c64::new(0.0, 0.0); [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:277:29 [INFO] [stdout] | [INFO] [stdout] 277 | let mut z = c64::new(0.0, 0.0); [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:319:29 [INFO] [stdout] | [INFO] [stdout] 319 | let mut z = c64::new(0.0, 0.0); [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:193:29 [INFO] [stdout] | [INFO] [stdout] 193 | let mut z = c64::new(0.0, 0.0); [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | c64::new(x as f64 * plan.width / image_dim.width as f64 + plan.left, y as f64 * plan.height / image_dim.height as f64 + plan.up) [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:235:29 [INFO] [stdout] | [INFO] [stdout] 235 | let mut z = c64::new(0.0, 0.0); [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:424:45 [INFO] [stdout] | [INFO] [stdout] 424 | ... let mut z = c64::new(0.0, 0.0); [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:466:45 [INFO] [stdout] | [INFO] [stdout] 466 | ... let mut z = c64::new(0.0, 0.0); [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:277:29 [INFO] [stdout] | [INFO] [stdout] 277 | let mut z = c64::new(0.0, 0.0); [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:508:45 [INFO] [stdout] | [INFO] [stdout] 508 | ... let mut z = c64::new(0.0, 0.0); [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:550:45 [INFO] [stdout] | [INFO] [stdout] 550 | ... let mut z = c64::new(0.0, 0.0); [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:319:29 [INFO] [stdout] | [INFO] [stdout] 319 | let mut z = c64::new(0.0, 0.0); [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c64` in this scope [INFO] [stdout] --> src/main.rs:360:64 [INFO] [stdout] | [INFO] [stdout] 360 | fn scale(x: i32, y: i32, image_dim: &ImageDim, plan: &Plan) -> c64 { [INFO] [stdout] | ^^^ help: a builtin type with a similar name exists: `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `event` is private [INFO] [stdout] --> src/main.rs:6:48 [INFO] [stdout] | [INFO] [stdout] 6 | use sfml::window::{ContextSettings, VideoMode, event}; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `event` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sfml-0.15.1/src/window/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | c64::new(x as f64 * plan.width / image_dim.width as f64 + plan.left, y as f64 * plan.height / image_dim.height as f64 + plan.up) [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:424:45 [INFO] [stdout] | [INFO] [stdout] 424 | ... let mut z = c64::new(0.0, 0.0); [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:466:45 [INFO] [stdout] | [INFO] [stdout] 466 | ... let mut z = c64::new(0.0, 0.0); [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:508:45 [INFO] [stdout] | [INFO] [stdout] 508 | ... let mut z = c64::new(0.0, 0.0); [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c64` [INFO] [stdout] --> src/main.rs:550:45 [INFO] [stdout] | [INFO] [stdout] 550 | ... let mut z = c64::new(0.0, 0.0); [INFO] [stdout] | ^^^ use of undeclared crate or module `c64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c64` in this scope [INFO] [stdout] --> src/main.rs:360:64 [INFO] [stdout] | [INFO] [stdout] 360 | fn scale(x: i32, y: i32, image_dim: &ImageDim, plan: &Plan) -> c64 { [INFO] [stdout] | ^^^ help: a builtin type with a similar name exists: `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `event` is private [INFO] [stdout] --> src/main.rs:6:48 [INFO] [stdout] | [INFO] [stdout] 6 | use sfml::window::{ContextSettings, VideoMode, event}; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `event` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sfml-0.15.1/src/window/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | mod event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `complex::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use complex::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `complex::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use complex::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `red` on type `&Color` [INFO] [stdout] --> src/main.rs:172:42 [INFO] [stdout] | [INFO] [stdout] 172 | self.buffer[color_index] = color.red; [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `r`, `g`, `b`, `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `green` on type `&Color` [INFO] [stdout] --> src/main.rs:173:44 [INFO] [stdout] | [INFO] [stdout] 173 | self.buffer[color_index+1] = color.green; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `r`, `g`, `b`, `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `blue` on type `&Color` [INFO] [stdout] --> src/main.rs:174:44 [INFO] [stdout] | [INFO] [stdout] 174 | self.buffer[color_index+2] = color.blue; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `r`, `g`, `b`, `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:189:40 [INFO] [stdout] | [INFO] [stdout] 189 | let mut non_set_color = Color::new_rgb(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_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | let mut non_set_color = Color::new_rgb(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_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:273:40 [INFO] [stdout] | [INFO] [stdout] 273 | let mut non_set_color = Color::new_rgb(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_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:315:40 [INFO] [stdout] | [INFO] [stdout] 315 | let mut non_set_color = Color::new_rgb(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_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:409:44 [INFO] [stdout] | [INFO] [stdout] 409 | let set_color = Color::new_rgb(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_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:420:56 [INFO] [stdout] | [INFO] [stdout] 420 | let mut non_set_color = Color::new_rgb(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_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:462:56 [INFO] [stdout] | [INFO] [stdout] 462 | let mut non_set_color = Color::new_rgb(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_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:504:56 [INFO] [stdout] | [INFO] [stdout] 504 | let mut non_set_color = Color::new_rgb(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_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:546:56 [INFO] [stdout] | [INFO] [stdout] 546 | let mut non_set_color = Color::new_rgb(0, 0, 0); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `red` on type `&Color` [INFO] [stdout] --> src/main.rs:172:42 [INFO] [stdout] | [INFO] [stdout] 172 | self.buffer[color_index] = color.red; [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `r`, `g`, `b`, `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `green` on type `&Color` [INFO] [stdout] --> src/main.rs:173:44 [INFO] [stdout] | [INFO] [stdout] 173 | self.buffer[color_index+1] = color.green; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `r`, `g`, `b`, `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `blue` on type `&Color` [INFO] [stdout] --> src/main.rs:174:44 [INFO] [stdout] | [INFO] [stdout] 174 | self.buffer[color_index+2] = color.blue; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `r`, `g`, `b`, `a` [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:608:67 [INFO] [stdout] | [INFO] [stdout] 608 | let mut window = RenderWindow::new(VideoMode::new_init(image_dim.width as u32, image_dim.height as u32, 32), [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_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:189:40 [INFO] [stdout] | [INFO] [stdout] 189 | let mut non_set_color = Color::new_rgb(0, 0, 0); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for struct `RenderWindow` in the current scope [INFO] [stdout] --> src/main.rs:611:81 [INFO] [stdout] | [INFO] [stdout] 611 | ... &ContextSettings::default()).expect("Couldn't create RenderWindow"); [INFO] [stdout] | ^^^^^^ method not found in `RenderWindow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:615:59 [INFO] [stdout] | [INFO] [stdout] 615 | let mut img = draw_mandelbrot(&Color::new_rgb(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_image` found for struct `Texture` in the current scope [INFO] [stdout] --> src/main.rs:619:44 [INFO] [stdout] | [INFO] [stdout] 619 | let mut tex = Texture::new_from_image(&img).unwrap(); [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_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_init` found for struct `RectangleShape<'_>` in the current scope [INFO] [stdout] --> src/main.rs:622:52 [INFO] [stdout] | [INFO] [stdout] 622 | let mut rect = RectangleShape::new_init(&Vector2f::new(90., 60.)).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `RectangleShape<'_>` [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/main.rs:624:49 [INFO] [stdout] | [INFO] [stdout] 624 | rect.set_fill_color(&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_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:625:52 [INFO] [stdout] | [INFO] [stdout] 625 | rect.set_outline_color(&Color::new_rgb(255, 255, 255)); [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_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:659:59 [INFO] [stdout] | [INFO] [stdout] 659 | ... img = draw_mandelbrot(&Color::new_rgb(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_image` found for struct `Texture` in the current scope [INFO] [stdout] --> src/main.rs:663:44 [INFO] [stdout] | [INFO] [stdout] 663 | ... tex = Texture::new_from_image(&img).unwrap(); [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_image` [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:667:46 [INFO] [stdout] | [INFO] [stdout] 667 | 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 `new_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | let mut non_set_color = Color::new_rgb(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_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/main.rs:668:46 [INFO] [stdout] | [INFO] [stdout] 668 | window.draw(&Sprite::new_with_texture(&tex).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] warning: unused import: `RenderTarget` [INFO] [stdout] --> src/main.rs:4:53 [INFO] [stdout] | [INFO] [stdout] 4 | use sfml::graphics::{Texture, Sprite, RenderWindow, RenderTarget, Image, Color, RectangleShape, Shape, Transformable}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shape` [INFO] [stdout] --> src/main.rs:4:97 [INFO] [stdout] | [INFO] [stdout] 4 | use sfml::graphics::{Texture, Sprite, RenderWindow, RenderTarget, Image, Color, RectangleShape, Shape, Transformable}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transformable` [INFO] [stdout] --> src/main.rs:4:104 [INFO] [stdout] | [INFO] [stdout] 4 | use sfml::graphics::{Texture, Sprite, RenderWindow, RenderTarget, Image, Color, RectangleShape, Shape, Transformable}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:273:40 [INFO] [stdout] | [INFO] [stdout] 273 | let mut non_set_color = Color::new_rgb(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_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:315:40 [INFO] [stdout] | [INFO] [stdout] 315 | let mut non_set_color = Color::new_rgb(0, 0, 0); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 36 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599, E0603, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mandelbrot` [INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:409:44 [INFO] [stdout] | [INFO] [stdout] 409 | let set_color = Color::new_rgb(0, 0, 0); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:420:56 [INFO] [stdout] | [INFO] [stdout] 420 | let mut non_set_color = Color::new_rgb(0, 0, 0); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:462:56 [INFO] [stdout] | [INFO] [stdout] 462 | let mut non_set_color = Color::new_rgb(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_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:504:56 [INFO] [stdout] | [INFO] [stdout] 504 | let mut non_set_color = Color::new_rgb(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_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:546:56 [INFO] [stdout] | [INFO] [stdout] 546 | let mut non_set_color = Color::new_rgb(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_init` found for struct `VideoMode` in the current scope [INFO] [stdout] --> src/main.rs:608:67 [INFO] [stdout] | [INFO] [stdout] 608 | let mut window = RenderWindow::new(VideoMode::new_init(image_dim.width as u32, image_dim.height as u32, 32), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `VideoMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for struct `RenderWindow` in the current scope [INFO] [stdout] --> src/main.rs:611:81 [INFO] [stdout] | [INFO] [stdout] 611 | ... &ContextSettings::default()).expect("Couldn't create RenderWindow"); [INFO] [stdout] | ^^^^^^ method not found in `RenderWindow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:615:59 [INFO] [stdout] | [INFO] [stdout] 615 | let mut img = draw_mandelbrot(&Color::new_rgb(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_image` found for struct `Texture` in the current scope [INFO] [stdout] --> src/main.rs:619:44 [INFO] [stdout] | [INFO] [stdout] 619 | let mut tex = Texture::new_from_image(&img).unwrap(); [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_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_init` found for struct `RectangleShape<'_>` in the current scope [INFO] [stdout] --> src/main.rs:622:52 [INFO] [stdout] | [INFO] [stdout] 622 | let mut rect = RectangleShape::new_init(&Vector2f::new(90., 60.)).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `RectangleShape<'_>` [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/main.rs:624:49 [INFO] [stdout] | [INFO] [stdout] 624 | rect.set_fill_color(&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_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:625:52 [INFO] [stdout] | [INFO] [stdout] 625 | rect.set_outline_color(&Color::new_rgb(255, 255, 255)); [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_rgb` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:659:59 [INFO] [stdout] | [INFO] [stdout] 659 | ... img = draw_mandelbrot(&Color::new_rgb(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_image` found for struct `Texture` in the current scope [INFO] [stdout] --> src/main.rs:663:44 [INFO] [stdout] | [INFO] [stdout] 663 | ... tex = Texture::new_from_image(&img).unwrap(); [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_image` [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:667:46 [INFO] [stdout] | [INFO] [stdout] 667 | 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 `new_with_texture` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/main.rs:668:46 [INFO] [stdout] | [INFO] [stdout] 668 | window.draw(&Sprite::new_with_texture(&tex).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] warning: unused import: `RenderTarget` [INFO] [stdout] --> src/main.rs:4:53 [INFO] [stdout] | [INFO] [stdout] 4 | use sfml::graphics::{Texture, Sprite, RenderWindow, RenderTarget, Image, Color, RectangleShape, Shape, Transformable}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shape` [INFO] [stdout] --> src/main.rs:4:97 [INFO] [stdout] | [INFO] [stdout] 4 | use sfml::graphics::{Texture, Sprite, RenderWindow, RenderTarget, Image, Color, RectangleShape, Shape, Transformable}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transformable` [INFO] [stdout] --> src/main.rs:4:104 [INFO] [stdout] | [INFO] [stdout] 4 | use sfml::graphics::{Texture, Sprite, RenderWindow, RenderTarget, Image, Color, RectangleShape, Shape, Transformable}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 36 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599, E0603, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "52f09aa1bcf849e03d5d7baa0e167b4bf48a4322a0d50c70ec9f93356e98c279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52f09aa1bcf849e03d5d7baa0e167b4bf48a4322a0d50c70ec9f93356e98c279", kill_on_drop: false }` [INFO] [stdout] 52f09aa1bcf849e03d5d7baa0e167b4bf48a4322a0d50c70ec9f93356e98c279