[INFO] cloning repository https://github.com/ktsimpso/cryptid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ktsimpso/cryptid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fktsimpso%2Fcryptid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fktsimpso%2Fcryptid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 795577c17de539bad85e4956cfcd44a342425387 [INFO] building ktsimpso/cryptid against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fktsimpso%2Fcryptid" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ktsimpso/cryptid on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ktsimpso/cryptid [INFO] finished tweaking git repo https://github.com/ktsimpso/cryptid [INFO] tweaked toml for git repo https://github.com/ktsimpso/cryptid written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ktsimpso/cryptid already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61aae42f06d580f5184743c99b245c63167a935343474bcb213392805b83a2d2 [INFO] running `Command { std: "docker" "start" "-a" "61aae42f06d580f5184743c99b245c63167a935343474bcb213392805b83a2d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61aae42f06d580f5184743c99b245c63167a935343474bcb213392805b83a2d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61aae42f06d580f5184743c99b245c63167a935343474bcb213392805b83a2d2", kill_on_drop: false }` [INFO] [stdout] 61aae42f06d580f5184743c99b245c63167a935343474bcb213392805b83a2d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87bb5e7a3c7b962cd0286dd40379397b1f1beee730f63845ff9ef1b4a515476b [INFO] running `Command { std: "docker" "start" "-a" "87bb5e7a3c7b962cd0286dd40379397b1f1beee730f63845ff9ef1b4a515476b", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling cryptid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Mountain`, `Forest`, `Swamp`, and `Desert` are never constructed [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum Terrain { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 7 | Water, [INFO] [stdout] 8 | Mountain, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | Forest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Swamp, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Desert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Terrain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Cougar` is never constructed [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Animal { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 16 | Bear, [INFO] [stdout] 17 | Cougar, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Animal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Blue`, `White`, and `Black` are never constructed [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum StructureColor { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 22 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | Green, [INFO] [stdout] 24 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructureColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | StandingStone(StructureColor), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Structure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | StandingStone(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AdbandonedShack` is never constructed [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | enum Structure { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 30 | StandingStone(StructureColor), [INFO] [stdout] 31 | AdbandonedShack(StructureColor), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Structure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `terrian`, `animal`, and `structure` are never read [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct Tile { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 36 | terrian: Terrain, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | animal: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | structure: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `right_lower`, `up`, and `left_lower` are never used [INFO] [stdout] --> src/hex.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl AxialCoordinate { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn right_lower(&self) -> AxialCoordinate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn up(&self) -> AxialCoordinate { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn left_lower(&self) -> AxialCoordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/hex.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl HexGrid { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn get(&self, coordinate: &AxialCoordinate) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "87bb5e7a3c7b962cd0286dd40379397b1f1beee730f63845ff9ef1b4a515476b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87bb5e7a3c7b962cd0286dd40379397b1f1beee730f63845ff9ef1b4a515476b", kill_on_drop: false }` [INFO] [stdout] 87bb5e7a3c7b962cd0286dd40379397b1f1beee730f63845ff9ef1b4a515476b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fc7ae8c316196b0f8b0bd820ade3127868c619d7bf735997e6192b47905de77 [INFO] running `Command { std: "docker" "start" "-a" "0fc7ae8c316196b0f8b0bd820ade3127868c619d7bf735997e6192b47905de77", kill_on_drop: false }` [INFO] [stderr] Compiling cryptid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/hex.rs:281:53 [INFO] [stdout] | [INFO] [stdout] 281 | let origin = AxialCoordinate { q: 0, r: 0 };; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mountain`, `Forest`, `Swamp`, and `Desert` are never constructed [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum Terrain { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 7 | Water, [INFO] [stdout] 8 | Mountain, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | Forest, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Swamp, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Desert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Terrain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Cougar` is never constructed [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | enum Animal { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 16 | Bear, [INFO] [stdout] 17 | Cougar, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Animal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Blue`, `White`, and `Black` are never constructed [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum StructureColor { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 22 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | Green, [INFO] [stdout] 24 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructureColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | StandingStone(StructureColor), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Structure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | StandingStone(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AdbandonedShack` is never constructed [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | enum Structure { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 30 | StandingStone(StructureColor), [INFO] [stdout] 31 | AdbandonedShack(StructureColor), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Structure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `terrian`, `animal`, and `structure` are never read [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct Tile { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 36 | terrian: Terrain, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | animal: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | structure: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/hex.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl HexGrid { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn get(&self, coordinate: &AxialCoordinate) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/hex.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 216 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 215 | IntoIterator::into_iter(adjacents) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "0fc7ae8c316196b0f8b0bd820ade3127868c619d7bf735997e6192b47905de77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fc7ae8c316196b0f8b0bd820ade3127868c619d7bf735997e6192b47905de77", kill_on_drop: false }` [INFO] [stdout] 0fc7ae8c316196b0f8b0bd820ade3127868c619d7bf735997e6192b47905de77