[INFO] cloning repository https://github.com/adamreeve/rust-game-of-life [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adamreeve/rust-game-of-life" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamreeve%2Frust-game-of-life", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamreeve%2Frust-game-of-life'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a862af36b3c60649932bf75f6a440208da46ef54 [INFO] checking adamreeve/rust-game-of-life against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamreeve%2Frust-game-of-life" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adamreeve/rust-game-of-life on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adamreeve/rust-game-of-life [INFO] finished tweaking git repo https://github.com/adamreeve/rust-game-of-life [INFO] tweaked toml for git repo https://github.com/adamreeve/rust-game-of-life written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/adamreeve/rust-game-of-life already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 398dadaf80cf68aa1761def9975fd40590f6e3f494eaed8bc9b68bad42647203 [INFO] running `Command { std: "docker" "start" "-a" "398dadaf80cf68aa1761def9975fd40590f6e3f494eaed8bc9b68bad42647203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "398dadaf80cf68aa1761def9975fd40590f6e3f494eaed8bc9b68bad42647203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "398dadaf80cf68aa1761def9975fd40590f6e3f494eaed8bc9b68bad42647203", kill_on_drop: false }` [INFO] [stdout] 398dadaf80cf68aa1761def9975fd40590f6e3f494eaed8bc9b68bad42647203 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0710ba76f07c6df855c215c89f755fba6fb9b881161b7fc62640972a9a4f9e62 [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" "0710ba76f07c6df855c215c89f755fba6fb9b881161b7fc62640972a9a4f9e62", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking strsim v0.4.1 [INFO] [stderr] Checking ansi_term v0.6.3 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking combine v1.0.2 [INFO] [stderr] Checking clap v1.2.5 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking gag v0.1.10 [INFO] [stderr] Checking rustty v0.1.12 [INFO] [stderr] Checking game-of-life v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(custom_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: subsumed by `#[proc_macro_derive]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(custom_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: subsumed by `#[proc_macro_derive]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/game.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread::sleep_ms; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/game.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread::sleep_ms; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/game.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | sleep_ms(ui_period); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/game.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | sleep_ms(ui_period); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/game.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | while let Some(Event::Key(ch)) = term.get_event(0).unwrap() { [INFO] [stdout] | ^ expected struct `Duration`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `size` found for reference `&Terminal` in the current scope [INFO] [stdout] --> src/game.rs:110:31 [INFO] [stdout] | [INFO] [stdout] 110 | let (_cols, _rows) = term.size(); [INFO] [stdout] | ^^^^ method not found in `&Terminal` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use game::rustty::HasSize;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `size` found for mutable reference `&mut Terminal` in the current scope [INFO] [stdout] --> src/game.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | let (cols, rows) = term.size(); [INFO] [stdout] | ^^^^ method not found in `&mut Terminal` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use game::rustty::HasSize;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/game.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | match term.get_mut(xpos, ypos) { [INFO] [stdout] | ^^^^^^^ ---- ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `size` found for mutable reference `&mut Terminal` in the current scope [INFO] [stdout] --> src/game.rs:139:31 [INFO] [stdout] | [INFO] [stdout] 139 | let (_cols, _rows) = term.size(); [INFO] [stdout] | ^^^^ method not found in `&mut Terminal` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use game::rustty::HasSize;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `size` found for mutable reference `&mut Terminal` in the current scope [INFO] [stdout] --> src/game.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 149 | let (_cols, _rows) = term.size(); [INFO] [stdout] | ^^^^ method not found in `&mut Terminal` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use game::rustty::HasSize;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/game.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | match term.get_mut(xpos as usize, ypos as usize) { [INFO] [stdout] | ^^^^^^^ ------------- ------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/game.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | while let Some(Event::Key(ch)) = term.get_event(0).unwrap() { [INFO] [stdout] | ^ expected struct `Duration`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `size` found for reference `&Terminal` in the current scope [INFO] [stdout] --> src/game.rs:110:31 [INFO] [stdout] | [INFO] [stdout] 110 | let (_cols, _rows) = term.size(); [INFO] [stdout] | ^^^^ method not found in `&Terminal` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use game::rustty::HasSize;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `size` found for mutable reference `&mut Terminal` in the current scope [INFO] [stdout] --> src/game.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | let (cols, rows) = term.size(); [INFO] [stdout] | ^^^^ method not found in `&mut Terminal` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use game::rustty::HasSize;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/game.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | match term.get_mut(xpos, ypos) { [INFO] [stdout] | ^^^^^^^ ---- ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `size` found for mutable reference `&mut Terminal` in the current scope [INFO] [stdout] --> src/game.rs:139:31 [INFO] [stdout] | [INFO] [stdout] 139 | let (_cols, _rows) = term.size(); [INFO] [stdout] | ^^^^ method not found in `&mut Terminal` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use game::rustty::HasSize;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `size` found for mutable reference `&mut Terminal` in the current scope [INFO] [stdout] --> src/game.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 149 | let (_cols, _rows) = term.size(); [INFO] [stdout] | ^^^^ method not found in `&mut Terminal` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use game::rustty::HasSize;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/game.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | match term.get_mut(xpos as usize, ypos as usize) { [INFO] [stdout] | ^^^^^^^ ------------- ------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `game-of-life` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0710ba76f07c6df855c215c89f755fba6fb9b881161b7fc62640972a9a4f9e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0710ba76f07c6df855c215c89f755fba6fb9b881161b7fc62640972a9a4f9e62", kill_on_drop: false }` [INFO] [stdout] 0710ba76f07c6df855c215c89f755fba6fb9b881161b7fc62640972a9a4f9e62