[INFO] updating cached repository adamreeve/rust-game-of-life [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/adamreeve/rust-game-of-life [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/adamreeve/rust-game-of-life" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/adamreeve/rust-game-of-life"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/adamreeve/rust-game-of-life'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/adamreeve/rust-game-of-life" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/adamreeve/rust-game-of-life"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/adamreeve/rust-game-of-life'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a862af36b3c60649932bf75f6a440208da46ef54 [INFO] sha for GitHub repo adamreeve/rust-game-of-life: a862af36b3c60649932bf75f6a440208da46ef54 [INFO] validating manifest of adamreeve/rust-game-of-life on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of adamreeve/rust-game-of-life on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing adamreeve/rust-game-of-life [INFO] finished frobbing adamreeve/rust-game-of-life [INFO] frobbed toml for adamreeve/rust-game-of-life written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/adamreeve/rust-game-of-life/Cargo.toml [INFO] started frobbing adamreeve/rust-game-of-life [INFO] finished frobbing adamreeve/rust-game-of-life [INFO] frobbed toml for adamreeve/rust-game-of-life written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/adamreeve/rust-game-of-life/Cargo.toml [INFO] crate adamreeve/rust-game-of-life already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/adamreeve/rust-game-of-life/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] checking adamreeve/rust-game-of-life against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-4/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/adamreeve/rust-game-of-life:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d3b339f56f49adfb20864b70d8d0bf92514d509932a011f6864fb82e1accec78 [INFO] running `"docker" "start" "-a" "d3b339f56f49adfb20864b70d8d0bf92514d509932a011f6864fb82e1accec78"` [INFO] [stderr] Checking ansi_term v0.6.3 [INFO] [stderr] Checking combine v1.0.2 [INFO] [stderr] Checking gag v0.1.10 [INFO] [stderr] Checking clap v1.2.5 [INFO] [stderr] Checking rustty v0.1.12 [INFO] [stderr] Checking game-of-life v0.1.0 (/opt/crater/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[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] | ^^^^ [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] | ^^^^ [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] [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] | ^^^^ [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] | ^^^^ [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[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: Could not compile `game-of-life`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] | ^^^^ [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] | ^^^^ [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] [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] | ^^^^ [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] | ^^^^ [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: Could not compile `game-of-life`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d3b339f56f49adfb20864b70d8d0bf92514d509932a011f6864fb82e1accec78"` [INFO] running `"docker" "rm" "-f" "d3b339f56f49adfb20864b70d8d0bf92514d509932a011f6864fb82e1accec78"` [INFO] [stdout] d3b339f56f49adfb20864b70d8d0bf92514d509932a011f6864fb82e1accec78