[INFO] cloning repository https://github.com/levkk/rust-chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/levkk/rust-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flevkk%2Frust-chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flevkk%2Frust-chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe8d875cef5d17517e39dcaee3691dd8505074e8 [INFO] building levkk/rust-chess against try#8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flevkk%2Frust-chess" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/levkk/rust-chess on toolchain 8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/levkk/rust-chess [INFO] finished tweaking git repo https://github.com/levkk/rust-chess [INFO] tweaked toml for git repo https://github.com/levkk/rust-chess written to /workspace/builds/worker-23/source/Cargo.toml [INFO] crate git repo https://github.com/levkk/rust-chess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a702b8d633596a64294a33f49a101a381dc96a77528a176eed504fb1e18d48df [INFO] running `Command { std: "docker" "start" "-a" "a702b8d633596a64294a33f49a101a381dc96a77528a176eed504fb1e18d48df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a702b8d633596a64294a33f49a101a381dc96a77528a176eed504fb1e18d48df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a702b8d633596a64294a33f49a101a381dc96a77528a176eed504fb1e18d48df", kill_on_drop: false }` [INFO] [stdout] a702b8d633596a64294a33f49a101a381dc96a77528a176eed504fb1e18d48df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 642173d565a32479e3f88a951819a8f067e6d62c24f88cfb719793be5f7cd911 [INFO] running `Command { std: "docker" "start" "-a" "642173d565a32479e3f88a951819a8f067e6d62c24f88cfb719793be5f7cd911", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling openssl v0.10.12 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling encoding_rs v0.8.10 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling tobj v0.1.6 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling semver v0.2.3 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling cmake v0.1.35 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling http v0.1.13 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling colored v1.6.1 [INFO] [stderr] Compiling gl_generator v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling mime v0.3.9 [INFO] [stderr] Compiling openssl-sys v0.9.36 [INFO] [stderr] Compiling glfw-sys v3.2.2 [INFO] [stderr] Compiling syn v0.15.8 [INFO] [stderr] Compiling libflate v0.1.18 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling crossbeam-deque v0.6.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling tokio-io v0.1.9 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling tokio-threadpool v0.1.7 [INFO] [stderr] Compiling tokio-current-thread v0.1.3 [INFO] [stderr] Compiling tokio-timer v0.2.7 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling gl v0.9.0 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.2 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-udp v0.1.2 [INFO] [stderr] Compiling tokio v0.1.11 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling h2 v0.1.12 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Compiling serde_urlencoded v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.31 [INFO] [stderr] Compiling hyper v0.12.11 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling reqwest v0.9.2 [INFO] [stderr] Compiling glfw v0.24.0 [INFO] [stderr] Compiling rust_chess v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | connection: Box, // Connection size is not known at compile time [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - connection: Box, // Connection size is not known at compile time [INFO] [stdout] 19 + connection: Box, // Connection size is not known at compile time [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gui.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | models: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 - models: Vec>, [INFO] [stdout] 93 + models: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let connection: Box; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - let connection: Box; [INFO] [stdout] 34 + let connection: Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | let connection: Box; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - let connection: Box; [INFO] [stdout] 77 + let connection: Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mesh` [INFO] [stdout] --> src/model_loader.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mesh = &m.mesh; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mesh` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection.rs:244:10 [INFO] [stdout] | [INFO] [stdout] 244 | Ok(mut res) => { [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/gui.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let mut piece = PieceModel::new( [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/models/board.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut color = match sc % 2 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `zoom` [INFO] [stdout] --> src/camera.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | zoom: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.60s [INFO] running `Command { std: "docker" "inspect" "642173d565a32479e3f88a951819a8f067e6d62c24f88cfb719793be5f7cd911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "642173d565a32479e3f88a951819a8f067e6d62c24f88cfb719793be5f7cd911", kill_on_drop: false }` [INFO] [stdout] 642173d565a32479e3f88a951819a8f067e6d62c24f88cfb719793be5f7cd911 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 544911a4078997704fcadb29bc530ff02d316ca1f335cc3f39730cce81b5e681 [INFO] running `Command { std: "docker" "start" "-a" "544911a4078997704fcadb29bc530ff02d316ca1f335cc3f39730cce81b5e681", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | connection: Box, // Connection size is not known at compile time [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - connection: Box, // Connection size is not known at compile time [INFO] [stdout] 19 + connection: Box, // Connection size is not known at compile time [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gui.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | models: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 - models: Vec>, [INFO] [stdout] 93 + models: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust_chess v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let connection: Box; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - let connection: Box; [INFO] [stdout] 34 + let connection: Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | let connection: Box; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - let connection: Box; [INFO] [stdout] 77 + let connection: Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mesh` [INFO] [stdout] --> src/model_loader.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mesh = &m.mesh; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mesh` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection.rs:244:10 [INFO] [stdout] | [INFO] [stdout] 244 | Ok(mut res) => { [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/gui.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let mut piece = PieceModel::new( [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/models/board.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut color = match sc % 2 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `zoom` [INFO] [stdout] --> src/camera.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | zoom: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/gui.rs:494:7 [INFO] [stdout] | [INFO] [stdout] 494 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::channel` [INFO] [stdout] --> src/gui.rs:495:7 [INFO] [stdout] | [INFO] [stdout] 495 | use std::sync::mpsc::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | connection: Box, // Connection size is not known at compile time [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - connection: Box, // Connection size is not known at compile time [INFO] [stdout] 19 + connection: Box, // Connection size is not known at compile time [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gui.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | models: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 - models: Vec>, [INFO] [stdout] 93 + models: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let connection: Box; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - let connection: Box; [INFO] [stdout] 34 + let connection: Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | let connection: Box; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - let connection: Box; [INFO] [stdout] 77 + let connection: Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mesh` [INFO] [stdout] --> src/model_loader.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mesh = &m.mesh; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mesh` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection.rs:244:10 [INFO] [stdout] | [INFO] [stdout] 244 | Ok(mut res) => { [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/gui.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let mut piece = PieceModel::new( [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/models/board.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut color = match sc % 2 { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `zoom` [INFO] [stdout] --> src/camera.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | zoom: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.70s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_chess-4288bc5bc066ca78) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_chess-3cbeab93370c8ece) [INFO] [stderr] Executable tests/tcp_client_and_host_test.rs (/opt/rustwide/target/debug/deps/tcp_client_and_host_test-009d287a738125ce) [INFO] [stderr] Executable tests/tcp_connection_test.rs (/opt/rustwide/target/debug/deps/tcp_connection_test-86bb5eb64a78ba46) [INFO] running `Command { std: "docker" "inspect" "544911a4078997704fcadb29bc530ff02d316ca1f335cc3f39730cce81b5e681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "544911a4078997704fcadb29bc530ff02d316ca1f335cc3f39730cce81b5e681", kill_on_drop: false }` [INFO] [stdout] 544911a4078997704fcadb29bc530ff02d316ca1f335cc3f39730cce81b5e681