[INFO] cloning repository https://github.com/CaptainCCCP/Four-Squre
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CaptainCCCP/Four-Squre" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaptainCCCP%2FFour-Squre", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaptainCCCP%2FFour-Squre'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c8bbe6452ae70368bac654390b0d52871f4e78fb
[INFO] building CaptainCCCP/Four-Squre against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaptainCCCP%2FFour-Squre" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/CaptainCCCP/Four-Squre on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/CaptainCCCP/Four-Squre
[INFO] finished tweaking git repo https://github.com/CaptainCCCP/Four-Squre
[INFO] tweaked toml for git repo https://github.com/CaptainCCCP/Four-Squre written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/CaptainCCCP/Four-Squre 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e8daf8ff75e30af0683e356bbe2f8a99aad4cb5617c10067553778eee12af861
[INFO] running `Command { std: "docker" "start" "-a" "e8daf8ff75e30af0683e356bbe2f8a99aad4cb5617c10067553778eee12af861", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e8daf8ff75e30af0683e356bbe2f8a99aad4cb5617c10067553778eee12af861", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8daf8ff75e30af0683e356bbe2f8a99aad4cb5617c10067553778eee12af861", kill_on_drop: false }`
[INFO] [stdout] e8daf8ff75e30af0683e356bbe2f8a99aad4cb5617c10067553778eee12af861
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d6e26e7a02d06649bc45e49404fa0de7d7e8211ad2f147fef73d435d4e3886cf
[INFO] running `Command { std: "docker" "start" "-a" "d6e26e7a02d06649bc45e49404fa0de7d7e8211ad2f147fef73d435d4e3886cf", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling xml-rs v0.8.15
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling bytemuck v1.13.1
[INFO] [stderr]    Compiling libloading v0.8.0
[INFO] [stderr]    Compiling syn v2.0.23
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling simd-adler32 v0.3.5
[INFO] [stderr]    Compiling cmake v0.1.50
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling slotmap v1.0.6
[INFO] [stderr]    Compiling servo-fontconfig-sys v5.1.0
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling freetype-sys v0.13.1
[INFO] [stderr]    Compiling expat-sys v2.1.6
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling flate2 v1.0.26
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling fdeflate v0.3.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling png v0.17.9
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.0
[INFO] [stderr]    Compiling crossfont v0.5.1
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling safe_arch v0.7.0
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling foreign-types-shared v0.3.1
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling tiny-skia-path v0.7.0
[INFO] [stderr]    Compiling wide v0.7.10
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling xcursor v0.3.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling servo-fontconfig v0.5.1
[INFO] [stderr]    Compiling freetype-rs v0.26.0
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling safe_arch v0.5.2
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling foreign-types-macros v0.2.3
[INFO] [stderr]    Compiling tiny-skia v0.7.0
[INFO] [stderr]    Compiling ultraviolet v0.9.1
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling foreign-types v0.5.0
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.6
[INFO] [stderr]    Compiling calloop v0.10.6
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.8
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling bracket-geometry v0.8.7
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling raw-window-handle v0.4.3
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling aho-corasick v1.0.2
[INFO] [stderr]    Compiling anyhow v1.0.71
[INFO] [stderr]    Compiling regex-syntax v0.7.2
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling wayland-egl v0.29.5
[INFO] [stderr]    Compiling rand_xorshift v0.3.0
[INFO] [stderr]    Compiling bracket-embedding v0.8.7
[INFO] [stderr]    Compiling bracket-color v0.8.7
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling bracket-rex v0.8.7
[INFO] [stderr]    Compiling object-pool v0.5.4
[INFO] [stderr]    Compiling bracket-algorithm-traits v0.8.7
[INFO] [stderr]    Compiling image v0.24.6
[INFO] [stderr]    Compiling glow v0.11.2
[INFO] [stderr]    Compiling bracket-pathfinding v0.8.7
[INFO] [stderr]    Compiling regex v1.8.4
[INFO] [stderr]    Compiling bracket-random v0.8.7
[INFO] [stderr]    Compiling bracket-noise v0.8.7
[INFO] [stderr]    Compiling sctk-adwaita v0.4.3
[INFO] [stderr]    Compiling winit v0.27.5
[INFO] [stderr]    Compiling glutin v0.29.1
[INFO] [stderr]    Compiling bracket-terminal v0.8.7
[INFO] [stderr]    Compiling bracket-lib v0.8.7
[INFO] [stderr]    Compiling market-stimulation v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/lands.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/lands.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, and `self`
[INFO] [stdout]  --> src/lands.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::mpsc::{self, Sender, Receiver};
[INFO] [stdout]   |                       ^^^^  ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]  --> src/lands.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::thread::sleep;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/lands.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::buildings::{self,Building, BuildingType};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GREEN`, `NAVY`, `WHITE`, and `YELLOW`
[INFO] [stdout]  --> src/currentland.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bracket_lib::color::{BLACK, YELLOW,RED,WHITE,NAVY,GREEN};
[INFO] [stdout]   |                                 ^^^^^^     ^^^^^ ^^^^ ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BError`, `BTermBuilder`, `GameState`, `RGBA`, `RandomNumberGenerator`, `TextAlign`, and `main_loop`
[INFO] [stdout]  --> src/currentland.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use bracket_lib::prelude::{main_loop, BError, BTermBuilder, BTerm, VirtualKeyCode, GameState,
[INFO] [stdout]   |                            ^^^^^^^^^  ^^^^^^  ^^^^^^^^^^^^                         ^^^^^^^^^
[INFO] [stdout] 3 |                            to_cp437, RandomNumberGenerator, TextAlign, RGBA, Point};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lands::LandType`
[INFO] [stdout]  --> src/currentland.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::lands::LandType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `map_idx`
[INFO] [stdout]  --> src/currentland.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::map::{Map, map_idx,SCREEN_WIDTH,SCREEN_HEIGHT,START_Y,START_X};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NAVY` and `RED`
[INFO] [stdout]  --> src/map.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bracket_lib::color::{BLACK, YELLOW,RED,WHITE,NAVY,GREEN};
[INFO] [stdout]   |                                        ^^^       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BError`, `BTermBuilder`, `GameState`, `RGBA`, `RandomNumberGenerator`, `TextAlign`, `VirtualKeyCode`, and `main_loop`
[INFO] [stdout]  --> src/map.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...relude::{main_loop, BError, BTermBuilder, BTerm, VirtualKeyCode, GameState, to_cp437, RandomNumberGenerator, TextAlign, RGBA, Point};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^  ^^^^^^^^^^^^         ^^^^^^^^^^^^^^  ^^^^^^^^^            ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BuildingType`, `Building`, and `self`
[INFO] [stdout]  --> src/map.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::buildings::{self,Building, BuildingType};
[INFO] [stdout]   |                        ^^^^ ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NAVY`, `RED`, and `YELLOW`
[INFO] [stdout]  --> src/stimulation.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bracket_lib::color::{BLACK, YELLOW,RED,WHITE,NAVY};
[INFO] [stdout]   |                                 ^^^^^^ ^^^       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BError`, `BTermBuilder`, `RGBA`, `RandomNumberGenerator`, `TextAlign`, `main_loop`, and `to_cp437`
[INFO] [stdout]  --> src/stimulation.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use bracket_lib::prelude::{main_loop, BError, BTermBuilder,
[INFO] [stdout]   |                            ^^^^^^^^^  ^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 3 |                            BTerm, VirtualKeyCode, GameState,
[INFO] [stdout] 4 |                            to_cp437, RandomNumberGenerator, TextAlign, RGBA, Point};
[INFO] [stdout]   |                            ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/stimulation.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `::std::rc::Rc`
[INFO] [stdout]   --> src/stimulation.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | use::std::rc::Rc;
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, and `self`
[INFO] [stdout]   --> src/stimulation.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::sync::mpsc::{self, Sender, Receiver};
[INFO] [stdout]    |                       ^^^^  ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `string`
[INFO] [stdout]   --> src/stimulation.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::{vec, string};      
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/stimulation.rs:18:20
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::lands::{self, LandType};
[INFO] [stdout]    |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BuildingType` and `self`
[INFO] [stdout]   --> src/stimulation.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::buildings::{self,Building, BuildingType};
[INFO] [stdout]    |                        ^^^^           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/lands.rs:47:35
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn add_building(&mut self,value:u32){
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lands.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut newbuilding = Building::new(3, Wheat,1,Bread,BuildingType::BreadFactory);
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/stimulation.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let mut wheat:Arc<Mutex<u32>> = Arc::new(Mutex::new(self.world_market.get(&good_name).copied().unwrap_or(0)));
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stimulation.rs:130:17
[INFO] [stdout]     |
[INFO] [stdout] 130 |             let mut wheat:Arc<Mutex<u32>> = Arc::new(Mutex::new(self.world_market.get(&good_name).copied().unwrap_or(0)));
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stimulation.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let mut land_size_x:u32 = 35;
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stimulation.rs:158:13
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let mut good_x:u32 = 2;
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stimulation.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let mut pop_x:u32 = 45;
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/stimulation.rs:262:13
[INFO] [stdout]     |
[INFO] [stdout] 262 |             _ => {}
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/stimulation.rs:262:13
[INFO] [stdout]     |
[INFO] [stdout] 259 |             GameMode::Menu => self.main_menu(ctx),
[INFO] [stdout]     |             -------------- matches some of the same values
[INFO] [stdout] 260 |             GameMode::End => self.dead(ctx),
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] 261 |             GameMode::Playing => self.play(ctx),
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout] 262 |             _ => {}
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `input_num`, `input_type`, and `output_type` are never read
[INFO] [stdout]   --> src/buildings.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Building {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 12 |     input_num:u32,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 13 |     input_type:GoodType,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 14 |     output_num:u32,
[INFO] [stdout] 15 |     output_type:GoodType,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_fertility` is never used
[INFO] [stdout]   --> src/lands.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Land{
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 68 |     fn update_fertility(&mut self,value:u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `storage` is never read
[INFO] [stdout]  --> src/people.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct People {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 8 |     food_consume:u32,
[INFO] [stdout] 9 |     storage:u32,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_type` is never used
[INFO] [stdout]   --> src/people.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl People {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn get_type(&self) -> &PersonType {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GAME_WIDTH` is never used
[INFO] [stdout]   --> src/stimulation.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const GAME_WIDTH:i32 = 80;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GAME_HEIGHT` is never used
[INFO] [stdout]   --> src/stimulation.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const GAME_HEIGHT:i32 = 50;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `End` is never constructed
[INFO] [stdout]   --> src/stimulation.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | enum GameMode{
[INFO] [stdout]    |      -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 32 |     End,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 43s
[INFO] running `Command { std: "docker" "inspect" "d6e26e7a02d06649bc45e49404fa0de7d7e8211ad2f147fef73d435d4e3886cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6e26e7a02d06649bc45e49404fa0de7d7e8211ad2f147fef73d435d4e3886cf", kill_on_drop: false }`
[INFO] [stdout] d6e26e7a02d06649bc45e49404fa0de7d7e8211ad2f147fef73d435d4e3886cf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c712da5448f3e1aa5d7430127fffc69e96a0a3744168cb21634ac3d4cb9260c3
[INFO] running `Command { std: "docker" "start" "-a" "c712da5448f3e1aa5d7430127fffc69e96a0a3744168cb21634ac3d4cb9260c3", kill_on_drop: false }`
[INFO] [stderr]    Compiling market-stimulation v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: the `#[test]` attribute may only be used on a non-associated function
[INFO] [stdout]   --> src/stimulation.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     #[test]
[INFO] [stdout]    |     ^^^^^^^ the `#[test]` macro causes a function to be run as a test and has no effect on non-functions
[INFO] [stdout]    |
[INFO] [stdout] help: replace with conditional compilation to make the item only exist when tests are being run
[INFO] [stdout]    |
[INFO] [stdout] 78 |     #[cfg(test)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/lands.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/lands.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, and `self`
[INFO] [stdout]  --> src/lands.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::mpsc::{self, Sender, Receiver};
[INFO] [stdout]   |                       ^^^^  ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]  --> src/lands.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::thread::sleep;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/lands.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::buildings::{self,Building, BuildingType};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GREEN`, `NAVY`, `WHITE`, and `YELLOW`
[INFO] [stdout]  --> src/currentland.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bracket_lib::color::{BLACK, YELLOW,RED,WHITE,NAVY,GREEN};
[INFO] [stdout]   |                                 ^^^^^^     ^^^^^ ^^^^ ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BError`, `BTermBuilder`, `GameState`, `RGBA`, `RandomNumberGenerator`, `TextAlign`, and `main_loop`
[INFO] [stdout]  --> src/currentland.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use bracket_lib::prelude::{main_loop, BError, BTermBuilder, BTerm, VirtualKeyCode, GameState,
[INFO] [stdout]   |                            ^^^^^^^^^  ^^^^^^  ^^^^^^^^^^^^                         ^^^^^^^^^
[INFO] [stdout] 3 |                            to_cp437, RandomNumberGenerator, TextAlign, RGBA, Point};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lands::LandType`
[INFO] [stdout]  --> src/currentland.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::lands::LandType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `map_idx`
[INFO] [stdout]  --> src/currentland.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::map::{Map, map_idx,SCREEN_WIDTH,SCREEN_HEIGHT,START_Y,START_X};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NAVY` and `RED`
[INFO] [stdout]  --> src/map.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bracket_lib::color::{BLACK, YELLOW,RED,WHITE,NAVY,GREEN};
[INFO] [stdout]   |                                        ^^^       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BError`, `BTermBuilder`, `GameState`, `RGBA`, `RandomNumberGenerator`, `TextAlign`, `VirtualKeyCode`, and `main_loop`
[INFO] [stdout]  --> src/map.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...relude::{main_loop, BError, BTermBuilder, BTerm, VirtualKeyCode, GameState, to_cp437, RandomNumberGenerator, TextAlign, RGBA, Point};
[INFO] [stdout]   |             ^^^^^^^^^  ^^^^^^  ^^^^^^^^^^^^         ^^^^^^^^^^^^^^  ^^^^^^^^^            ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BuildingType`, `Building`, and `self`
[INFO] [stdout]  --> src/map.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::buildings::{self,Building, BuildingType};
[INFO] [stdout]   |                        ^^^^ ^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NAVY`, `RED`, and `YELLOW`
[INFO] [stdout]  --> src/stimulation.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bracket_lib::color::{BLACK, YELLOW,RED,WHITE,NAVY};
[INFO] [stdout]   |                                 ^^^^^^ ^^^       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BError`, `BTermBuilder`, `RGBA`, `RandomNumberGenerator`, `TextAlign`, `main_loop`, and `to_cp437`
[INFO] [stdout]  --> src/stimulation.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use bracket_lib::prelude::{main_loop, BError, BTermBuilder,
[INFO] [stdout]   |                            ^^^^^^^^^  ^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 3 |                            BTerm, VirtualKeyCode, GameState,
[INFO] [stdout] 4 |                            to_cp437, RandomNumberGenerator, TextAlign, RGBA, Point};
[INFO] [stdout]   |                            ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/stimulation.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `::std::rc::Rc`
[INFO] [stdout]   --> src/stimulation.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | use::std::rc::Rc;
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, and `self`
[INFO] [stdout]   --> src/stimulation.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::sync::mpsc::{self, Sender, Receiver};
[INFO] [stdout]    |                       ^^^^  ^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `string`
[INFO] [stdout]   --> src/stimulation.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::{vec, string};      
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/stimulation.rs:18:20
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::lands::{self, LandType};
[INFO] [stdout]    |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BuildingType` and `self`
[INFO] [stdout]   --> src/stimulation.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::buildings::{self,Building, BuildingType};
[INFO] [stdout]    |                        ^^^^           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/lands.rs:47:35
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn add_building(&mut self,value:u32){
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lands.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut newbuilding = Building::new(3, Wheat,1,Bread,BuildingType::BreadFactory);
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/stimulation.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let mut wheat:Arc<Mutex<u32>> = Arc::new(Mutex::new(self.world_market.get(&good_name).copied().unwrap_or(0)));
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stimulation.rs:130:17
[INFO] [stdout]     |
[INFO] [stdout] 130 |             let mut wheat:Arc<Mutex<u32>> = Arc::new(Mutex::new(self.world_market.get(&good_name).copied().unwrap_or(0)));
[INFO] [stdout]     |                 ----^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stimulation.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let mut land_size_x:u32 = 35;
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stimulation.rs:158:13
[INFO] [stdout]     |
[INFO] [stdout] 158 |         let mut good_x:u32 = 2;
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/stimulation.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let mut pop_x:u32 = 45;
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/stimulation.rs:262:13
[INFO] [stdout]     |
[INFO] [stdout] 262 |             _ => {}
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/stimulation.rs:262:13
[INFO] [stdout]     |
[INFO] [stdout] 259 |             GameMode::Menu => self.main_menu(ctx),
[INFO] [stdout]     |             -------------- matches some of the same values
[INFO] [stdout] 260 |             GameMode::End => self.dead(ctx),
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] 261 |             GameMode::Playing => self.play(ctx),
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout] 262 |             _ => {}
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `market-stimulation` (bin "market-stimulation" test) due to 1 previous error; 28 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c712da5448f3e1aa5d7430127fffc69e96a0a3744168cb21634ac3d4cb9260c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c712da5448f3e1aa5d7430127fffc69e96a0a3744168cb21634ac3d4cb9260c3", kill_on_drop: false }`
[INFO] [stdout] c712da5448f3e1aa5d7430127fffc69e96a0a3744168cb21634ac3d4cb9260c3
