[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#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaggus%2Fpolliquad" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Haggus/polliquad on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc9ec1076ae9f24f3c59d61b1823a37ff66f85a2c2943860b71f977d50cf0077 [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" "cc9ec1076ae9f24f3c59d61b1823a37ff66f85a2c2943860b71f977d50cf0077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc9ec1076ae9f24f3c59d61b1823a37ff66f85a2c2943860b71f977d50cf0077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc9ec1076ae9f24f3c59d61b1823a37ff66f85a2c2943860b71f977d50cf0077", kill_on_drop: false }` [INFO] [stdout] cc9ec1076ae9f24f3c59d61b1823a37ff66f85a2c2943860b71f977d50cf0077 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] bb259e0d520f033fd4cc3bff14cc0c1b5a31b5a0a2025a9173a4f29cf2c85117 [INFO] running `Command { std: "docker" "start" "-a" "bb259e0d520f033fd4cc3bff14cc0c1b5a31b5a0a2025a9173a4f29cf2c85117", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling sfml-build v0.3.0 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Compiling csfml-system-sys v0.5.0 [INFO] [stderr] Compiling csfml-window-sys v0.5.0 [INFO] [stderr] Compiling csfml-graphics-sys v0.5.0 [INFO] [stderr] Compiling csfml-audio-sys v0.5.0 [INFO] [stderr] Checking sfml v0.15.1 [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.15.1/src/window/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | 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.15.1/src/window/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | 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.15.1/src/window/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | 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.15.1/src/window/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | 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 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 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] [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 method named `expect` found for struct `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 `Text<'_>` [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] [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 method named `expect` found for struct `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 `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 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 `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 `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 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] 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] For more information about an error, try `rustc --explain E0061`. [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] [stderr] error: could not compile `polliquad` [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0599, E0603. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bb259e0d520f033fd4cc3bff14cc0c1b5a31b5a0a2025a9173a4f29cf2c85117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb259e0d520f033fd4cc3bff14cc0c1b5a31b5a0a2025a9173a4f29cf2c85117", kill_on_drop: false }` [INFO] [stdout] bb259e0d520f033fd4cc3bff14cc0c1b5a31b5a0a2025a9173a4f29cf2c85117