[INFO] fetching crate your_game_of_life 0.1.0... [INFO] testing your_game_of_life-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate your_game_of_life 0.1.0 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate your_game_of_life 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8904e06f509247a606699e0876d863c478f10094a7fb0d7fc27568a01f3bb4c2 [INFO] running `Command { std: "docker" "start" "-a" "8904e06f509247a606699e0876d863c478f10094a7fb0d7fc27568a01f3bb4c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8904e06f509247a606699e0876d863c478f10094a7fb0d7fc27568a01f3bb4c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8904e06f509247a606699e0876d863c478f10094a7fb0d7fc27568a01f3bb4c2", kill_on_drop: false }` [INFO] [stdout] 8904e06f509247a606699e0876d863c478f10094a7fb0d7fc27568a01f3bb4c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43037cae8d2320ba1bd51db69942468db635c584cedbd65434806280e4fb82e8 [INFO] running `Command { std: "docker" "start" "-a" "43037cae8d2320ba1bd51db69942468db635c584cedbd65434806280e4fb82e8", 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.15s [INFO] running `Command { std: "docker" "inspect" "43037cae8d2320ba1bd51db69942468db635c584cedbd65434806280e4fb82e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43037cae8d2320ba1bd51db69942468db635c584cedbd65434806280e4fb82e8", kill_on_drop: false }` [INFO] [stdout] 43037cae8d2320ba1bd51db69942468db635c584cedbd65434806280e4fb82e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d2484e0fa0be99300633c02afb2a3f53edc7602cafb2ed9a21a4e7a133e53fb [INFO] running `Command { std: "docker" "start" "-a" "5d2484e0fa0be99300633c02afb2a3f53edc7602cafb2ed9a21a4e7a133e53fb", 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" "5d2484e0fa0be99300633c02afb2a3f53edc7602cafb2ed9a21a4e7a133e53fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d2484e0fa0be99300633c02afb2a3f53edc7602cafb2ed9a21a4e7a133e53fb", kill_on_drop: false }` [INFO] [stdout] 5d2484e0fa0be99300633c02afb2a3f53edc7602cafb2ed9a21a4e7a133e53fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1596b6b564ef3f68eb0856d24229e3d19e578509486cd6ec1adcabd0d57f2b02 [INFO] running `Command { std: "docker" "start" "-a" "1596b6b564ef3f68eb0856d24229e3d19e578509486cd6ec1adcabd0d57f2b02", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [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 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] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/cell.rs - cell::CellNeighbors (line 203) ... ok [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/lib.rs - Life (line 72) ... ok [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] 2 | 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] 2 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 2 | 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] 2 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 3 | 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] 2 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 3 | 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] 2 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 6 | 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] 2 + use your_game_of_life::Life; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] 5 | [0, 1] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: consider adding `;` here [INFO] [stdout] | [INFO] [stdout] 4 | [1, 0]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [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] 5 | [0, 1] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: consider adding `;` here [INFO] [stdout] | [INFO] [stdout] 4 | [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] 13 | Cell::alive() [INFO] [stdout] | ^^^^ use of undeclared type `Cell` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::cell::Cell; [INFO] [stdout] | [INFO] [stdout] 2 + use your_game_of_life::Cell; [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 E0433`. [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.25s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1596b6b564ef3f68eb0856d24229e3d19e578509486cd6ec1adcabd0d57f2b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1596b6b564ef3f68eb0856d24229e3d19e578509486cd6ec1adcabd0d57f2b02", kill_on_drop: false }` [INFO] [stdout] 1596b6b564ef3f68eb0856d24229e3d19e578509486cd6ec1adcabd0d57f2b02