[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordSentox%2Frust_sfml_test" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LordSentox/rust_sfml_test 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/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-4/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] error: the lock file /workspace/builds/worker-4/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] Updating git repository `https://github.com/jeremyletang/rust-sfml` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] ea5f2e812e32af218e8a3962127af27a9a76f1a804705fb0ec0e4e835467b336 [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" "ea5f2e812e32af218e8a3962127af27a9a76f1a804705fb0ec0e4e835467b336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea5f2e812e32af218e8a3962127af27a9a76f1a804705fb0ec0e4e835467b336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea5f2e812e32af218e8a3962127af27a9a76f1a804705fb0ec0e4e835467b336", kill_on_drop: false }` [INFO] [stdout] ea5f2e812e32af218e8a3962127af27a9a76f1a804705fb0ec0e4e835467b336 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 18119b8445687e1e6a6f29a8c093f0e21bf90335227db8783b48c8844a306eb1 [INFO] running `Command { std: "docker" "start" "-a" "18119b8445687e1e6a6f29a8c093f0e21bf90335227db8783b48c8844a306eb1", 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#d71c3b92) [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Compiling csfml-system-sys v0.5.0 (https://github.com/jeremyletang/rust-sfml#d71c3b92) [INFO] [stderr] Compiling csfml-window-sys v0.5.0 (https://github.com/jeremyletang/rust-sfml#d71c3b92) [INFO] [stderr] Compiling csfml-graphics-sys v0.5.0 (https://github.com/jeremyletang/rust-sfml#d71c3b92) [INFO] [stderr] Compiling csfml-audio-sys v0.5.0 (https://github.com/jeremyletang/rust-sfml#d71c3b92) [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking sfml v0.15.1 (https://github.com/jeremyletang/rust-sfml#d71c3b92) [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/d71c3b9/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/d71c3b9/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 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 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 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 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_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] 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] 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] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [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] 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" "18119b8445687e1e6a6f29a8c093f0e21bf90335227db8783b48c8844a306eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18119b8445687e1e6a6f29a8c093f0e21bf90335227db8783b48c8844a306eb1", kill_on_drop: false }` [INFO] [stdout] 18119b8445687e1e6a6f29a8c093f0e21bf90335227db8783b48c8844a306eb1