[INFO] cloning repository https://github.com/Aguachufrei/juego-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aguachufrei/juego-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAguachufrei%2Fjuego-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAguachufrei%2Fjuego-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ad5d5836cf4ccdfac00f87faba7f34b127780bcf
[INFO] checking Aguachufrei/juego-rust against try#ddcf048784667508cd676fef4667f88ae15628a3 for pr-148271
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAguachufrei%2Fjuego-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Aguachufrei/juego-rust
[INFO] finished tweaking git repo https://github.com/Aguachufrei/juego-rust
[INFO] tweaked toml for git repo https://github.com/Aguachufrei/juego-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Aguachufrei/juego-rust on toolchain ddcf048784667508cd676fef4667f88ae15628a3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Aguachufrei/juego-rust 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" "+ddcf048784667508cd676fef4667f88ae15628a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4885442d9e31a22ee2ee1a9cda45ed36ebebcd0ea0d5b08c90842987584fe4f3
[INFO] running `Command { std: "docker" "start" "-a" "4885442d9e31a22ee2ee1a9cda45ed36ebebcd0ea0d5b08c90842987584fe4f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4885442d9e31a22ee2ee1a9cda45ed36ebebcd0ea0d5b08c90842987584fe4f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4885442d9e31a22ee2ee1a9cda45ed36ebebcd0ea0d5b08c90842987584fe4f3", kill_on_drop: false }`
[INFO] [stdout] 4885442d9e31a22ee2ee1a9cda45ed36ebebcd0ea0d5b08c90842987584fe4f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 120850675d4c0cde60bccfc600f0e19cebc18ee33b53d246638659afbcec22c2
[INFO] running `Command { std: "docker" "start" "-a" "120850675d4c0cde60bccfc600f0e19cebc18ee33b53d246638659afbcec22c2", kill_on_drop: false }`
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]    Compiling miniquad v0.4.8
[INFO] [stderr]     Checking bytemuck v1.22.0
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking ttf-parser v0.21.1
[INFO] [stderr]     Checking quad-rand v0.2.3
[INFO] [stderr]     Checking glam v0.27.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling macroquad_macro v0.1.8
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking miniz_oxide v0.8.8
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking flate2 v1.1.1
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking fontdue v0.9.3
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking macroquad v0.4.14
[INFO] [stderr]     Checking juego-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:35:50
[INFO] [stdout]    |
[INFO] [stdout] 35 |         draw::rectangle(x, y, 40.0, 40.0, BLACK, ccamera);
[INFO] [stdout]    |         ---------------                          ^^^^^^^ expected `Camera`, found `&mut Camera`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/draw.rs:3:8
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub fn rectangle(x: f32, y: f32, w:f32, h:f32, col:Color, &cam:screen::Camera){
[INFO] [stdout]    |        ^^^^^^^^^                                          -------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:36:55
[INFO] [stdout]    |
[INFO] [stdout] 36 |         draw::rectangle(-5.0, -5.0, 10.0, 10.0, BLUE, ccamera);
[INFO] [stdout]    |         ---------------                               ^^^^^^^ expected `Camera`, found `&mut Camera`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/draw.rs:3:8
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub fn rectangle(x: f32, y: f32, w:f32, h:f32, col:Color, &cam:screen::Camera){
[INFO] [stdout]    |        ^^^^^^^^^                                          -------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/draw.rs:3:59
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn rectangle(x: f32, y: f32, w:f32, h:f32, col:Color, &cam:screen::Camera){
[INFO] [stdout]   |                                                           ^^^^ -------------- expected due to this
[INFO] [stdout]   |                                                           |
[INFO] [stdout]   |                                                           expected `Camera`, found `&_`
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected struct `screen::Camera`
[INFO] [stdout]           found reference `&_`
[INFO] [stdout] help: to take parameter `cam` by reference, move `&` to the type
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub fn rectangle(x: f32, y: f32, w:f32, h:f32, col:Color, &cam:screen::Camera){
[INFO] [stdout] 3 + pub fn rectangle(x: f32, y: f32, w:f32, h:f32, col:Color, cam:&screen::Camera){
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/draw.rs:26:69
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let (sx1, sy1) = screen::world_to_screen(x+w*(i as f32), y, cam);
[INFO] [stdout]    |                          -----------------------                    ^^^ expected `Camera`, found `&Camera`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/screen.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn world_to_screen(x: f32, y: f32, c: Camera) -> (f32, f32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^                 ---------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/draw.rs:27:85
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let (sx2, sy2) = screen::world_to_screen(x+w*(i as f32), y+h*(rows as f32), cam);
[INFO] [stdout]    |                          -----------------------                                    ^^^ expected `Camera`, found `&Camera`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/screen.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn world_to_screen(x: f32, y: f32, c: Camera) -> (f32, f32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^                 ---------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/draw.rs:31:69
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let (sx1, sy1) = screen::world_to_screen(x, y+h*(j as f32), cam);
[INFO] [stdout]    |                          -----------------------                    ^^^ expected `Camera`, found `&Camera`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/screen.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn world_to_screen(x: f32, y: f32, c: Camera) -> (f32, f32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^                 ---------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/draw.rs:32:85
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let (sx2, sy2) = screen::world_to_screen(x+w*(cols as f32), y+h*(j as f32), cam);
[INFO] [stdout]    |                          -----------------------                                    ^^^ expected `Camera`, found `&Camera`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/screen.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn world_to_screen(x: f32, y: f32, c: Camera) -> (f32, f32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^                 ---------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `juego-rust` (bin "juego-rust") due to 7 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:35:50
[INFO] [stdout]    |
[INFO] [stdout] 35 |         draw::rectangle(x, y, 40.0, 40.0, BLACK, ccamera);
[INFO] [stdout]    |         ---------------                          ^^^^^^^ expected `Camera`, found `&mut Camera`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/draw.rs:3:8
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub fn rectangle(x: f32, y: f32, w:f32, h:f32, col:Color, &cam:screen::Camera){
[INFO] [stdout]    |        ^^^^^^^^^                                          -------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:36:55
[INFO] [stdout]    |
[INFO] [stdout] 36 |         draw::rectangle(-5.0, -5.0, 10.0, 10.0, BLUE, ccamera);
[INFO] [stdout]    |         ---------------                               ^^^^^^^ expected `Camera`, found `&mut Camera`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/draw.rs:3:8
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub fn rectangle(x: f32, y: f32, w:f32, h:f32, col:Color, &cam:screen::Camera){
[INFO] [stdout]    |        ^^^^^^^^^                                          -------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/draw.rs:3:59
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn rectangle(x: f32, y: f32, w:f32, h:f32, col:Color, &cam:screen::Camera){
[INFO] [stdout]   |                                                           ^^^^ -------------- expected due to this
[INFO] [stdout]   |                                                           |
[INFO] [stdout]   |                                                           expected `Camera`, found `&_`
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected struct `screen::Camera`
[INFO] [stdout]           found reference `&_`
[INFO] [stdout] help: to take parameter `cam` by reference, move `&` to the type
[INFO] [stdout]   |
[INFO] [stdout] 3 - pub fn rectangle(x: f32, y: f32, w:f32, h:f32, col:Color, &cam:screen::Camera){
[INFO] [stdout] 3 + pub fn rectangle(x: f32, y: f32, w:f32, h:f32, col:Color, cam:&screen::Camera){
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/draw.rs:26:69
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let (sx1, sy1) = screen::world_to_screen(x+w*(i as f32), y, cam);
[INFO] [stdout]    |                          -----------------------                    ^^^ expected `Camera`, found `&Camera`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/screen.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn world_to_screen(x: f32, y: f32, c: Camera) -> (f32, f32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^                 ---------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/draw.rs:27:85
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let (sx2, sy2) = screen::world_to_screen(x+w*(i as f32), y+h*(rows as f32), cam);
[INFO] [stdout]    |                          -----------------------                                    ^^^ expected `Camera`, found `&Camera`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/screen.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn world_to_screen(x: f32, y: f32, c: Camera) -> (f32, f32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^                 ---------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/draw.rs:31:69
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let (sx1, sy1) = screen::world_to_screen(x, y+h*(j as f32), cam);
[INFO] [stdout]    |                          -----------------------                    ^^^ expected `Camera`, found `&Camera`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/screen.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn world_to_screen(x: f32, y: f32, c: Camera) -> (f32, f32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^                 ---------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/draw.rs:32:85
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let (sx2, sy2) = screen::world_to_screen(x+w*(cols as f32), y+h*(j as f32), cam);
[INFO] [stdout]    |                          -----------------------                                    ^^^ expected `Camera`, found `&Camera`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/screen.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn world_to_screen(x: f32, y: f32, c: Camera) -> (f32, f32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^                 ---------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `juego-rust` (bin "juego-rust" test) due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "120850675d4c0cde60bccfc600f0e19cebc18ee33b53d246638659afbcec22c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "120850675d4c0cde60bccfc600f0e19cebc18ee33b53d246638659afbcec22c2", kill_on_drop: false }`
[INFO] [stdout] 120850675d4c0cde60bccfc600f0e19cebc18ee33b53d246638659afbcec22c2
