[INFO] cloning repository https://github.com/totem3/poyo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/totem3/poyo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotem3%2Fpoyo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotem3%2Fpoyo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d14e1eea0bceae5c4b4403724faec98fc3163ab [INFO] checking totem3/poyo against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotem3%2Fpoyo" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/totem3/poyo on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/.cargo/config [INFO] started tweaking git repo https://github.com/totem3/poyo [INFO] finished tweaking git repo https://github.com/totem3/poyo [INFO] tweaked toml for git repo https://github.com/totem3/poyo written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/totem3/poyo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ncurses v5.85.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64c8ed461dc437ec9626d3c06275c3361a29c1b2239e2ff62a153611b30d3e8b [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" "64c8ed461dc437ec9626d3c06275c3361a29c1b2239e2ff62a153611b30d3e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64c8ed461dc437ec9626d3c06275c3361a29c1b2239e2ff62a153611b30d3e8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64c8ed461dc437ec9626d3c06275c3361a29c1b2239e2ff62a153611b30d3e8b", kill_on_drop: false }` [INFO] [stdout] 64c8ed461dc437ec9626d3c06275c3361a29c1b2239e2ff62a153611b30d3e8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29c863beaaf33e7e21d786d6ecb6de9d253f1324b7d88172a1651f226bf48852 [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" "29c863beaaf33e7e21d786d6ecb6de9d253f1324b7d88172a1651f226bf48852", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.45 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Compiling ncurses v5.85.0 [INFO] [stderr] Checking curses v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `event::Event` [INFO] [stdout] --> src/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use event::Event; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> src/cli.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stderr` [INFO] [stdout] --> src/field.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | use std::io::stderr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/field.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sender` [INFO] [stdout] --> src/main.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | use std::sync::mpsc::{channel, Sender, Receiver}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `event::Event` [INFO] [stdout] --> src/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use event::Event; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> src/cli.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sender` [INFO] [stdout] --> src/main.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | use std::sync::mpsc::{channel, Sender, Receiver}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut input = Input::new(tx.clone()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut tx = tx.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_size` [INFO] [stdout] --> src/cli.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | max_size: Size, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/cli.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | size: Size, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `width` [INFO] [stdout] --> src/cli.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `height` [INFO] [stdout] --> src/cli.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/poyopoyo.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(p1: Poyo, p2: Poyo) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top` [INFO] [stdout] --> src/poyopoyo.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn top(&self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | ... tx.send(Event::FrameUpdate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | ... tx.send(Event::Tick); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/field.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | self.tx.send(Event::MovePoyo(self.poyos.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/input.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | ... self.tx.send(Event::Input(ch)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/input.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | ... self.tx.send(Event::Exit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `Field` in the current scope [INFO] [stdout] --> src/field.rs:282:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Field { [INFO] [stdout] | ---------------- function or associated item `default` not found for this [INFO] [stdout] ... [INFO] [stdout] 282 | let mut field = Field::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Field` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `Field` in the current scope [INFO] [stdout] --> src/field.rs:296:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Field { [INFO] [stdout] | ---------------- function or associated item `default` not found for this [INFO] [stdout] ... [INFO] [stdout] 296 | let mut field = Field::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Field` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `Field` in the current scope [INFO] [stdout] --> src/field.rs:314:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Field { [INFO] [stdout] | ---------------- function or associated item `default` not found for this [INFO] [stdout] ... [INFO] [stdout] 314 | let mut field = Field::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Field` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `Field` in the current scope [INFO] [stdout] --> src/field.rs:325:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Field { [INFO] [stdout] | ---------------- function or associated item `default` not found for this [INFO] [stdout] ... [INFO] [stdout] 325 | let mut field = Field::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Field` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `Field` in the current scope [INFO] [stdout] --> src/field.rs:336:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Field { [INFO] [stdout] | ---------------- function or associated item `default` not found for this [INFO] [stdout] ... [INFO] [stdout] 336 | let mut field = Field::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Field` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `Field` in the current scope [INFO] [stdout] --> src/field.rs:346:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Field { [INFO] [stdout] | ---------------- function or associated item `default` not found for this [INFO] [stdout] ... [INFO] [stdout] 346 | let mut field = Field::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Field` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Field: Default` is not satisfied [INFO] [stdout] --> src/field.rs:372:15 [INFO] [stdout] | [INFO] [stdout] 372 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `Field` [INFO] [stdout] | [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Field: Default` is not satisfied [INFO] [stdout] --> src/field.rs:409:15 [INFO] [stdout] | [INFO] [stdout] 409 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `Field` [INFO] [stdout] | [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Field: Default` is not satisfied [INFO] [stdout] --> src/field.rs:446:15 [INFO] [stdout] | [INFO] [stdout] 446 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `Field` [INFO] [stdout] | [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Field: Default` is not satisfied [INFO] [stdout] --> src/field.rs:480:15 [INFO] [stdout] | [INFO] [stdout] 480 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `Field` [INFO] [stdout] | [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `Field` in the current scope [INFO] [stdout] --> src/field.rs:495:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Field { [INFO] [stdout] | ---------------- function or associated item `default` not found for this [INFO] [stdout] ... [INFO] [stdout] 495 | let mut field = Field::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Field` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `curses` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "29c863beaaf33e7e21d786d6ecb6de9d253f1324b7d88172a1651f226bf48852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29c863beaaf33e7e21d786d6ecb6de9d253f1324b7d88172a1651f226bf48852", kill_on_drop: false }` [INFO] [stdout] 29c863beaaf33e7e21d786d6ecb6de9d253f1324b7d88172a1651f226bf48852