[INFO] cloning repository https://github.com/yazgoo/blockish-raycasting [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yazgoo/blockish-raycasting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyazgoo%2Fblockish-raycasting", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyazgoo%2Fblockish-raycasting'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36fb1541a4cd69bf8f48b784437783ec98380764 [INFO] testing yazgoo/blockish-raycasting against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyazgoo%2Fblockish-raycasting" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yazgoo/blockish-raycasting on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yazgoo/blockish-raycasting [INFO] finished tweaking git repo https://github.com/yazgoo/blockish-raycasting [INFO] tweaked toml for git repo https://github.com/yazgoo/blockish-raycasting written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/yazgoo/blockish-raycasting already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 020b2cd0ce3bce19795fca019f25275696d8c9f225e065493663849d95977b02 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "020b2cd0ce3bce19795fca019f25275696d8c9f225e065493663849d95977b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "020b2cd0ce3bce19795fca019f25275696d8c9f225e065493663849d95977b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "020b2cd0ce3bce19795fca019f25275696d8c9f225e065493663849d95977b02", kill_on_drop: false }` [INFO] [stdout] 020b2cd0ce3bce19795fca019f25275696d8c9f225e065493663849d95977b02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cba872999fae7a7ec3c43ef754ebc62aa841bbfaf8a730815efb12637138e406 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cba872999fae7a7ec3c43ef754ebc62aa841bbfaf8a730815efb12637138e406", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling hashbrown v0.9.0 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling cpal v0.11.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling podio v0.1.7 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling tracing-core v0.1.15 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling pathfinder_simd v0.5.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling lewton v0.10.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling crossterm_utils v0.4.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling freetype v0.7.0 [INFO] [stderr] Compiling crossterm_screen v0.3.2 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling scan_fmt v0.2.5 [INFO] [stderr] Compiling minimp3 v0.3.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling zip v0.5.6 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling signal-hook v0.1.16 [INFO] [stderr] Compiling crossterm_input v0.5.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling font-kit v0.10.0 [INFO] [stderr] Compiling crossterm v0.15.0 [INFO] [stderr] Compiling laminar v0.3.2 [INFO] [stderr] Compiling gilrs-core v0.2.6 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling gilrs v0.7.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling rodio v0.11.0 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling blockish v0.0.8 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.8 [INFO] [stderr] Compiling blockish-raycasting v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `metadata` [INFO] [stdout] --> src/client.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::{File, metadata}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/client.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Button` [INFO] [stdout] --> src/client.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | use gilrs::{Gilrs, Button, Event}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/server/levels.rs:101:46 [INFO] [stdout] | [INFO] [stdout] 101 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/server/levels.rs:101:49 [INFO] [stdout] | [INFO] [stdout] 101 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/server/levels.rs:101:52 [INFO] [stdout] | [INFO] [stdout] 101 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world_map` [INFO] [stdout] --> src/server/levels.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/server/levels.rs:101:71 [INFO] [stdout] | [INFO] [stdout] 101 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/server/levels.rs:180:38 [INFO] [stdout] | [INFO] [stdout] 180 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/server/levels.rs:180:41 [INFO] [stdout] | [INFO] [stdout] 180 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/server/levels.rs:180:44 [INFO] [stdout] | [INFO] [stdout] 180 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world_map` [INFO] [stdout] --> src/server/levels.rs:180:52 [INFO] [stdout] | [INFO] [stdout] 180 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/server/levels.rs:180:63 [INFO] [stdout] | [INFO] [stdout] 180 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/server/levels.rs:273:42 [INFO] [stdout] | [INFO] [stdout] 273 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/server/levels.rs:273:45 [INFO] [stdout] | [INFO] [stdout] 273 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/server/levels.rs:273:48 [INFO] [stdout] | [INFO] [stdout] 273 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world_map` [INFO] [stdout] --> src/server/levels.rs:273:56 [INFO] [stdout] | [INFO] [stdout] 273 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/server/levels.rs:273:67 [INFO] [stdout] | [INFO] [stdout] 273 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/server/levels.rs:361:42 [INFO] [stdout] | [INFO] [stdout] 361 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/server/levels.rs:361:45 [INFO] [stdout] | [INFO] [stdout] 361 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/server/levels.rs:361:48 [INFO] [stdout] | [INFO] [stdout] 361 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world_map` [INFO] [stdout] --> src/server/levels.rs:361:56 [INFO] [stdout] | [INFO] [stdout] 361 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/server/levels.rs:361:67 [INFO] [stdout] | [INFO] [stdout] 361 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/server/levels.rs:437:44 [INFO] [stdout] | [INFO] [stdout] 437 | on_action: Box::new(|x, y, action, world_map, world_layer| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sound_device` [INFO] [stdout] --> src/client.rs:640:19 [INFO] [stdout] | [INFO] [stdout] 640 | fn render_portals(sound_device: &rodio::Device, portals: &Vec>, portals_dests: &Vec>, portal_color_buff: &mut Vec,... [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sound_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_buff` [INFO] [stdout] --> src/client.rs:640:588 [INFO] [stdout] | [INFO] [stdout] 640 | ... u32, torch_height: u32, color_buff: &mut Vec, depth_buff: &mut Vec, world_map: &Vec>, world_layer: &Vec>, w... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_buff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_buff` [INFO] [stdout] --> src/client.rs:640:615 [INFO] [stdout] | [INFO] [stdout] 640 | ...lor_buff: &mut Vec, depth_buff: &mut Vec, world_map: &Vec>, world_layer: &Vec>, window_width: usize, window_... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_buff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_width` [INFO] [stdout] --> src/client.rs:640:696 [INFO] [stdout] | [INFO] [stdout] 640 | ..._layer: &Vec>, window_width: usize, window_height: usize, pos_x: &mut f32, pos_y: &mut f32, dir_x:f32, dir_y: f32, plane_x: f3... [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_height` [INFO] [stdout] --> src/client.rs:640:717 [INFO] [stdout] | [INFO] [stdout] 640 | ... window_width: usize, window_height: usize, pos_x: &mut f32, pos_y: &mut f32, dir_x:f32, dir_y: f32, plane_x: f32, plane_y: f32, t: i3... [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `active_gamepad` is never read [INFO] [stdout] --> src/client.rs:848:13 [INFO] [stdout] | [INFO] [stdout] 848 | let mut active_gamepad = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/client.rs:899:45 [INFO] [stdout] | [INFO] [stdout] 899 | ... for i in 0..portals.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/client.rs:1009:37 [INFO] [stdout] | [INFO] [stdout] 1009 | if let Some(Event { id, event, time }) = gilrs.next_event() { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `event: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/client.rs:1009:44 [INFO] [stdout] | [INFO] [stdout] 1009 | if let Some(Event { id, event, time }) = gilrs.next_event() { [INFO] [stdout] | ^^^^ help: try ignoring the field: `time: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*points` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/server.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 23 | let who_points = points.get(key).unwrap(); [INFO] [stdout] | ------ immutable borrow occurs here [INFO] [stdout] 24 | points.insert(*key, who_points + 1); [INFO] [stdout] | ^^^^^^ ---------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 579 | let mut file = File::open(&url).unwrap(); [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/client.rs:686:9 [INFO] [stdout] | [INFO] [stdout] 686 | let mut portal_color_buff_u8 : Vec = vec![0; portal_width * portal_height * 4]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `first` [INFO] [stdout] --> src/server/levels.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn first() -> Level { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rat_race` [INFO] [stdout] --> src/server/levels.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn rat_race() -> Level { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spyral` [INFO] [stdout] --> src/server/levels.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn spyral() -> Level { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `trapped` [INFO] [stdout] --> src/server/levels.rs:276:8 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn trapped() -> Level { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 33s [INFO] running `Command { std: "docker" "inspect" "cba872999fae7a7ec3c43ef754ebc62aa841bbfaf8a730815efb12637138e406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cba872999fae7a7ec3c43ef754ebc62aa841bbfaf8a730815efb12637138e406", kill_on_drop: false }` [INFO] [stdout] cba872999fae7a7ec3c43ef754ebc62aa841bbfaf8a730815efb12637138e406 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b21a851951087e112aa241710c91535f4380a2861eb7105fe749f89e63d16cc1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b21a851951087e112aa241710c91535f4380a2861eb7105fe749f89e63d16cc1", kill_on_drop: false }` [INFO] [stderr] Compiling blockish-raycasting v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `metadata` [INFO] [stdout] --> src/client.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::{File, metadata}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/client.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Button` [INFO] [stdout] --> src/client.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | use gilrs::{Gilrs, Button, Event}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/server/levels.rs:101:46 [INFO] [stdout] | [INFO] [stdout] 101 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/server/levels.rs:101:49 [INFO] [stdout] | [INFO] [stdout] 101 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/server/levels.rs:101:52 [INFO] [stdout] | [INFO] [stdout] 101 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world_map` [INFO] [stdout] --> src/server/levels.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/server/levels.rs:101:71 [INFO] [stdout] | [INFO] [stdout] 101 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/server/levels.rs:180:38 [INFO] [stdout] | [INFO] [stdout] 180 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/server/levels.rs:180:41 [INFO] [stdout] | [INFO] [stdout] 180 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/server/levels.rs:180:44 [INFO] [stdout] | [INFO] [stdout] 180 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world_map` [INFO] [stdout] --> src/server/levels.rs:180:52 [INFO] [stdout] | [INFO] [stdout] 180 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/server/levels.rs:180:63 [INFO] [stdout] | [INFO] [stdout] 180 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/server/levels.rs:273:42 [INFO] [stdout] | [INFO] [stdout] 273 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/server/levels.rs:273:45 [INFO] [stdout] | [INFO] [stdout] 273 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/server/levels.rs:273:48 [INFO] [stdout] | [INFO] [stdout] 273 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world_map` [INFO] [stdout] --> src/server/levels.rs:273:56 [INFO] [stdout] | [INFO] [stdout] 273 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/server/levels.rs:273:67 [INFO] [stdout] | [INFO] [stdout] 273 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/server/levels.rs:361:42 [INFO] [stdout] | [INFO] [stdout] 361 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/server/levels.rs:361:45 [INFO] [stdout] | [INFO] [stdout] 361 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/server/levels.rs:361:48 [INFO] [stdout] | [INFO] [stdout] 361 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world_map` [INFO] [stdout] --> src/server/levels.rs:361:56 [INFO] [stdout] | [INFO] [stdout] 361 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/server/levels.rs:361:67 [INFO] [stdout] | [INFO] [stdout] 361 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/server/levels.rs:437:44 [INFO] [stdout] | [INFO] [stdout] 437 | on_action: Box::new(|x, y, action, world_map, world_layer| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sound_device` [INFO] [stdout] --> src/client.rs:640:19 [INFO] [stdout] | [INFO] [stdout] 640 | fn render_portals(sound_device: &rodio::Device, portals: &Vec>, portals_dests: &Vec>, portal_color_buff: &mut Vec,... [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sound_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_buff` [INFO] [stdout] --> src/client.rs:640:588 [INFO] [stdout] | [INFO] [stdout] 640 | ... u32, torch_height: u32, color_buff: &mut Vec, depth_buff: &mut Vec, world_map: &Vec>, world_layer: &Vec>, w... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_buff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_buff` [INFO] [stdout] --> src/client.rs:640:615 [INFO] [stdout] | [INFO] [stdout] 640 | ...lor_buff: &mut Vec, depth_buff: &mut Vec, world_map: &Vec>, world_layer: &Vec>, window_width: usize, window_... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_buff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_width` [INFO] [stdout] --> src/client.rs:640:696 [INFO] [stdout] | [INFO] [stdout] 640 | ..._layer: &Vec>, window_width: usize, window_height: usize, pos_x: &mut f32, pos_y: &mut f32, dir_x:f32, dir_y: f32, plane_x: f3... [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_height` [INFO] [stdout] --> src/client.rs:640:717 [INFO] [stdout] | [INFO] [stdout] 640 | ... window_width: usize, window_height: usize, pos_x: &mut f32, pos_y: &mut f32, dir_x:f32, dir_y: f32, plane_x: f32, plane_y: f32, t: i3... [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `active_gamepad` is never read [INFO] [stdout] --> src/client.rs:848:13 [INFO] [stdout] | [INFO] [stdout] 848 | let mut active_gamepad = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/client.rs:899:45 [INFO] [stdout] | [INFO] [stdout] 899 | ... for i in 0..portals.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/client.rs:1009:37 [INFO] [stdout] | [INFO] [stdout] 1009 | if let Some(Event { id, event, time }) = gilrs.next_event() { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `event: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/client.rs:1009:44 [INFO] [stdout] | [INFO] [stdout] 1009 | if let Some(Event { id, event, time }) = gilrs.next_event() { [INFO] [stdout] | ^^^^ help: try ignoring the field: `time: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*points` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/server.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 23 | let who_points = points.get(key).unwrap(); [INFO] [stdout] | ------ immutable borrow occurs here [INFO] [stdout] 24 | points.insert(*key, who_points + 1); [INFO] [stdout] | ^^^^^^ ---------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 579 | let mut file = File::open(&url).unwrap(); [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/client.rs:686:9 [INFO] [stdout] | [INFO] [stdout] 686 | let mut portal_color_buff_u8 : Vec = vec![0; portal_width * portal_height * 4]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `first` [INFO] [stdout] --> src/server/levels.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn first() -> Level { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rat_race` [INFO] [stdout] --> src/server/levels.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn rat_race() -> Level { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spyral` [INFO] [stdout] --> src/server/levels.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn spyral() -> Level { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `trapped` [INFO] [stdout] --> src/server/levels.rs:276:8 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn trapped() -> Level { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.48s [INFO] running `Command { std: "docker" "inspect" "b21a851951087e112aa241710c91535f4380a2861eb7105fe749f89e63d16cc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b21a851951087e112aa241710c91535f4380a2861eb7105fe749f89e63d16cc1", kill_on_drop: false }` [INFO] [stdout] b21a851951087e112aa241710c91535f4380a2861eb7105fe749f89e63d16cc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2a662852dec4ea1b8ad1e9c4eaf166c338775923d0665053b8cd3a3e8d596f59 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2a662852dec4ea1b8ad1e9c4eaf166c338775923d0665053b8cd3a3e8d596f59", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `metadata` [INFO] [stderr] --> src/client.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | use std::fs::{File, metadata}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `bytes::Bytes` [INFO] [stderr] --> src/client.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use bytes::Bytes; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Button` [INFO] [stderr] --> src/client.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | use gilrs::{Gilrs, Button, Event}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/server/levels.rs:101:46 [INFO] [stderr] | [INFO] [stderr] 101 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/server/levels.rs:101:49 [INFO] [stderr] | [INFO] [stderr] 101 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `action` [INFO] [stderr] --> src/server/levels.rs:101:52 [INFO] [stderr] | [INFO] [stderr] 101 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `world_map` [INFO] [stderr] --> src/server/levels.rs:101:60 [INFO] [stderr] | [INFO] [stderr] 101 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `level` [INFO] [stderr] --> src/server/levels.rs:101:71 [INFO] [stderr] | [INFO] [stderr] 101 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/server/levels.rs:180:38 [INFO] [stderr] | [INFO] [stderr] 180 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/server/levels.rs:180:41 [INFO] [stderr] | [INFO] [stderr] 180 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `action` [INFO] [stderr] --> src/server/levels.rs:180:44 [INFO] [stderr] | [INFO] [stderr] 180 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `world_map` [INFO] [stderr] --> src/server/levels.rs:180:52 [INFO] [stderr] | [INFO] [stderr] 180 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `level` [INFO] [stderr] --> src/server/levels.rs:180:63 [INFO] [stderr] | [INFO] [stderr] 180 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/server/levels.rs:273:42 [INFO] [stderr] | [INFO] [stderr] 273 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/server/levels.rs:273:45 [INFO] [stderr] | [INFO] [stderr] 273 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `action` [INFO] [stderr] --> src/server/levels.rs:273:48 [INFO] [stderr] | [INFO] [stderr] 273 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `world_map` [INFO] [stderr] --> src/server/levels.rs:273:56 [INFO] [stderr] | [INFO] [stderr] 273 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `level` [INFO] [stderr] --> src/server/levels.rs:273:67 [INFO] [stderr] | [INFO] [stderr] 273 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/server/levels.rs:361:42 [INFO] [stderr] | [INFO] [stderr] 361 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/server/levels.rs:361:45 [INFO] [stderr] | [INFO] [stderr] 361 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `action` [INFO] [stderr] --> src/server/levels.rs:361:48 [INFO] [stderr] | [INFO] [stderr] 361 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `world_map` [INFO] [stderr] --> src/server/levels.rs:361:56 [INFO] [stderr] | [INFO] [stderr] 361 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_map` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `level` [INFO] [stderr] --> src/server/levels.rs:361:67 [INFO] [stderr] | [INFO] [stderr] 361 | on_action: Box::new(|x, y, action, world_map, level| { }), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `action` [INFO] [stderr] --> src/server/levels.rs:437:44 [INFO] [stderr] | [INFO] [stderr] 437 | on_action: Box::new(|x, y, action, world_map, world_layer| { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sound_device` [INFO] [stderr] --> src/client.rs:640:19 [INFO] [stderr] | [INFO] [stderr] 640 | fn render_portals(sound_device: &rodio::Device, portals: &Vec>, portals_dests: &Vec>, portal_color_buff: &mut Vec,... [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sound_device` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color_buff` [INFO] [stderr] --> src/client.rs:640:588 [INFO] [stderr] | [INFO] [stderr] 640 | ... u32, torch_height: u32, color_buff: &mut Vec, depth_buff: &mut Vec, world_map: &Vec>, world_layer: &Vec>, w... [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_buff` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `depth_buff` [INFO] [stderr] --> src/client.rs:640:615 [INFO] [stderr] | [INFO] [stderr] 640 | ...lor_buff: &mut Vec, depth_buff: &mut Vec, world_map: &Vec>, world_layer: &Vec>, window_width: usize, window_... [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_buff` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window_width` [INFO] [stderr] --> src/client.rs:640:696 [INFO] [stderr] | [INFO] [stderr] 640 | ..._layer: &Vec>, window_width: usize, window_height: usize, pos_x: &mut f32, pos_y: &mut f32, dir_x:f32, dir_y: f32, plane_x: f3... [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window_height` [INFO] [stderr] --> src/client.rs:640:717 [INFO] [stderr] | [INFO] [stderr] 640 | ... window_width: usize, window_height: usize, pos_x: &mut f32, pos_y: &mut f32, dir_x:f32, dir_y: f32, plane_x: f32, plane_y: f32, t: i3... [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `active_gamepad` is never read [INFO] [stderr] --> src/client.rs:848:13 [INFO] [stderr] | [INFO] [stderr] 848 | let mut active_gamepad = None; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/client.rs:899:45 [INFO] [stderr] | [INFO] [stderr] 899 | ... for i in 0..portals.len() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/client.rs:1009:37 [INFO] [stderr] | [INFO] [stderr] 1009 | if let Some(Event { id, event, time }) = gilrs.next_event() { [INFO] [stderr] | ^^^^^ help: try ignoring the field: `event: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time` [INFO] [stderr] --> src/client.rs:1009:44 [INFO] [stderr] | [INFO] [stderr] 1009 | if let Some(Event { id, event, time }) = gilrs.next_event() { [INFO] [stderr] | ^^^^ help: try ignoring the field: `time: _` [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `*points` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/server.rs:24:17 [INFO] [stderr] | [INFO] [stderr] 23 | let who_points = points.get(key).unwrap(); [INFO] [stderr] | ------ immutable borrow occurs here [INFO] [stderr] 24 | points.insert(*key, who_points + 1); [INFO] [stderr] | ^^^^^^ ---------- immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/client.rs:579:9 [INFO] [stderr] | [INFO] [stderr] 579 | let mut file = File::open(&url).unwrap(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/client.rs:686:9 [INFO] [stderr] | [INFO] [stderr] 686 | let mut portal_color_buff_u8 : Vec = vec![0; portal_width * portal_height * 4]; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `first` [INFO] [stderr] --> src/server/levels.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn first() -> Level { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rat_race` [INFO] [stderr] --> src/server/levels.rs:104:8 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn rat_race() -> Level { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `spyral` [INFO] [stderr] --> src/server/levels.rs:183:8 [INFO] [stderr] | [INFO] [stderr] 183 | pub fn spyral() -> Level { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `trapped` [INFO] [stderr] --> src/server/levels.rs:276:8 [INFO] [stderr] | [INFO] [stderr] 276 | pub fn trapped() -> Level { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 40 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/blockish_raycasting-bc54c461307cc7f3 [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2a662852dec4ea1b8ad1e9c4eaf166c338775923d0665053b8cd3a3e8d596f59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a662852dec4ea1b8ad1e9c4eaf166c338775923d0665053b8cd3a3e8d596f59", kill_on_drop: false }` [INFO] [stdout] 2a662852dec4ea1b8ad1e9c4eaf166c338775923d0665053b8cd3a3e8d596f59