[INFO] cloning repository https://github.com/sai-prasanth-k/bouncyGame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sai-prasanth-k/bouncyGame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsai-prasanth-k%2FbouncyGame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsai-prasanth-k%2FbouncyGame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 283c643e74dc544d9548b5717c73f11553ac878f [INFO] checking sai-prasanth-k/bouncyGame against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsai-prasanth-k%2FbouncyGame" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sai-prasanth-k/bouncyGame [INFO] finished tweaking git repo https://github.com/sai-prasanth-k/bouncyGame [INFO] tweaked toml for git repo https://github.com/sai-prasanth-k/bouncyGame written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sai-prasanth-k/bouncyGame on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sai-prasanth-k/bouncyGame already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57e26ab687a05d02383dbfd77f6574de63c9796e694994518310d835e985ae88 [INFO] running `Command { std: "docker" "start" "-a" "57e26ab687a05d02383dbfd77f6574de63c9796e694994518310d835e985ae88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57e26ab687a05d02383dbfd77f6574de63c9796e694994518310d835e985ae88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57e26ab687a05d02383dbfd77f6574de63c9796e694994518310d835e985ae88", kill_on_drop: false }` [INFO] [stdout] 57e26ab687a05d02383dbfd77f6574de63c9796e694994518310d835e985ae88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72295eb816be211abd24ad0ae414388c5d6a86aa237a40f3d469eb2237104f1b [INFO] running `Command { std: "docker" "start" "-a" "72295eb816be211abd24ad0ae414388c5d6a86aa237a40f3d469eb2237104f1b", kill_on_drop: false }` [INFO] [stderr] Checking bouncyGame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `frame` in this scope [INFO] [stdout] --> src/main.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | self.ball.bounce(&self, frame); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the available field [INFO] [stdout] | [INFO] [stdout] 46 | self.ball.bounce(&self, self.frame); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `slef` in this scope [INFO] [stdout] --> src/main.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | if slef.ball.x == x as i32 && self.ball.y == y as i32 { [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `frame` in this scope [INFO] [stdout] --> src/main.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | self.ball.bounce(&self, frame); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use the available field [INFO] [stdout] | [INFO] [stdout] 46 | self.ball.bounce(&self, self.frame); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `slef` in this scope [INFO] [stdout] --> src/main.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | if slef.ball.x == x as i32 && self.ball.y == y as i32 { [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Frame` has no field named `heigth` [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | heigth: 31 [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 35 - heigth: 31 [INFO] [stdout] 35 + height: 31 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Frame` has no field named `heigth` [INFO] [stdout] --> src/main.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | heigth: 31 [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 35 - heigth: 31 [INFO] [stdout] 35 + height: 31 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | self.ball.bounce(&self, frame); [INFO] [stdout] | ^^^^^^ ----- ----- unexpected argument #2 [INFO] [stdout] | | [INFO] [stdout] | expected `&Frame`, found `&&mut Game` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Frame` [INFO] [stdout] found reference `&&mut Game` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn bounce(&mut self, frame: &Frame){ [INFO] [stdout] | ^^^^^^ ------------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 46 - self.ball.bounce(&self, frame); [INFO] [stdout] 46 + self.ball.bounce(/* &Frame */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>{ [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 102 | write!(fmt, "\n"); [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::fmt::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `step` found for struct `Game` in the current scope [INFO] [stdout] --> src/main.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 25 | struct Game{ [INFO] [stdout] | ----------- method `step` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 113 | new_game.step(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `stop` with a similar name [INFO] [stdout] | [INFO] [stdout] 113 - new_game.step(); [INFO] [stdout] 113 + new_game.stop(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | self.ball.bounce(&self, frame); [INFO] [stdout] | ^^^^^^ ----- ----- unexpected argument #2 [INFO] [stdout] | | [INFO] [stdout] | expected `&Frame`, found `&&mut Game` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Frame` [INFO] [stdout] found reference `&&mut Game` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn bounce(&mut self, frame: &Frame){ [INFO] [stdout] | ^^^^^^ ------------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 46 - self.ball.bounce(&self, frame); [INFO] [stdout] 46 + self.ball.bounce(/* &Frame */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bouncyGame` (bin "bouncyGame" test) due to 6 previous errors; 1 warning emitted [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>{ [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 102 | write!(fmt, "\n"); [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::fmt::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `step` found for struct `Game` in the current scope [INFO] [stdout] --> src/main.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 25 | struct Game{ [INFO] [stdout] | ----------- method `step` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 113 | new_game.step(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `stop` with a similar name [INFO] [stdout] | [INFO] [stdout] 113 - new_game.step(); [INFO] [stdout] 113 + new_game.stop(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bouncyGame` (bin "bouncyGame") due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "72295eb816be211abd24ad0ae414388c5d6a86aa237a40f3d469eb2237104f1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72295eb816be211abd24ad0ae414388c5d6a86aa237a40f3d469eb2237104f1b", kill_on_drop: false }` [INFO] [stdout] 72295eb816be211abd24ad0ae414388c5d6a86aa237a40f3d469eb2237104f1b