[INFO] cloning repository https://github.com/superosku/oskuRTS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/superosku/oskuRTS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperosku%2FoskuRTS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperosku%2FoskuRTS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01849e8e88ae5110907ad141820d31c79cabf6b1 [INFO] checking superosku/oskuRTS against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperosku%2FoskuRTS" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/superosku/oskuRTS on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/superosku/oskuRTS [INFO] finished tweaking git repo https://github.com/superosku/oskuRTS [INFO] tweaked toml for git repo https://github.com/superosku/oskuRTS written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/superosku/oskuRTS 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_jitter v0.1.2 [INFO] [stderr] Downloaded multi_mut v0.1.3 [INFO] [stderr] Downloaded rand_pcg v0.1.1 [INFO] [stderr] Downloaded byteorder v1.3.1 [INFO] [stderr] Downloaded num-integer v0.1.39 [INFO] [stderr] Downloaded sdl2 v0.32.1 [INFO] [stderr] Downloaded c_vec v1.3.2 [INFO] [stderr] Downloaded num-iter v0.1.37 [INFO] [stderr] Downloaded num-traits v0.2.6 [INFO] [stderr] Downloaded autocfg v0.1.2 [INFO] [stderr] Downloaded bitflags v1.0.4 [INFO] [stderr] Downloaded rand_os v0.1.2 [INFO] [stderr] Downloaded rand_core v0.4.0 [INFO] [stderr] Downloaded libc v0.2.48 [INFO] [stderr] Downloaded sdl2-sys v0.32.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fc96dedd3e10bff4f1af926c34b53ea6102203f235804a265caa01aade978f1 [INFO] running `Command { std: "docker" "start" "-a" "0fc96dedd3e10bff4f1af926c34b53ea6102203f235804a265caa01aade978f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fc96dedd3e10bff4f1af926c34b53ea6102203f235804a265caa01aade978f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fc96dedd3e10bff4f1af926c34b53ea6102203f235804a265caa01aade978f1", kill_on_drop: false }` [INFO] [stdout] 0fc96dedd3e10bff4f1af926c34b53ea6102203f235804a265caa01aade978f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62301b6217bd8d92a24e04f2ba7be4af10623ad5c443c639e81eceeab4241138 [INFO] running `Command { std: "docker" "start" "-a" "62301b6217bd8d92a24e04f2ba7be4af10623ad5c443c639e81eceeab4241138", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking c_vec v1.3.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking multi_mut v0.1.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling sdl2-sys v0.32.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.2 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.32.1 [INFO] [stderr] Checking rust-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::mem::transmute` [INFO] [stdout] --> src/map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::transmute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::map` [INFO] [stdout] --> src/projectile.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::map; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:135:69 [INFO] [stdout] | [INFO] [stdout] 135 | Event::KeyDown { keycode: Some(Keycode::I), .. } => (camera.zoom_in()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 135 - Event::KeyDown { keycode: Some(Keycode::I), .. } => (camera.zoom_in()), [INFO] [stdout] 135 + Event::KeyDown { keycode: Some(Keycode::I), .. } => camera.zoom_in(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:136:69 [INFO] [stdout] | [INFO] [stdout] 136 | Event::KeyDown { keycode: Some(Keycode::O), .. } => (camera.zoom_out()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - Event::KeyDown { keycode: Some(Keycode::O), .. } => (camera.zoom_out()), [INFO] [stdout] 136 + Event::KeyDown { keycode: Some(Keycode::O), .. } => camera.zoom_out(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::transmute` [INFO] [stdout] --> src/map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::mem::transmute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::map` [INFO] [stdout] --> src/projectile.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::map; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:135:69 [INFO] [stdout] | [INFO] [stdout] 135 | Event::KeyDown { keycode: Some(Keycode::I), .. } => (camera.zoom_in()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 135 - Event::KeyDown { keycode: Some(Keycode::I), .. } => (camera.zoom_in()), [INFO] [stdout] 135 + Event::KeyDown { keycode: Some(Keycode::I), .. } => camera.zoom_in(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/main.rs:136:69 [INFO] [stdout] | [INFO] [stdout] 136 | Event::KeyDown { keycode: Some(Keycode::O), .. } => (camera.zoom_out()), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - Event::KeyDown { keycode: Some(Keycode::O), .. } => (camera.zoom_out()), [INFO] [stdout] 136 + Event::KeyDown { keycode: Some(Keycode::O), .. } => camera.zoom_out(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMapMultiMut` [INFO] [stdout] --> src/entity_holder.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use multi_mut::{HashMapMultiMut, BTreeMapMultiMut}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMapMultiMut` [INFO] [stdout] --> src/entity_holder.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use multi_mut::{HashMapMultiMut, BTreeMapMultiMut}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary_data` [INFO] [stdout] --> src/entity.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | let (point_y, binary_data) = binary_helpers::pop_f32(binary_data); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary_data` [INFO] [stdout] --> src/entity.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let (point_y, binary_data) = binary_helpers::pop_f32(binary_data); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource_type` [INFO] [stdout] --> src/entity.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | let (resource_type, binary_data) = binary_helpers::pop_u8(binary_data); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary_data` [INFO] [stdout] --> src/entity.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | let (resource_type, binary_data) = binary_helpers::pop_u8(binary_data); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary_data` [INFO] [stdout] --> src/entity.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | let (point_y, binary_data) = binary_helpers::pop_f32(binary_data); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary_data` [INFO] [stdout] --> src/entity.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let (point_y, binary_data) = binary_helpers::pop_f32(binary_data); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource_type` [INFO] [stdout] --> src/entity.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | let (resource_type, binary_data) = binary_helpers::pop_u8(binary_data); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary_data` [INFO] [stdout] --> src/entity.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | let (resource_type, binary_data) = binary_helpers::pop_u8(binary_data); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary_data` [INFO] [stdout] --> src/entity.rs:179:32 [INFO] [stdout] | [INFO] [stdout] 179 | let (task_binary_data, binary_data) = binary_helpers::pop_padded(binary_data); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point_x` [INFO] [stdout] --> src/entity.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | let mut point_x: f32 = 0.0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point_y` [INFO] [stdout] --> src/entity.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | let mut point_y: f32 = 0.0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let mut point_x: f32 = 0.0; [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/entity.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let mut point_y: f32 = 0.0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary_data` [INFO] [stdout] --> src/entity.rs:179:32 [INFO] [stdout] | [INFO] [stdout] 179 | let (task_binary_data, binary_data) = binary_helpers::pop_padded(binary_data); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point_x` [INFO] [stdout] --> src/entity.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | let mut point_x: f32 = 0.0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point_y` [INFO] [stdout] --> src/entity.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | let mut point_y: f32 = 0.0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let mut point_x: f32 = 0.0; [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/entity.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let mut point_y: f32 = 0.0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/entity.rs:542:53 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn interact_with(&mut self, other: &Entity, map: &map::Map) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/entity.rs:542:53 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn interact_with(&mut self, other: &Entity, map: &map::Map) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary_data` [INFO] [stdout] --> src/entity_holder.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | let (mut buildings_data, binary_data) = binary_helpers::pop_padded(binary_data); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity_holder.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let mut entity = Entity::from_binary(unit_data); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary_data` [INFO] [stdout] --> src/entity_holder.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | let (mut buildings_data, binary_data) = binary_helpers::pop_padded(binary_data); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity_holder.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let mut entity = Entity::from_binary(unit_data); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `team_id` [INFO] [stdout] --> src/entity_holder.rs:185:82 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn add_new_building(&mut self, map: &mut map::Map, location: (i32, i32), team_id: u32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity_holder.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let mut new_entity = Entity::new(x, y, self.id_counter, team_id, entity_type); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `team_id` [INFO] [stdout] --> src/entity_holder.rs:185:82 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn add_new_building(&mut self, map: &mut map::Map, location: (i32, i32), team_id: u32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity_holder.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let mut new_entity = Entity::new(x, y, self.id_counter, team_id, entity_type); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick` [INFO] [stdout] --> src/entity_holder.rs:253:73 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn entities_interact_with_each_other(&mut self, map: &map::Map, tick: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick` [INFO] [stdout] --> src/entity_holder.rs:253:73 [INFO] [stdout] | [INFO] [stdout] 253 | pub fn entities_interact_with_each_other(&mut self, map: &map::Map, tick: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity_holder.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | let mut entity = self.entities.get_mut(entity_id).unwrap(); [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/entity_holder.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | let mut entity = self.entities.get_mut(entity_id).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary_data` [INFO] [stdout] --> src/projectile.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let (angle, binary_data) = binary_helpers::pop_f32(binary_data); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary_data` [INFO] [stdout] --> src/building.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let (y, binary_data) = binary_helpers::pop_i32(binary_data); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary_data` [INFO] [stdout] --> src/projectile.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let (angle, binary_data) = binary_helpers::pop_f32(binary_data); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary_data` [INFO] [stdout] --> src/building.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let (y, binary_data) = binary_helpers::pop_i32(binary_data); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit_type` [INFO] [stdout] --> src/game_state.rs:115:60 [INFO] [stdout] | [INFO] [stdout] 115 | GameEvent::InsertUnit { location, team_id, unit_type } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `unit_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit_type` [INFO] [stdout] --> src/game_state.rs:115:60 [INFO] [stdout] | [INFO] [stdout] 115 | GameEvent::InsertUnit { location, team_id, unit_type } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `unit_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary_data` [INFO] [stdout] --> src/binary_helpers.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut binary_data: Vec = vec![0; 4]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/binary_helpers.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut binary_data: Vec = vec![0; 4]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary_data` [INFO] [stdout] --> src/binary_helpers.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut binary_data: Vec = vec![0; 4]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/binary_helpers.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut binary_data: Vec = vec![0; 4]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:253:29 [INFO] [stdout] | [INFO] [stdout] 253 | ... _ => Err("Invalid GroundType for drawing".to_string()) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:253:29 [INFO] [stdout] | [INFO] [stdout] 253 | ... _ => Err("Invalid GroundType for drawing".to_string()) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Gold` is never constructed [INFO] [stdout] --> src/entity.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum ResourceType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 12 | Wood, [INFO] [stdout] 13 | Gold, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceType` has a derived impl for the trait `Clone`, 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 `Gold` is never constructed [INFO] [stdout] --> src/entity.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum ResourceType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 12 | Wood, [INFO] [stdout] 13 | Gold, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceType` has a derived impl for the trait `Clone`, 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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | / canvas.copy( [INFO] [stdout] 399 | | &texture_holder.building_1_texture, [INFO] [stdout] 400 | | None, [INFO] [stdout] 401 | | rect [INFO] [stdout] 402 | | ); [INFO] [stdout] | |________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 398 | let _ = canvas.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | / canvas.copy( [INFO] [stdout] 399 | | &texture_holder.building_1_texture, [INFO] [stdout] 400 | | None, [INFO] [stdout] 401 | | rect [INFO] [stdout] 402 | | ); [INFO] [stdout] | |________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 398 | let _ = canvas.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.39s [INFO] running `Command { std: "docker" "inspect" "62301b6217bd8d92a24e04f2ba7be4af10623ad5c443c639e81eceeab4241138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62301b6217bd8d92a24e04f2ba7be4af10623ad5c443c639e81eceeab4241138", kill_on_drop: false }` [INFO] [stdout] 62301b6217bd8d92a24e04f2ba7be4af10623ad5c443c639e81eceeab4241138 [INFO] checking superosku/oskuRTS against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperosku%2FoskuRTS" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/superosku/oskuRTS on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/superosku/oskuRTS [INFO] finished tweaking git repo https://github.com/superosku/oskuRTS [INFO] tweaked toml for git repo https://github.com/superosku/oskuRTS written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/superosku/oskuRTS 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a29c5b7ddd5144b861e391a1b3ea49f7c5dd4ed48bef0df314a570ee68ca085 [INFO] running `Command { std: "docker" "start" "-a" "6a29c5b7ddd5144b861e391a1b3ea49f7c5dd4ed48bef0df314a570ee68ca085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a29c5b7ddd5144b861e391a1b3ea49f7c5dd4ed48bef0df314a570ee68ca085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a29c5b7ddd5144b861e391a1b3ea49f7c5dd4ed48bef0df314a570ee68ca085", kill_on_drop: false }` [INFO] [stdout] 6a29c5b7ddd5144b861e391a1b3ea49f7c5dd4ed48bef0df314a570ee68ca085 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 321426d780c6eef82471070571a1bb131b6b515b52148fb056f9905fead65814 [INFO] running `Command { std: "docker" "start" "-a" "321426d780c6eef82471070571a1bb131b6b515b52148fb056f9905fead65814", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking c_vec v1.3.2 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking multi_mut v0.1.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling sdl2-sys v0.32.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.2 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 505 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 506 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 507 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 508 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 509 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.39/src/lib.rs:270:41 [INFO] [stdout] | [INFO] [stdout] 270 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 511 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "321426d780c6eef82471070571a1bb131b6b515b52148fb056f9905fead65814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "321426d780c6eef82471070571a1bb131b6b515b52148fb056f9905fead65814", kill_on_drop: false }` [INFO] [stdout] 321426d780c6eef82471070571a1bb131b6b515b52148fb056f9905fead65814