[INFO] cloning repository https://github.com/Tubbles/tetroid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tubbles/tetroid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTubbles%2Ftetroid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTubbles%2Ftetroid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13d55094cdf514fd419338786dc2d56b044e7ed2 [INFO] checking Tubbles/tetroid against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTubbles%2Ftetroid" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tubbles/tetroid on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Tubbles/tetroid [INFO] finished tweaking git repo https://github.com/Tubbles/tetroid [INFO] tweaked toml for git repo https://github.com/Tubbles/tetroid written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Tubbles/tetroid 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d511a15a676962db1bc3c157e110fca70cdf1d665e7450645d687fb5eba777a [INFO] running `Command { std: "docker" "start" "-a" "3d511a15a676962db1bc3c157e110fca70cdf1d665e7450645d687fb5eba777a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d511a15a676962db1bc3c157e110fca70cdf1d665e7450645d687fb5eba777a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d511a15a676962db1bc3c157e110fca70cdf1d665e7450645d687fb5eba777a", kill_on_drop: false }` [INFO] [stdout] 3d511a15a676962db1bc3c157e110fca70cdf1d665e7450645d687fb5eba777a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d63834516149aac05b74bae9d51dbd3dda192047894145d2231d1047d4cc1df9 [INFO] running `Command { std: "docker" "start" "-a" "d63834516149aac05b74bae9d51dbd3dda192047894145d2231d1047d4cc1df9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking tetroid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0499]: cannot borrow `*canvas` as mutable more than once at a time [INFO] [stdout] --> src/res.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 15 | canvas: &mut Canvas, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 47 | cache_pixel_texture(canvas, &texture_creator, col.1, pixel_size)?, [INFO] [stdout] | ^^^^^^ `*canvas` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] ... [INFO] [stdout] 51 | Ok((ttf_atlas, texture_creator, pixel_altas)) [INFO] [stdout] | --------------------------------------------- returning this value requires that `*canvas` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*canvas` as mutable more than once at a time [INFO] [stdout] --> src/res.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 15 | canvas: &mut Canvas, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 47 | cache_pixel_texture(canvas, &texture_creator, col.1, pixel_size)?, [INFO] [stdout] | ^^^^^^ `*canvas` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] ... [INFO] [stdout] 51 | Ok((ttf_atlas, texture_creator, pixel_altas)) [INFO] [stdout] | --------------------------------------------- returning this value requires that `*canvas` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `texture_creator` [INFO] [stdout] --> src/res.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 47 | cache_pixel_texture(canvas, &texture_creator, col.1, pixel_size)?, [INFO] [stdout] | ---------------- `texture_creator` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 51 | Ok((ttf_atlas, texture_creator, pixel_altas)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `texture_creator` [INFO] [stdout] --> src/res.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 47 | cache_pixel_texture(canvas, &texture_creator, col.1, pixel_size)?, [INFO] [stdout] | ---------------- `texture_creator` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 51 | Ok((ttf_atlas, texture_creator, pixel_altas)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `ttf_context` [INFO] [stdout] --> src/res.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 32 | ttf_context.load_font(Path::new(ttf.1), 44)?, [INFO] [stdout] | ----------- `ttf_context` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 51 | Ok((ttf_atlas, texture_creator, pixel_altas)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `ttf_context` [INFO] [stdout] --> src/res.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 32 | ttf_context.load_font(Path::new(ttf.1), 44)?, [INFO] [stdout] | ----------- `ttf_context` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 51 | Ok((ttf_atlas, texture_creator, pixel_altas)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `texture_creator` because it is borrowed [INFO] [stdout] --> src/res.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 15 | canvas: &mut Canvas, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 40 | let texture_creator = canvas.texture_creator(); [INFO] [stdout] | --------------- binding `texture_creator` declared here [INFO] [stdout] ... [INFO] [stdout] 47 | cache_pixel_texture(canvas, &texture_creator, col.1, pixel_size)?, [INFO] [stdout] | ---------------- borrow of `texture_creator` occurs here [INFO] [stdout] ... [INFO] [stdout] 51 | Ok((ttf_atlas, texture_creator, pixel_altas)) [INFO] [stdout] | ---------------^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | | [INFO] [stdout] | | move out of `texture_creator` occurs here [INFO] [stdout] | returning this value requires that `texture_creator` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `texture_creator` because it is borrowed [INFO] [stdout] --> src/res.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 15 | canvas: &mut Canvas, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 40 | let texture_creator = canvas.texture_creator(); [INFO] [stdout] | --------------- binding `texture_creator` declared here [INFO] [stdout] ... [INFO] [stdout] 47 | cache_pixel_texture(canvas, &texture_creator, col.1, pixel_size)?, [INFO] [stdout] | ---------------- borrow of `texture_creator` occurs here [INFO] [stdout] ... [INFO] [stdout] 51 | Ok((ttf_atlas, texture_creator, pixel_altas)) [INFO] [stdout] | ---------------^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | | [INFO] [stdout] | | move out of `texture_creator` occurs here [INFO] [stdout] | returning this value requires that `texture_creator` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `canvas` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 67 | let (ttf_atlas, texture_creator, pixel_altas) = init_res_contexts(&mut canvas, PIXEL_SIZE)?; [INFO] [stdout] | ----------- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 74 | draw(&mut canvas, rendq)?; // Initial draw of the canvas [INFO] [stdout] | ^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 231 | } [INFO] [stdout] | - first borrow might be used here, when `ttf_atlas` is dropped and runs the destructor for type `HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `canvas` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 67 | let (ttf_atlas, texture_creator, pixel_altas) = init_res_contexts(&mut canvas, PIXEL_SIZE)?; [INFO] [stdout] | ----------- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 74 | draw(&mut canvas, rendq)?; // Initial draw of the canvas [INFO] [stdout] | ^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 231 | } [INFO] [stdout] | - first borrow might be used here, when `ttf_atlas` is dropped and runs the destructor for type `HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `canvas` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 67 | let (ttf_atlas, texture_creator, pixel_altas) = init_res_contexts(&mut canvas, PIXEL_SIZE)?; [INFO] [stdout] | ----------- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 95 | draw(&mut canvas, rendq)?; // Initial draw of the canvas [INFO] [stdout] | ^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 231 | } [INFO] [stdout] | - first borrow might be used here, when `ttf_atlas` is dropped and runs the destructor for type `HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `canvas` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 67 | let (ttf_atlas, texture_creator, pixel_altas) = init_res_contexts(&mut canvas, PIXEL_SIZE)?; [INFO] [stdout] | ----------- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 95 | draw(&mut canvas, rendq)?; // Initial draw of the canvas [INFO] [stdout] | ^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 231 | } [INFO] [stdout] | - first borrow might be used here, when `ttf_atlas` is dropped and runs the destructor for type `HashMap>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0505, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0505, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tetroid` (bin "tetroid") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tetroid` (bin "tetroid" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "d63834516149aac05b74bae9d51dbd3dda192047894145d2231d1047d4cc1df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d63834516149aac05b74bae9d51dbd3dda192047894145d2231d1047d4cc1df9", kill_on_drop: false }` [INFO] [stdout] d63834516149aac05b74bae9d51dbd3dda192047894145d2231d1047d4cc1df9 [INFO] checking Tubbles/tetroid against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTubbles%2Ftetroid" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tubbles/tetroid on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Tubbles/tetroid [INFO] finished tweaking git repo https://github.com/Tubbles/tetroid [INFO] tweaked toml for git repo https://github.com/Tubbles/tetroid written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Tubbles/tetroid 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ad76e106ff910901fccd10ae558d194762c5083ccc3e9c85b97f118128ee554 [INFO] running `Command { std: "docker" "start" "-a" "7ad76e106ff910901fccd10ae558d194762c5083ccc3e9c85b97f118128ee554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ad76e106ff910901fccd10ae558d194762c5083ccc3e9c85b97f118128ee554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ad76e106ff910901fccd10ae558d194762c5083ccc3e9c85b97f118128ee554", kill_on_drop: false }` [INFO] [stdout] 7ad76e106ff910901fccd10ae558d194762c5083ccc3e9c85b97f118128ee554 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6abfb4ff46ea101e2b52d6d2904635fc7dc59be00f64b015bf566fe670e6825a [INFO] running `Command { std: "docker" "start" "-a" "6abfb4ff46ea101e2b52d6d2904635fc7dc59be00f64b015bf566fe670e6825a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "6abfb4ff46ea101e2b52d6d2904635fc7dc59be00f64b015bf566fe670e6825a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6abfb4ff46ea101e2b52d6d2904635fc7dc59be00f64b015bf566fe670e6825a", kill_on_drop: false }` [INFO] [stdout] 6abfb4ff46ea101e2b52d6d2904635fc7dc59be00f64b015bf566fe670e6825a