[INFO] cloning repository https://github.com/janno-p/vrally [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/janno-p/vrally" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanno-p%2Fvrally", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanno-p%2Fvrally'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 928d3176e7221c61aa1505d680a84603a7ffb14c [INFO] checking janno-p/vrally against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanno-p%2Fvrally" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/janno-p/vrally 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/janno-p/vrally [INFO] finished tweaking git repo https://github.com/janno-p/vrally [INFO] tweaked toml for git repo https://github.com/janno-p/vrally written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/janno-p/vrally 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-5/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f80864d9e97c4cc01a8ed0733dd272a52a77ac764ab66ab3a57c394902d06fc [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" "3f80864d9e97c4cc01a8ed0733dd272a52a77ac764ab66ab3a57c394902d06fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f80864d9e97c4cc01a8ed0733dd272a52a77ac764ab66ab3a57c394902d06fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f80864d9e97c4cc01a8ed0733dd272a52a77ac764ab66ab3a57c394902d06fc", kill_on_drop: false }` [INFO] [stdout] 3f80864d9e97c4cc01a8ed0733dd272a52a77ac764ab66ab3a57c394902d06fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26d282f6287f7b86937cb914553797bd98545be950329bd7a46d45152a4734c4 [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" "26d282f6287f7b86937cb914553797bd98545be950329bd7a46d45152a4734c4", kill_on_drop: false }` [INFO] [stderr] Compiling sfml-build v0.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [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 vrally v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `sfml::window::window_style` [INFO] [stdout] --> src/main.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | window_style }; [INFO] [stdout] | ^^^^^^^^^^^^ no `window_style` in `window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `event` is private [INFO] [stdout] --> src/main.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | 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[E0049]: method `draw` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stdout] --> src/scene/start_scene.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | fn draw(&self, _: &mut RT, _: &mut RenderStates) { [INFO] [stdout] | ^^ found 1 type parameter, expected 0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0049]: method `draw` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stdout] --> src/scene/start_scene.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | fn draw(&self, target: &mut RT, _: &mut RenderStates) { [INFO] [stdout] | ^^ found 1 type parameter, expected 0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sfml::window::window_style` [INFO] [stdout] --> src/main.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | window_style }; [INFO] [stdout] | ^^^^^^^^^^^^ no `window_style` in `window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `event` is private [INFO] [stdout] --> src/main.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | 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[E0049]: method `draw` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stdout] --> src/scene/start_scene.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | fn draw(&self, _: &mut RT, _: &mut RenderStates) { [INFO] [stdout] | ^^ found 1 type parameter, expected 0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0049]: method `draw` has 1 type parameter but its trait declaration has 0 type parameters [INFO] [stdout] --> src/scene/start_scene.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | fn draw(&self, target: &mut RT, _: &mut RenderStates) { [INFO] [stdout] | ^^ found 1 type parameter, expected 0 [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:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | let mut window = RenderWindow::new(VideoMode::new_init(800, 600, 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:23:69 [INFO] [stdout] | [INFO] [stdout] 23 | ... &ContextSettings::default()).expect("Cannot create a new Render Window."); [INFO] [stdout] | ^^^^^^ method not found in `RenderWindow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | let mut circle = CircleShape::new().expect("Error, cannot create ball"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for struct `CircleShape<'_>` in the current scope [INFO] [stdout] --> src/main.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | let mut circle = CircleShape::new().expect("Error, cannot create ball"); [INFO] [stdout] | ^^^^^^ method not found in `CircleShape<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `red` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | circle.set_fill_color(&Color::red()); [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/main.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | background_texture: Texture::new_from_file("data/Images/background.jpg").expect("Cannot create texture!") [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 `events` found for struct `RenderWindow` in the current scope [INFO] [stdout] --> src/main.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | for event in window.events() { [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:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | window.clear(&Color::new_rgb(0, 200, 200)); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_size` found for reference `&RenderWindow` in the current scope [INFO] [stdout] --> src/scene/start_scene.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | let size = target.get_size(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `set_size` [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/scene/start_scene.rs:56:45 [INFO] [stdout] | [INFO] [stdout] 56 | let mut background_sprite = Sprite::new_with_texture(&resources.background_texture).expect("Cannot create sprite!"); [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: `Shape` [INFO] [stdout] --> src/main.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | Shape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transformable` [INFO] [stdout] --> src/main.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | Transformable }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transformable` [INFO] [stdout] --> src/scene/start_scene.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | Transformable }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0049, E0061, E0432, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0049`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vrally` [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:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | let mut window = RenderWindow::new(VideoMode::new_init(800, 600, 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:23:69 [INFO] [stdout] | [INFO] [stdout] 23 | ... &ContextSettings::default()).expect("Cannot create a new Render Window."); [INFO] [stdout] | ^^^^^^ method not found in `RenderWindow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | let mut circle = CircleShape::new().expect("Error, cannot create ball"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for struct `CircleShape<'_>` in the current scope [INFO] [stdout] --> src/main.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | let mut circle = CircleShape::new().expect("Error, cannot create ball"); [INFO] [stdout] | ^^^^^^ method not found in `CircleShape<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `red` found for struct `Color` in the current scope [INFO] [stdout] --> src/main.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | circle.set_fill_color(&Color::red()); [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/main.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | background_texture: Texture::new_from_file("data/Images/background.jpg").expect("Cannot create texture!") [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 `events` found for struct `RenderWindow` in the current scope [INFO] [stdout] --> src/main.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | for event in window.events() { [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:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | window.clear(&Color::new_rgb(0, 200, 200)); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_size` found for reference `&RenderWindow` in the current scope [INFO] [stdout] --> src/scene/start_scene.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | let size = target.get_size(); [INFO] [stdout] | ^^^^^^^^ help: there is an associated function with a similar name: `set_size` [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/scene/start_scene.rs:56:45 [INFO] [stdout] | [INFO] [stdout] 56 | let mut background_sprite = Sprite::new_with_texture(&resources.background_texture).expect("Cannot create sprite!"); [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: `Shape` [INFO] [stdout] --> src/main.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | Shape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transformable` [INFO] [stdout] --> src/main.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | Transformable }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transformable` [INFO] [stdout] --> src/scene/start_scene.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | Transformable }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0049, E0061, E0432, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0049`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "26d282f6287f7b86937cb914553797bd98545be950329bd7a46d45152a4734c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26d282f6287f7b86937cb914553797bd98545be950329bd7a46d45152a4734c4", kill_on_drop: false }` [INFO] [stdout] 26d282f6287f7b86937cb914553797bd98545be950329bd7a46d45152a4734c4