[INFO] cloning repository https://github.com/adamreeve/rust-game-of-life [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamreeve%2Frust-game-of-life'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a862af36b3c60649932bf75f6a440208da46ef54 [INFO] checking adamreeve/rust-game-of-life against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamreeve%2Frust-game-of-life" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adamreeve/rust-game-of-life on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [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-11/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 `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ef73c15298afcac5d76013fcf064d879788e4f47a3cf607901d2538f5dbdd830 [INFO] running `"docker" "start" "-a" "ef73c15298afcac5d76013fcf064d879788e4f47a3cf607901d2538f5dbdd830"` [INFO] [stderr] Checking ansi_term v0.6.3 [INFO] [stderr] Checking combine v1.0.2 [INFO] [stderr] Checking rustty v0.1.12 [INFO] [stderr] Checking clap v1.2.5 [INFO] [stderr] Checking game-of-life v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0557]: feature has been removed [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(custom_derive)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: subsumed by `#[proc_macro_derive]` [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(custom_derive)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0557]: feature has been removed [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(custom_derive)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: subsumed by `#[proc_macro_derive]` [INFO] [stderr] --> src/main.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(custom_derive)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/game.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::thread::sleep_ms; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/game.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | sleep_ms(ui_period); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/game.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::thread::sleep_ms; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/game.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | sleep_ms(ui_period); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/game.rs:49:57 [INFO] [stderr] | [INFO] [stderr] 49 | while let Some(Event::Key(ch)) = term.get_event(0).unwrap() { [INFO] [stderr] | ^ expected struct `std::time::Duration`, found integer [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::time::Duration` [INFO] [stderr] found type `{integer}` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/game.rs:49:57 [INFO] [stderr] | [INFO] [stderr] 49 | while let Some(Event::Key(ch)) = term.get_event(0).unwrap() { [INFO] [stderr] | ^ expected struct `std::time::Duration`, found integer [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::time::Duration` [INFO] [stderr] found type `{integer}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for type `&game::rustty::Terminal` in the current scope [INFO] [stderr] --> src/game.rs:110:31 [INFO] [stderr] | [INFO] [stderr] 110 | let (_cols, _rows) = term.size(); [INFO] [stderr] | ^^^^ method not found in `&game::rustty::Terminal` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use game::rustty::HasSize;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for type `&mut game::rustty::Terminal` in the current scope [INFO] [stderr] --> src/game.rs:121:29 [INFO] [stderr] | [INFO] [stderr] 121 | let (cols, rows) = term.size(); [INFO] [stderr] | ^^^^ method not found in `&mut game::rustty::Terminal` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use game::rustty::HasSize;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for type `&game::rustty::Terminal` in the current scope [INFO] [stderr] --> src/game.rs:110:31 [INFO] [stderr] | [INFO] [stderr] 110 | let (_cols, _rows) = term.size(); [INFO] [stderr] | ^^^^ method not found in `&game::rustty::Terminal` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use game::rustty::HasSize;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for type `&mut game::rustty::Terminal` in the current scope [INFO] [stderr] --> src/game.rs:121:29 [INFO] [stderr] | [INFO] [stderr] 121 | let (cols, rows) = term.size(); [INFO] [stderr] | ^^^^ method not found in `&mut game::rustty::Terminal` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use game::rustty::HasSize;` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 2 parameters were supplied [INFO] [stderr] --> src/game.rs:127:28 [INFO] [stderr] | [INFO] [stderr] 127 | match term.get_mut(xpos, ypos) { [INFO] [stderr] | ^^^^^^^ expected 1 parameter [INFO] [stderr] error[E0061]: this function takes 1 parameter but 2 parameters were supplied [INFO] [stderr] --> src/game.rs:127:28 [INFO] [stderr] | [INFO] [stderr] 127 | match term.get_mut(xpos, ypos) { [INFO] [stderr] | ^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for type `&mut game::rustty::Terminal` in the current scope [INFO] [stderr] --> src/game.rs:139:31 [INFO] [stderr] | [INFO] [stderr] 139 | let (_cols, _rows) = term.size(); [INFO] [stderr] | ^^^^ method not found in `&mut game::rustty::Terminal` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use game::rustty::HasSize;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for type `&mut game::rustty::Terminal` in the current scope [INFO] [stderr] --> src/game.rs:149:31 [INFO] [stderr] | [INFO] [stderr] 149 | let (_cols, _rows) = term.size(); [INFO] [stderr] | ^^^^ method not found in `&mut game::rustty::Terminal` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use game::rustty::HasSize;` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 2 parameters were supplied [INFO] [stderr] --> src/game.rs:162:20 [INFO] [stderr] | [INFO] [stderr] 162 | match term.get_mut(xpos as usize, ypos as usize) { [INFO] [stderr] | ^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for type `&mut game::rustty::Terminal` in the current scope [INFO] [stderr] --> src/game.rs:139:31 [INFO] [stderr] | [INFO] [stderr] 139 | let (_cols, _rows) = term.size(); [INFO] [stderr] | ^^^^ method not found in `&mut game::rustty::Terminal` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use game::rustty::HasSize;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `size` found for type `&mut game::rustty::Terminal` in the current scope [INFO] [stderr] --> src/game.rs:149:31 [INFO] [stderr] | [INFO] [stderr] 149 | let (_cols, _rows) = term.size(); [INFO] [stderr] | ^^^^ method not found in `&mut game::rustty::Terminal` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use game::rustty::HasSize;` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 2 parameters were supplied [INFO] [stderr] --> src/game.rs:162:20 [INFO] [stderr] | [INFO] [stderr] 162 | match term.get_mut(xpos as usize, ypos as usize) { [INFO] [stderr] | ^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0308, E0557, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0308, E0557, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `game-of-life`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `game-of-life`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ef73c15298afcac5d76013fcf064d879788e4f47a3cf607901d2538f5dbdd830"` [INFO] running `"docker" "rm" "-f" "ef73c15298afcac5d76013fcf064d879788e4f47a3cf607901d2538f5dbdd830"` [INFO] [stdout] ef73c15298afcac5d76013fcf064d879788e4f47a3cf607901d2538f5dbdd830