[INFO] fetching crate your_game_of_life 0.1.0... [INFO] testing your_game_of_life-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate your_game_of_life 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate your_game_of_life 0.1.0 [INFO] finished tweaking crates.io crate your_game_of_life 0.1.0 [INFO] tweaked toml for crates.io crate your_game_of_life 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate your_game_of_life 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddb3ebbd27895b79a0966d11813193c165e68179c6359f79017e99001d35b509 [INFO] running `Command { std: "docker" "start" "-a" "ddb3ebbd27895b79a0966d11813193c165e68179c6359f79017e99001d35b509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddb3ebbd27895b79a0966d11813193c165e68179c6359f79017e99001d35b509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddb3ebbd27895b79a0966d11813193c165e68179c6359f79017e99001d35b509", kill_on_drop: false }` [INFO] [stdout] ddb3ebbd27895b79a0966d11813193c165e68179c6359f79017e99001d35b509 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e26093b6a0c8a22b5020e3b65ff4081cc95413154a7aaf844b29c70f69353c66 [INFO] running `Command { std: "docker" "start" "-a" "e26093b6a0c8a22b5020e3b65ff4081cc95413154a7aaf844b29c70f69353c66", kill_on_drop: false }` [INFO] [stderr] Compiling your_game_of_life v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "e26093b6a0c8a22b5020e3b65ff4081cc95413154a7aaf844b29c70f69353c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e26093b6a0c8a22b5020e3b65ff4081cc95413154a7aaf844b29c70f69353c66", kill_on_drop: false }` [INFO] [stdout] e26093b6a0c8a22b5020e3b65ff4081cc95413154a7aaf844b29c70f69353c66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0b1063c09cd6cc5e842d8bc88fcf7c1e11956af14904db5979d4965bd9eeb92 [INFO] running `Command { std: "docker" "start" "-a" "c0b1063c09cd6cc5e842d8bc88fcf7c1e11956af14904db5979d4965bd9eeb92", kill_on_drop: false }` [INFO] [stderr] Compiling your_game_of_life v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "c0b1063c09cd6cc5e842d8bc88fcf7c1e11956af14904db5979d4965bd9eeb92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0b1063c09cd6cc5e842d8bc88fcf7c1e11956af14904db5979d4965bd9eeb92", kill_on_drop: false }` [INFO] [stdout] c0b1063c09cd6cc5e842d8bc88fcf7c1e11956af14904db5979d4965bd9eeb92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 72419bbf4904924b67ac7d5c4f1ee29f69bdb0901a4b32d2ce937a869884f171 [INFO] running `Command { std: "docker" "start" "-a" "72419bbf4904924b67ac7d5c4f1ee29f69bdb0901a4b32d2ce937a869884f171", kill_on_drop: false }` [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/your_game_of_life-bca07675396d2685) [INFO] [stderr] Doc-tests your_game_of_life [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 10) ... FAILED [INFO] [stdout] test src/lib.rs - Life::play (line 205) ... FAILED [INFO] [stdout] test src/lib.rs - Life::play_for (line 249) ... FAILED [INFO] [stdout] test src/cell.rs - cell::CellNeighbors (line 203) ... ok [INFO] [stdout] test src/lib.rs - Life (line 72) ... ok [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 10) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Cell` in this scope [INFO] [stdout] --> src/lib.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | const ALIVE: Cell = Cell::alive(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 11 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 11 + use your_game_of_life::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lib.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | const ALIVE: Cell = Cell::alive(); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 11 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 11 + use your_game_of_life::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Cell` in this scope [INFO] [stdout] --> src/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | const DEAD: Cell = Cell::dead(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 11 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 11 + use your_game_of_life::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lib.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | const DEAD: Cell = Cell::dead(); [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 11 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 11 + use your_game_of_life::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Life` [INFO] [stdout] --> src/lib.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | let mut life = Life::from([ [INFO] [stdout] | ^^^^ use of undeclared type `Life` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 + use your_game_of_life::Life; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | life.play_for(2, |same, others, _, _| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | let alive = others.alive(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 21 | life.play_for(2, |same, others: /* Type */, _, _| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Life::play (line 205) stdout ---- [INFO] [stdout] error: expected `;`, found `[` [INFO] [stdout] --> src/lib.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | [0, 1] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: consider adding `;` here [INFO] [stdout] | [INFO] [stdout] 207 | [1, 0]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:212:18 [INFO] [stdout] | [INFO] [stdout] 212 | life.play(|this, others, x, y| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 213 | println!("The cell at position ({x}, {y}) has {} living neighbors", others.alive()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 212 | life.play(|this, others: /* Type */, x, y| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Life::play_for (line 249) stdout ---- [INFO] [stdout] error: expected `;`, found `[` [INFO] [stdout] --> src/lib.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | [0, 1] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: consider adding `;` here [INFO] [stdout] | [INFO] [stdout] 251 | [1, 0]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cell` [INFO] [stdout] --> src/lib.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | Cell::alive() [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 249 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 249 + use your_game_of_life::Cell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:256:26 [INFO] [stdout] | [INFO] [stdout] 256 | life.play_for(2, |_this, others, x, y| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 257 | println!("The cell at position ({x}, {y}) has {} living neighbors", others.alive()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 256 | life.play_for(2, |_this, others: /* Type */, x, y| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 10) [INFO] [stdout] src/lib.rs - Life::play (line 205) [INFO] [stdout] src/lib.rs - Life::play_for (line 249) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "72419bbf4904924b67ac7d5c4f1ee29f69bdb0901a4b32d2ce937a869884f171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72419bbf4904924b67ac7d5c4f1ee29f69bdb0901a4b32d2ce937a869884f171", kill_on_drop: false }` [INFO] [stdout] 72419bbf4904924b67ac7d5c4f1ee29f69bdb0901a4b32d2ce937a869884f171