[INFO] cloning repository https://github.com/LordSentox/rust_sfml_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LordSentox/rust_sfml_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordSentox%2Frust_sfml_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordSentox%2Frust_sfml_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 318c3810c8c55b2dc9325cac7d188586bbc7c5aa [INFO] checking LordSentox/rust_sfml_test against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordSentox%2Frust_sfml_test" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LordSentox/rust_sfml_test on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LordSentox/rust_sfml_test [INFO] finished tweaking git repo https://github.com/LordSentox/rust_sfml_test [INFO] tweaked toml for git repo https://github.com/LordSentox/rust_sfml_test written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/LordSentox/rust_sfml_test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (rand) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.rand.rand [INFO] [stderr] Updating git repository `https://github.com/jeremyletang/rust-sfml` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/jeremyletang/rust-sfml` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (rand) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.rand.rand [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded widestring v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc2af50981a8b6f5f9bc48c17be5d64415a4575fccb747ee94be584164330792 [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" "fc2af50981a8b6f5f9bc48c17be5d64415a4575fccb747ee94be584164330792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc2af50981a8b6f5f9bc48c17be5d64415a4575fccb747ee94be584164330792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc2af50981a8b6f5f9bc48c17be5d64415a4575fccb747ee94be584164330792", kill_on_drop: false }` [INFO] [stdout] fc2af50981a8b6f5f9bc48c17be5d64415a4575fccb747ee94be584164330792 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6bf38e65c24497405b90079cfe337645faf1c2a598ec9457e92d0826c24f589 [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" "e6bf38e65c24497405b90079cfe337645faf1c2a598ec9457e92d0826c24f589", kill_on_drop: false }` [INFO] [stderr] warning: dependency (rand) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.rand.rand [INFO] [stderr] Compiling sfml-build v0.3.0 (https://github.com/jeremyletang/rust-sfml#19ff8b8c) [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Compiling csfml-system-sys v0.5.0 (https://github.com/jeremyletang/rust-sfml#19ff8b8c) [INFO] [stderr] Compiling csfml-window-sys v0.5.0 (https://github.com/jeremyletang/rust-sfml#19ff8b8c) [INFO] [stderr] Compiling csfml-graphics-sys v0.5.0 (https://github.com/jeremyletang/rust-sfml#19ff8b8c) [INFO] [stderr] Compiling csfml-audio-sys v0.5.0 (https://github.com/jeremyletang/rust-sfml#19ff8b8c) [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sfml v0.15.1 (https://github.com/jeremyletang/rust-sfml#19ff8b8c) [INFO] [stderr] Checking rust_sfml_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sfml::window::window_style` [INFO] [stdout] --> src/main.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use sfml::window::{Key, VideoMode, event, window_style, ContextSettings}; [INFO] [stdout] | ^^^^^^^^^^^^ no `window_style` in `window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `event` is private [INFO] [stdout] --> src/main.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use sfml::window::{Key, VideoMode, event, window_style, ContextSettings}; [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/19ff8b8/src/window/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sfml::window::window_style` [INFO] [stdout] --> src/main.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use sfml::window::{Key, VideoMode, event, window_style, ContextSettings}; [INFO] [stdout] | ^^^^^^^^^^^^ no `window_style` in `window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `event` is private [INFO] [stdout] --> src/main.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use sfml::window::{Key, VideoMode, event, window_style, ContextSettings}; [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/19ff8b8/src/window/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod event; [INFO] [stdout] | ^^^^^^^^^^ [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:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | let mut window = RenderWindow::new(VideoMode::new_init(game_width, game_height, 32), [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:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | .unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `RenderWindow` [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:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let sprite = Sprite::new_with_texture(texture_manager.find("resources/frank.jpeg").unwrap()).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 associated item named `Escape` found for struct `Key` in the current scope [INFO] [stdout] --> src/main.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | Key::Escape => return, [INFO] [stdout] | ^^^^^^ associated item not found in `Key` [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:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | window.clear(&Color::new_rgb(50, 200, 50)); [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 `Texture` in the current scope [INFO] [stdout] --> src/texture_manager.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 20 | let mut texture = match Texture::new_from_file(name) { [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: `RenderTarget` [INFO] [stdout] --> src/main.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use sfml::graphics::{Color, RenderTarget, RenderWindow, Sprite}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_sfml_test` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | let mut window = RenderWindow::new(VideoMode::new_init(game_width, game_height, 32), [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:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | .unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `RenderWindow` [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:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let sprite = Sprite::new_with_texture(texture_manager.find("resources/frank.jpeg").unwrap()).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 associated item named `Escape` found for struct `Key` in the current scope [INFO] [stdout] --> src/main.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | Key::Escape => return, [INFO] [stdout] | ^^^^^^ associated item not found in `Key` [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:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | window.clear(&Color::new_rgb(50, 200, 50)); [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 `Texture` in the current scope [INFO] [stdout] --> src/texture_manager.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 20 | let mut texture = match Texture::new_from_file(name) { [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: `RenderTarget` [INFO] [stdout] --> src/main.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use sfml::graphics::{Color, RenderTarget, RenderWindow, Sprite}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e6bf38e65c24497405b90079cfe337645faf1c2a598ec9457e92d0826c24f589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6bf38e65c24497405b90079cfe337645faf1c2a598ec9457e92d0826c24f589", kill_on_drop: false }` [INFO] [stdout] e6bf38e65c24497405b90079cfe337645faf1c2a598ec9457e92d0826c24f589