[INFO] cloning repository https://github.com/Haggus/polliquad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Haggus/polliquad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaggus%2Fpolliquad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaggus%2Fpolliquad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 310587b0271973d682ad509094fdb1e2e5726a10 [INFO] checking Haggus/polliquad against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaggus%2Fpolliquad" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Haggus/polliquad on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Haggus/polliquad [INFO] finished tweaking git repo https://github.com/Haggus/polliquad [INFO] tweaked toml for git repo https://github.com/Haggus/polliquad written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Haggus/polliquad already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", 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] 6f9fac370654f4e43c054b037866efdacaea468ca6086de91ef693f7f2d7eeab [INFO] running `Command { std: "docker" "start" "-a" "6f9fac370654f4e43c054b037866efdacaea468ca6086de91ef693f7f2d7eeab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f9fac370654f4e43c054b037866efdacaea468ca6086de91ef693f7f2d7eeab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f9fac370654f4e43c054b037866efdacaea468ca6086de91ef693f7f2d7eeab", kill_on_drop: false }` [INFO] [stdout] 6f9fac370654f4e43c054b037866efdacaea468ca6086de91ef693f7f2d7eeab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cbc21cebe8b3a3edef5de24a3cceea11194c727e77cfdb265ea9d00d968545f [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" "3cbc21cebe8b3a3edef5de24a3cceea11194c727e77cfdb265ea9d00d968545f", kill_on_drop: false }` [INFO] [stderr] Compiling sfml-build v0.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Compiling csfml-system-sys v0.6.0 [INFO] [stderr] Compiling csfml-window-sys v0.6.0 [INFO] [stderr] Compiling csfml-graphics-sys v0.6.0 [INFO] [stderr] Compiling csfml-audio-sys v0.6.0 [INFO] [stderr] Checking sfml v0.16.0 [INFO] [stderr] Checking polliquad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sfml::window::Close` [INFO] [stdout] --> src/main.rs:3:55 [INFO] [stdout] | [INFO] [stdout] 3 | use sfml::window::{ContextSettings, VideoMode, event, Close, keyboard}; [INFO] [stdout] | ^^^^^ no `Close` in `window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `event` is private [INFO] [stdout] --> src/main.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | use sfml::window::{ContextSettings, VideoMode, event, Close, keyboard}; [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.16.0/src/window/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `keyboard` is private [INFO] [stdout] --> src/main.rs:3:62 [INFO] [stdout] | [INFO] [stdout] 3 | use sfml::window::{ContextSettings, VideoMode, event, Close, keyboard}; [INFO] [stdout] | ^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `keyboard` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sfml-0.16.0/src/window/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | mod keyboard; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sfml::window::Close` [INFO] [stdout] --> src/main.rs:3:55 [INFO] [stdout] | [INFO] [stdout] 3 | use sfml::window::{ContextSettings, VideoMode, event, Close, keyboard}; [INFO] [stdout] | ^^^^^ no `Close` in `window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `event` is private [INFO] [stdout] --> src/main.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | use sfml::window::{ContextSettings, VideoMode, event, Close, keyboard}; [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.16.0/src/window/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | mod event; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `keyboard` is private [INFO] [stdout] --> src/main.rs:3:62 [INFO] [stdout] | [INFO] [stdout] 3 | use sfml::window::{ContextSettings, VideoMode, event, Close, keyboard}; [INFO] [stdout] | ^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `keyboard` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sfml-0.16.0/src/window/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | mod keyboard; [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:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | let mut window = RenderWindow::new(VideoMode::new_init(800, 600, 32), "Polliquad", Close, &ContextSettings::default()).expect("Window... [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:14:124 [INFO] [stdout] | [INFO] [stdout] 14 | ...lliquad", Close, &ContextSettings::default()).expect("Window could not be created."); [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:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | let mut clock = Clock::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Clock` [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/main.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let font = Font::new_from_file("res/fonts/sansation.ttf").expect("Could not load font."); [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[E0061]: this function takes 3 arguments but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let mut fps = Text::new().expect("Could not create text."); [INFO] [stdout] | ^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sfml-0.16.0/src/graphics/text.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(string: S, font: &'s Font, character_size: u32) -> Text<'s> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for struct `sfml::graphics::Text<'_>` in the current scope [INFO] [stdout] --> src/main.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | let mut fps = Text::new().expect("Could not create text."); [INFO] [stdout] | ^^^^^^ method not found in `sfml::graphics::Text<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `white` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | fps.set_color(&Color::white()); [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:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | let mut window = RenderWindow::new(VideoMode::new_init(800, 600, 32), "Polliquad", Close, &ContextSettings::default()).expect("Window... [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:14:124 [INFO] [stdout] | [INFO] [stdout] 14 | ...lliquad", Close, &ContextSettings::default()).expect("Window could not be created."); [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:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | let mut clock = Clock::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Clock` [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/main.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let font = Font::new_from_file("res/fonts/sansation.ttf").expect("Could not load font."); [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 `black` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | window.clear(&Color::black()); [INFO] [stdout] | ^^^^^ function or associated item not found in `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let mut fps = Text::new().expect("Could not create text."); [INFO] [stdout] | ^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sfml-0.16.0/src/graphics/text.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(string: S, font: &'s Font, character_size: u32) -> Text<'s> { [INFO] [stdout] | ^^^ [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/level.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | tiles: Texture::new_from_file("res/tiles.png").expect("Cannot find: tiles.png") [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 method named `expect` found for struct `sfml::graphics::Text<'_>` in the current scope [INFO] [stdout] --> src/main.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | let mut fps = Text::new().expect("Could not create text."); [INFO] [stdout] | ^^^^^^ method not found in `sfml::graphics::Text<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `white` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | fps.set_color(&Color::white()); [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:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | 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 `expect` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/level.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | let mut sprite = Sprite::new().expect("Cannot create new sprite."); [INFO] [stdout] | ^^^^^^ method not found in `Sprite<'_>` [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/level.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | tiles: Texture::new_from_file("res/tiles.png").expect("Cannot find: tiles.png") [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:36 [INFO] [stdout] | [INFO] [stdout] 4 | use sfml::graphics::{RenderWindow, RenderTarget, Color, Font, Text}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for struct `Sprite<'_>` in the current scope [INFO] [stdout] --> src/level.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | let mut sprite = Sprite::new().expect("Cannot create new sprite."); [INFO] [stdout] | ^^^^^^ method not found in `Sprite<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderTarget` [INFO] [stdout] --> src/main.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use sfml::graphics::{RenderWindow, RenderTarget, Color, Font, Text}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `polliquad` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3cbc21cebe8b3a3edef5de24a3cceea11194c727e77cfdb265ea9d00d968545f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cbc21cebe8b3a3edef5de24a3cceea11194c727e77cfdb265ea9d00d968545f", kill_on_drop: false }` [INFO] [stdout] 3cbc21cebe8b3a3edef5de24a3cceea11194c727e77cfdb265ea9d00d968545f