[INFO] updating cached repository https://github.com/davetttt/ttt_rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] da0b52d21262d7f8c8fc70ea1f5b02a978d43af2 [INFO] checking davetttt/ttt_rust against beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavetttt%2Fttt_rust" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davetttt/ttt_rust on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/davetttt/ttt_rust [INFO] finished tweaking git repo https://github.com/davetttt/ttt_rust [INFO] tweaked toml for git repo https://github.com/davetttt/ttt_rust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/davetttt/ttt_rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=allow" "-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" "+beta-2019-10-27" "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] b263d25a176861129508ca9197cf28b9cbe95ac97e09525c122e448f9c3351ed [INFO] running `"docker" "start" "-a" "b263d25a176861129508ca9197cf28b9cbe95ac97e09525c122e448f9c3351ed"` [INFO] [stderr] Checking ttt_rust v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error: invalid suffix `us` for integer literal [INFO] [stderr] --> src/board.rs:8:24 [INFO] [stderr] | [INFO] [stderr] 8 | Board { board:[0us; 9] } [INFO] [stderr] | ^^^ invalid suffix `us` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `us` for integer literal [INFO] [stderr] --> src/board.rs:8:24 [INFO] [stderr] | [INFO] [stderr] 8 | Board { board:[0us; 9] } [INFO] [stderr] | ^^^ invalid suffix `us` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::BufferedReader` [INFO] [stderr] --> src/io.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::BufferedReader; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/minimax.rs:34:18 [INFO] [stderr] | [INFO] [stderr] 34 | for index in range(0, scores.len()) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/minimax.rs:46:18 [INFO] [stderr] | [INFO] [stderr] 46 | for index in range(0, scores.len()) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::BufferedReader` [INFO] [stderr] --> src/io.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::BufferedReader; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/minimax.rs:34:18 [INFO] [stderr] | [INFO] [stderr] 34 | for index in range(0, scores.len()) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/minimax.rs:46:18 [INFO] [stderr] | [INFO] [stderr] 46 | for index in range(0, scores.len()) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `is_some` found for type `std::result::Result<_, _>` in the current scope [INFO] [stderr] --> src/main.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | if choice.is_some() && [1, 2, 3].contains(&choice.unwrap()) { [INFO] [stderr] | ^^^^^^^ method not found in `std::result::Result<_, _>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/player.rs:50:36 [INFO] [stderr] | [INFO] [stderr] 50 | let space: Option = response.trim().parse(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option` [INFO] [stderr] found type `std::result::Result<_, _>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/board.rs:32:37 [INFO] [stderr] | [INFO] [stderr] 32 | ... as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/board.rs:47:69 [INFO] [stderr] | [INFO] [stderr] 47 | result.push_str((format!("\n{}", self.render_row(row))).as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `ttt_rust`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `is_some` found for type `std::result::Result<_, _>` in the current scope [INFO] [stderr] --> src/main.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | if choice.is_some() && [1, 2, 3].contains(&choice.unwrap()) { [INFO] [stderr] | ^^^^^^^ method not found in `std::result::Result<_, _>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/io_test.rs:7:46 [INFO] [stderr] | [INFO] [stderr] 7 | assert_eq!("answer", io.prompt(question).as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/player.rs:50:36 [INFO] [stderr] | [INFO] [stderr] 50 | let space: Option = response.trim().parse(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option` [INFO] [stderr] found type `std::result::Result<_, _>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/board.rs:32:37 [INFO] [stderr] | [INFO] [stderr] 32 | ... as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/board.rs:47:69 [INFO] [stderr] | [INFO] [stderr] 47 | result.push_str((format!("\n{}", self.render_row(row))).as_slice()); [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `ttt_rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b263d25a176861129508ca9197cf28b9cbe95ac97e09525c122e448f9c3351ed"` [INFO] running `"docker" "rm" "-f" "b263d25a176861129508ca9197cf28b9cbe95ac97e09525c122e448f9c3351ed"` [INFO] [stdout] b263d25a176861129508ca9197cf28b9cbe95ac97e09525c122e448f9c3351ed