[INFO] cloning repository https://github.com/jackred/Cantane_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jackred/Cantane_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackred%2FCantane_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackred%2FCantane_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c65c237376e87e6a7bbe2cf25e176452c59ff37c [INFO] checking jackred/Cantane_rust against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackred%2FCantane_rust" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jackred/Cantane_rust on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jackred/Cantane_rust [INFO] finished tweaking git repo https://github.com/jackred/Cantane_rust [INFO] tweaked toml for git repo https://github.com/jackred/Cantane_rust written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/jackred/Cantane_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 781f71f6c8d9ddf09fe0224b57fd98d981a4d4b565b84b0c8ff4d8a401acb7a8 [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" "781f71f6c8d9ddf09fe0224b57fd98d981a4d4b565b84b0c8ff4d8a401acb7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "781f71f6c8d9ddf09fe0224b57fd98d981a4d4b565b84b0c8ff4d8a401acb7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "781f71f6c8d9ddf09fe0224b57fd98d981a4d4b565b84b0c8ff4d8a401acb7a8", kill_on_drop: false }` [INFO] [stdout] 781f71f6c8d9ddf09fe0224b57fd98d981a4d4b565b84b0c8ff4d8a401acb7a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3123f25e51b722c7c8647e70ef7e3eaeb6466c3b8870a23322de687c8892fdaf [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" "3123f25e51b722c7c8647e70ef7e3eaeb6466c3b8870a23322de687c8892fdaf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Checking array-macro v1.0.5 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling enum-map-derive v0.4.6 [INFO] [stderr] Checking enum-map v0.6.4 [INFO] [stderr] Checking catane v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Resource` [INFO] [stdout] --> src/buyable.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::resource::{Resource, ResourceDeck}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buyable` [INFO] [stdout] --> src/player.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::buyable::{Buyable, development_card::DevelopmentCard}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Resource` [INFO] [stdout] --> src/buyable.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::resource::{Resource, ResourceDeck}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buyable` [INFO] [stdout] --> src/player.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::buyable::{Buyable, development_card::DevelopmentCard}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/player.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn add_resources(&self, resources: ResourceDeck){} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/player.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn rm_resources(&self, resources: ResourceDeck){} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tiles` [INFO] [stdout] --> src/player.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn gain_resources(&self, tiles: Vec){} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tiles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_buy` [INFO] [stdout] --> src/player.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn buy(&self, to_buy: i32){} // maybe redo struct [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_buy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/player.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn can_buy(&self, cost: ResourceDeck){} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card` [INFO] [stdout] --> src/player.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn play_card(&self, card: DevelopmentCard){} // useless? [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gain` [INFO] [stdout] --> src/player.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn trade(&self, gain: ResourceDeck, traded: ResourceDeck){} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_gain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `traded` [INFO] [stdout] --> src/player.rs:21:46 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn trade(&self, gain: ResourceDeck, traded: ResourceDeck){} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_traded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut map = resource::ResourceDeck(enum_map! { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/player.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn add_resources(&self, resources: ResourceDeck){} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/player.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn rm_resources(&self, resources: ResourceDeck){} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tiles` [INFO] [stdout] --> src/player.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn gain_resources(&self, tiles: Vec){} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tiles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_buy` [INFO] [stdout] --> src/player.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn buy(&self, to_buy: i32){} // maybe redo struct [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_buy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/player.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn can_buy(&self, cost: ResourceDeck){} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card` [INFO] [stdout] --> src/player.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn play_card(&self, card: DevelopmentCard){} // useless? [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gain` [INFO] [stdout] --> src/player.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn trade(&self, gain: ResourceDeck, traded: ResourceDeck){} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_gain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `traded` [INFO] [stdout] --> src/player.rs:21:46 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn trade(&self, gain: ResourceDeck, traded: ResourceDeck){} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_traded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut map = resource::ResourceDeck(enum_map! { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.28s [INFO] running `Command { std: "docker" "inspect" "3123f25e51b722c7c8647e70ef7e3eaeb6466c3b8870a23322de687c8892fdaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3123f25e51b722c7c8647e70ef7e3eaeb6466c3b8870a23322de687c8892fdaf", kill_on_drop: false }` [INFO] [stdout] 3123f25e51b722c7c8647e70ef7e3eaeb6466c3b8870a23322de687c8892fdaf