[INFO] cloning repository https://github.com/LordSentox/othello [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LordSentox/othello" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordSentox%2Fothello", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordSentox%2Fothello'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d0efb3f6fbe059e2c060ebad60ce2b962a48372 [INFO] testing LordSentox/othello against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordSentox%2Fothello" "/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/LordSentox/othello on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LordSentox/othello [INFO] finished tweaking git repo https://github.com/LordSentox/othello [INFO] tweaked toml for git repo https://github.com/LordSentox/othello written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/LordSentox/othello already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.11 [INFO] [stderr] Downloaded bincode v0.8.0 [INFO] [stderr] Downloaded csfml-system-sys v0.2.1 [INFO] [stderr] Downloaded csfml-audio-sys v0.2.0 [INFO] [stderr] Downloaded csfml-graphics-sys v0.3.0 [INFO] [stderr] Downloaded csfml-window-sys v0.2.0 [INFO] [stderr] Downloaded serde v1.0.11 [INFO] [stderr] Downloaded sfml-build v0.1.0 [INFO] [stderr] Downloaded sfml v0.12.0 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41dc1710166a6ec73f0fc57fdefcedb46c998d0b2e185038df69bd4f93b47ac2 [INFO] running `Command { std: "docker" "start" "-a" "41dc1710166a6ec73f0fc57fdefcedb46c998d0b2e185038df69bd4f93b47ac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41dc1710166a6ec73f0fc57fdefcedb46c998d0b2e185038df69bd4f93b47ac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41dc1710166a6ec73f0fc57fdefcedb46c998d0b2e185038df69bd4f93b47ac2", kill_on_drop: false }` [INFO] [stdout] 41dc1710166a6ec73f0fc57fdefcedb46c998d0b2e185038df69bd4f93b47ac2 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c87a61a76c4d09ef571ae623d443c86249696e621726821b6bf09a31130e8e30 [INFO] running `Command { std: "docker" "start" "-a" "c87a61a76c4d09ef571ae623d443c86249696e621726821b6bf09a31130e8e30", kill_on_drop: false }` [INFO] [stderr] Compiling sfml-build v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling serde v1.0.11 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling byteorder v1.1.0 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling csfml-system-sys v0.2.1 [INFO] [stderr] Compiling csfml-window-sys v0.2.0 [INFO] [stderr] Compiling csfml-graphics-sys v0.3.0 [INFO] [stderr] Compiling csfml-audio-sys v0.2.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling serde_derive_internals v0.15.1 [INFO] [stderr] Compiling sfml v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.11 [INFO] [stderr] Compiling bincode v0.8.0 [INFO] [stderr] Compiling toml v0.4.5 [INFO] [stderr] Compiling othello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/srv/config.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | pub static ref CONFIG: Config = { [INFO] [stdout] 8 | | match Config::load() { [INFO] [stdout] 9 | | Ok(conf) => conf, [INFO] [stdout] ... | [INFO] [stdout] 12 | | }; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/srv/config.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | pub static ref CONFIG: Config = { [INFO] [stdout] 8 | | match Config::load() { [INFO] [stdout] 9 | | Ok(conf) => conf, [INFO] [stdout] ... | [INFO] [stdout] 12 | | }; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JoinHandle` [INFO] [stdout] --> src/cli/console_commands.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread::{self, JoinHandle}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cli/config.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | pub static ref CONFIG: Config = { [INFO] [stdout] 8 | | match Config::load() { [INFO] [stdout] 9 | | Ok(conf) => conf, [INFO] [stdout] ... | [INFO] [stdout] 12 | | }; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cli/config.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | pub static ref CONFIG: Config = { [INFO] [stdout] 8 | | match Config::load() { [INFO] [stdout] 9 | | Ok(conf) => conf, [INFO] [stdout] ... | [INFO] [stdout] 12 | | }; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/console_commands.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub games: Vec>, [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] 17 - pub games: Vec>, [INFO] [stdout] 17 + pub games: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/drawable_board.rs:137:57 [INFO] [stdout] | [INFO] [stdout] 137 | fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [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] 137 - fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [INFO] [stdout] 137 + fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut dyn RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/drawable_score.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 25 | fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [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] 25 - fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [INFO] [stdout] 25 + fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut dyn RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/srv/netclient.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 87 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 91 | / if self.pt_handle.is_none() { [INFO] [stdout] 92 | | println!("[WARNING] Could not disconnect client. Client was already disconnected."); [INFO] [stdout] 93 | | return; [INFO] [stdout] 94 | | } [INFO] [stdout] | |_________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/cli/console_commands.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | let command: Vec = line.trim_right_matches("\n").split_whitespace().map(|ref part| { part.to_string() }).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/srv/netclient.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | pub (super) fn disconnect(&mut self, msg: Option<&str>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pt_handle` [INFO] [stdout] --> src/srv/netclient.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pt_handle: Option> // JoinHandle of the packet thread. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disconnect` [INFO] [stdout] --> src/srv/netclient.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | pub (super) fn disconnect(&mut self, msg: Option<&str>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/cli/console_commands.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/cli/console_commands.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `net` [INFO] [stdout] --> src/cli/console_commands.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | if let Some(ref net) = ctx.nethandler.as_ref() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.82s [INFO] running `Command { std: "docker" "inspect" "c87a61a76c4d09ef571ae623d443c86249696e621726821b6bf09a31130e8e30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c87a61a76c4d09ef571ae623d443c86249696e621726821b6bf09a31130e8e30", kill_on_drop: false }` [INFO] [stdout] c87a61a76c4d09ef571ae623d443c86249696e621726821b6bf09a31130e8e30 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35c2daf00ec40b36c4a1fcb56c3a9af2bf1cf96cf988ab3e47127e7b49e6cfcd [INFO] running `Command { std: "docker" "start" "-a" "35c2daf00ec40b36c4a1fcb56c3a9af2bf1cf96cf988ab3e47127e7b49e6cfcd", kill_on_drop: false }` [INFO] [stderr] Compiling othello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `JoinHandle` [INFO] [stdout] --> src/cli/console_commands.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread::{self, JoinHandle}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/srv/config.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | pub static ref CONFIG: Config = { [INFO] [stdout] 8 | | match Config::load() { [INFO] [stdout] 9 | | Ok(conf) => conf, [INFO] [stdout] ... | [INFO] [stdout] 12 | | }; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/srv/config.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | pub static ref CONFIG: Config = { [INFO] [stdout] 8 | | match Config::load() { [INFO] [stdout] 9 | | Ok(conf) => conf, [INFO] [stdout] ... | [INFO] [stdout] 12 | | }; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cli/config.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | pub static ref CONFIG: Config = { [INFO] [stdout] 8 | | match Config::load() { [INFO] [stdout] 9 | | Ok(conf) => conf, [INFO] [stdout] ... | [INFO] [stdout] 12 | | }; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cli/config.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lazy_static! { [INFO] [stdout] 7 | | pub static ref CONFIG: Config = { [INFO] [stdout] 8 | | match Config::load() { [INFO] [stdout] 9 | | Ok(conf) => conf, [INFO] [stdout] ... | [INFO] [stdout] 12 | | }; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/console_commands.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub games: Vec>, [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] 17 - pub games: Vec>, [INFO] [stdout] 17 + pub games: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/drawable_board.rs:137:57 [INFO] [stdout] | [INFO] [stdout] 137 | fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [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] 137 - fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [INFO] [stdout] 137 + fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut dyn RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/drawable_score.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 25 | fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [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] 25 - fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [INFO] [stdout] 25 + fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut dyn RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/srv/netclient.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 87 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 91 | / if self.pt_handle.is_none() { [INFO] [stdout] 92 | | println!("[WARNING] Could not disconnect client. Client was already disconnected."); [INFO] [stdout] 93 | | return; [INFO] [stdout] 94 | | } [INFO] [stdout] | |_________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/cli/console_commands.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | let command: Vec = line.trim_right_matches("\n").split_whitespace().map(|ref part| { part.to_string() }).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/srv/netclient.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | pub (super) fn disconnect(&mut self, msg: Option<&str>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pt_handle` [INFO] [stdout] --> src/srv/netclient.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pt_handle: Option> // JoinHandle of the packet thread. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disconnect` [INFO] [stdout] --> src/srv/netclient.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | pub (super) fn disconnect(&mut self, msg: Option<&str>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/cli/console_commands.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/cli/console_commands.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `net` [INFO] [stdout] --> src/cli/console_commands.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | if let Some(ref net) = ctx.nethandler.as_ref() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "35c2daf00ec40b36c4a1fcb56c3a9af2bf1cf96cf988ab3e47127e7b49e6cfcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35c2daf00ec40b36c4a1fcb56c3a9af2bf1cf96cf988ab3e47127e7b49e6cfcd", kill_on_drop: false }` [INFO] [stdout] 35c2daf00ec40b36c4a1fcb56c3a9af2bf1cf96cf988ab3e47127e7b49e6cfcd [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc80ce8809c7a8740286306a43d9e648b1038b96ce22d3e6499a13d161fb4599 [INFO] running `Command { std: "docker" "start" "-a" "fc80ce8809c7a8740286306a43d9e648b1038b96ce22d3e6499a13d161fb4599", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `JoinHandle` [INFO] [stderr] --> src/cli/console_commands.rs:8:25 [INFO] [stderr] | [INFO] [stderr] 8 | use std::thread::{self, JoinHandle}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/cli/config.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / lazy_static! { [INFO] [stderr] 7 | | pub static ref CONFIG: Config = { [INFO] [stderr] 8 | | match Config::load() { [INFO] [stderr] 9 | | Ok(conf) => conf, [INFO] [stderr] ... | [INFO] [stderr] 12 | | }; [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/cli/config.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / lazy_static! { [INFO] [stderr] 7 | | pub static ref CONFIG: Config = { [INFO] [stderr] 8 | | match Config::load() { [INFO] [stderr] 9 | | Ok(conf) => conf, [INFO] [stderr] ... | [INFO] [stderr] 12 | | }; [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cli/console_commands.rs:17:21 [INFO] [stderr] | [INFO] [stderr] 17 | pub games: Vec>, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 17 - pub games: Vec>, [INFO] [stderr] 17 + pub games: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cli/drawable_board.rs:137:57 [INFO] [stderr] | [INFO] [stderr] 137 | fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 137 - fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [INFO] [stderr] 137 + fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut dyn RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cli/drawable_score.rs:25:57 [INFO] [stderr] | [INFO] [stderr] 25 | fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 25 - fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [INFO] [stderr] 25 + fn draw<'se, 'tex, 'sh, 'shte>(&'se self, target: &mut dyn RenderTarget, _: RenderStates<'tex, 'sh, 'shte>) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/cli/console_commands.rs:176:34 [INFO] [stderr] | [INFO] [stderr] 176 | let command: Vec = line.trim_right_matches("\n").split_whitespace().map(|ref part| { part.to_string() }).collect(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/cli/console_commands.rs:226:9 [INFO] [stderr] | [INFO] [stderr] 226 | Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/cli/console_commands.rs:236:9 [INFO] [stderr] | [INFO] [stderr] 236 | Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `net` [INFO] [stderr] --> src/cli/console_commands.rs:91:19 [INFO] [stderr] | [INFO] [stderr] 91 | if let Some(ref net) = ctx.nethandler.as_ref() { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_net` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/srv/config.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / lazy_static! { [INFO] [stderr] 7 | | pub static ref CONFIG: Config = { [INFO] [stderr] 8 | | match Config::load() { [INFO] [stderr] 9 | | Ok(conf) => conf, [INFO] [stderr] ... | [INFO] [stderr] 12 | | }; [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/srv/config.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / lazy_static! { [INFO] [stderr] 7 | | pub static ref CONFIG: Config = { [INFO] [stderr] 8 | | match Config::load() { [INFO] [stderr] 9 | | Ok(conf) => conf, [INFO] [stderr] ... | [INFO] [stderr] 12 | | }; [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/srv/netclient.rs:91:3 [INFO] [stderr] | [INFO] [stderr] 87 | unimplemented!(); [INFO] [stderr] | ---------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 91 | / if self.pt_handle.is_none() { [INFO] [stderr] 92 | | println!("[WARNING] Could not disconnect client. Client was already disconnected."); [INFO] [stderr] 93 | | return; [INFO] [stderr] 94 | | } [INFO] [stderr] | |_________^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/srv/netclient.rs:83:42 [INFO] [stderr] | [INFO] [stderr] 83 | pub (super) fn disconnect(&mut self, msg: Option<&str>) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `pt_handle` [INFO] [stderr] --> src/srv/netclient.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | pt_handle: Option> // JoinHandle of the packet thread. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `disconnect` [INFO] [stderr] --> src/srv/netclient.rs:83:20 [INFO] [stderr] | [INFO] [stderr] 83 | pub (super) fn disconnect(&mut self, msg: Option<&str>) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `othello` (bin "client" test) generated 10 warnings [INFO] [stderr] warning: `othello` (bin "server" test) generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/client-50e89421ee88f79e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/server-70a786ebbcc7ccb0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fc80ce8809c7a8740286306a43d9e648b1038b96ce22d3e6499a13d161fb4599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc80ce8809c7a8740286306a43d9e648b1038b96ce22d3e6499a13d161fb4599", kill_on_drop: false }` [INFO] [stdout] fc80ce8809c7a8740286306a43d9e648b1038b96ce22d3e6499a13d161fb4599