[INFO] cloning repository https://github.com/duesee/rust_training_game_of_life [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/duesee/rust_training_game_of_life" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduesee%2Frust_training_game_of_life", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduesee%2Frust_training_game_of_life'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 812ea79f043df0aebc08341ba67927d4d396bd42 [INFO] checking duesee/rust_training_game_of_life against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduesee%2Frust_training_game_of_life" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/duesee/rust_training_game_of_life on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/duesee/rust_training_game_of_life [INFO] finished tweaking git repo https://github.com/duesee/rust_training_game_of_life [INFO] tweaked toml for git repo https://github.com/duesee/rust_training_game_of_life written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/duesee/rust_training_game_of_life already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7071b2600bcad7744379c630e69cd0d96ec07e4ce0c2aaea15f61a1ae188c606 [INFO] running `Command { std: "docker" "start" "-a" "7071b2600bcad7744379c630e69cd0d96ec07e4ce0c2aaea15f61a1ae188c606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7071b2600bcad7744379c630e69cd0d96ec07e4ce0c2aaea15f61a1ae188c606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7071b2600bcad7744379c630e69cd0d96ec07e4ce0c2aaea15f61a1ae188c606", kill_on_drop: false }` [INFO] [stdout] 7071b2600bcad7744379c630e69cd0d96ec07e4ce0c2aaea15f61a1ae188c606 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1eb272884bf9ebfebe4dbfc2ae1823afc325357a63845ce6dde3a68ed820d800 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1eb272884bf9ebfebe4dbfc2ae1823afc325357a63845ce6dde3a68ed820d800", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking strsim v0.9.3 [INFO] [stderr] Checking getrandom v0.2.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking docopt v1.1.0 [INFO] [stderr] Checking rust_training_game_of_life v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand::distributions::IndependentSample` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::distributions::IndependentSample; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `IndependentSample` in `distributions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::distributions::IndependentSample` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::distributions::IndependentSample; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `IndependentSample` in `distributions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Range` in `distributions` [INFO] [stdout] --> src/lib.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | let between = rand::distributions::Range::new(0, 100); [INFO] [stdout] | ^^^^^ not found in `rand::distributions` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::btree_map::Range; [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::btree_set::Range; [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | 255 => try!(write!(f, "●")), // cell is alive [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:128:50 [INFO] [stdout] | [INFO] [stdout] 128 | 253...255 if self.fadeout => try!(write!(f, "◍")), // cell died <= 2 gens ago [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:129:50 [INFO] [stdout] | [INFO] [stdout] 129 | 249...253 if self.fadeout => try!(write!(f, "○")), // cell died <= 4 gens ago [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:130:50 [INFO] [stdout] | [INFO] [stdout] 130 | 241...249 if self.fadeout => try!(write!(f, "◌")), // cell died <= 8 gens ago [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | _ => try!(write!(f, " ")), // cell died > 8 gens ago [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | try!(writeln!(f, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | 253...255 if self.fadeout => try!(write!(f, "◍")), // cell died <= 2 gens ago [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | 249...253 if self.fadeout => try!(write!(f, "○")), // cell died <= 4 gens ago [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | 241...249 if self.fadeout => try!(write!(f, "◌")), // cell died <= 8 gens ago [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Range` in `distributions` [INFO] [stdout] --> src/lib.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | let between = rand::distributions::Range::new(0, 100); [INFO] [stdout] | ^^^^^ not found in `rand::distributions` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::btree_map::Range; [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::btree_set::Range; [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | 255 => try!(write!(f, "●")), // cell is alive [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:128:50 [INFO] [stdout] | [INFO] [stdout] 128 | 253...255 if self.fadeout => try!(write!(f, "◍")), // cell died <= 2 gens ago [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:129:50 [INFO] [stdout] | [INFO] [stdout] 129 | 249...253 if self.fadeout => try!(write!(f, "○")), // cell died <= 4 gens ago [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:130:50 [INFO] [stdout] | [INFO] [stdout] 130 | 241...249 if self.fadeout => try!(write!(f, "◌")), // cell died <= 8 gens ago [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | _ => try!(write!(f, " ")), // cell died > 8 gens ago [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | try!(writeln!(f, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:128:24 [INFO] [stdout] | [INFO] [stdout] 128 | 253...255 if self.fadeout => try!(write!(f, "◍")), // cell died <= 2 gens ago [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | 249...253 if self.fadeout => try!(write!(f, "○")), // cell died <= 4 gens ago [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | 241...249 if self.fadeout => try!(write!(f, "◌")), // cell died <= 8 gens ago [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_training_game_of_life` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1eb272884bf9ebfebe4dbfc2ae1823afc325357a63845ce6dde3a68ed820d800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eb272884bf9ebfebe4dbfc2ae1823afc325357a63845ce6dde3a68ed820d800", kill_on_drop: false }` [INFO] [stdout] 1eb272884bf9ebfebe4dbfc2ae1823afc325357a63845ce6dde3a68ed820d800