[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] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cacbe64a29f877d88cd32dc28c95ed798dc52d4b [INFO] checking jackred/Cantane_rust against master#ea6ab1bd845790fb31ba790d2c7aec898f89fe62 for pr-99880 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackred%2FCantane_rust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jackred/Cantane_rust on toolchain ea6ab1bd845790fb31ba790d2c7aec898f89fe62 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "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-5/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" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0622be16f41c7cb0445cc0a99a288777a4cda63b242468cde6993d6ae6550abd [INFO] running `Command { std: "docker" "start" "-a" "0622be16f41c7cb0445cc0a99a288777a4cda63b242468cde6993d6ae6550abd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0622be16f41c7cb0445cc0a99a288777a4cda63b242468cde6993d6ae6550abd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0622be16f41c7cb0445cc0a99a288777a4cda63b242468cde6993d6ae6550abd", kill_on_drop: false }` [INFO] [stdout] 0622be16f41c7cb0445cc0a99a288777a4cda63b242468cde6993d6ae6550abd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d87e25407867f6e60de3261a154e62885073524e57a024a62534807becbec3d0 [INFO] running `Command { std: "docker" "start" "-a" "d87e25407867f6e60de3261a154e62885073524e57a024a62534807becbec3d0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling syn v1.0.57 [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: `map3` [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let map3 = resource::ResourceDeck(enum_map! { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_map3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_buy` [INFO] [stdout] --> src/player.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | 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:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | 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:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | 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:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | 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: unused variable: `map3` [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let map3 = resource::ResourceDeck(enum_map! { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_map3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_buy` [INFO] [stdout] --> src/player.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | 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:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | 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:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | 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:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | 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:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | 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:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.76s [INFO] running `Command { std: "docker" "inspect" "d87e25407867f6e60de3261a154e62885073524e57a024a62534807becbec3d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d87e25407867f6e60de3261a154e62885073524e57a024a62534807becbec3d0", kill_on_drop: false }` [INFO] [stdout] d87e25407867f6e60de3261a154e62885073524e57a024a62534807becbec3d0