[INFO] cloning repository https://github.com/Amelia10007/rustetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Amelia10007/rustetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmelia10007%2Frustetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmelia10007%2Frustetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 024b1330e82516c019887e50fec5e6b2810d7940 [INFO] checking Amelia10007/rustetris against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmelia10007%2Frustetris" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Amelia10007/rustetris on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Amelia10007/rustetris [INFO] finished tweaking git repo https://github.com/Amelia10007/rustetris [INFO] tweaked toml for git repo https://github.com/Amelia10007/rustetris written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Amelia10007/rustetris 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0b9774aabbc15036881a4e45edac61674a1cb314aa2599ace401d53005ca412 [INFO] running `Command { std: "docker" "start" "-a" "b0b9774aabbc15036881a4e45edac61674a1cb314aa2599ace401d53005ca412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0b9774aabbc15036881a4e45edac61674a1cb314aa2599ace401d53005ca412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0b9774aabbc15036881a4e45edac61674a1cb314aa2599ace401d53005ca412", kill_on_drop: false }` [INFO] [stdout] b0b9774aabbc15036881a4e45edac61674a1cb314aa2599ace401d53005ca412 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37ad60fb77008216b12c778a9669cbdbc7c10f2c54653320e1a9c9b7d869b859 [INFO] running `Command { std: "docker" "start" "-a" "37ad60fb77008216b12c778a9669cbdbc7c10f2c54653320e1a9c9b7d869b859", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking take-if v1.0.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking rustetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/game/animation/drop_cell.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | .take_if(|c| !c.is_empty()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `take_if(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_take_if)]` to the crate attributes to enable `Option::::take_if` [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/game/animation/drop_cell.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | .take_if(|_| !connected_positions.contains(¤t_pos)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `take_if(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_take_if)]` to the crate attributes to enable `Option::::take_if` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/game/animation/drop_cell.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | .take_if(|c| !c.is_empty()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `take_if(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_take_if)]` to the crate attributes to enable `Option::::take_if` [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/game/animation/drop_cell.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | .take_if(|_| !connected_positions.contains(¤t_pos)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `take_if(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_take_if)]` to the crate attributes to enable `Option::::take_if` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `roi` [INFO] [stdout] --> src/game/animation/explosion.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | .flat_map(|roi| roi.iter_pos()) [INFO] [stdout] | ---^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `roi` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/user/input.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn map(&self, key: Key) -> (Option, Option) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustetris` (bin "rustetris") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `roi` [INFO] [stdout] --> src/game/animation/explosion.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | .flat_map(|roi| roi.iter_pos()) [INFO] [stdout] | ---^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `roi` is borrowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/user/input.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn map(&self, key: Key) -> (Option, Option) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustetris` (bin "rustetris" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "37ad60fb77008216b12c778a9669cbdbc7c10f2c54653320e1a9c9b7d869b859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ad60fb77008216b12c778a9669cbdbc7c10f2c54653320e1a9c9b7d869b859", kill_on_drop: false }` [INFO] [stdout] 37ad60fb77008216b12c778a9669cbdbc7c10f2c54653320e1a9c9b7d869b859