[INFO] cloning repository https://github.com/LukasKalbertodt/pingame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LukasKalbertodt/pingame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukasKalbertodt%2Fpingame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukasKalbertodt%2Fpingame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9afe3116d045049b625ce98a83cd04c302a1a8b4 [INFO] testing LukasKalbertodt/pingame against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukasKalbertodt%2Fpingame" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LukasKalbertodt/pingame on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LukasKalbertodt/pingame [INFO] finished tweaking git repo https://github.com/LukasKalbertodt/pingame [INFO] tweaked toml for git repo https://github.com/LukasKalbertodt/pingame written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/LukasKalbertodt/pingame already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term-painter v0.2.4 [INFO] [stderr] Downloaded rand_derive v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9e454f85e6f4872f5db1accfb5110000c3837c8bfdf0b0c0e925aeea98226c79 [INFO] running `Command { std: "docker" "start" "-a" "9e454f85e6f4872f5db1accfb5110000c3837c8bfdf0b0c0e925aeea98226c79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e454f85e6f4872f5db1accfb5110000c3837c8bfdf0b0c0e925aeea98226c79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e454f85e6f4872f5db1accfb5110000c3837c8bfdf0b0c0e925aeea98226c79", kill_on_drop: false }` [INFO] [stdout] 9e454f85e6f4872f5db1accfb5110000c3837c8bfdf0b0c0e925aeea98226c79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59cfba447b7e81ca2c71f8dcd8127f68cb12e7ab18b4459337199cdc3f66bf67 [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" "59cfba447b7e81ca2c71f8dcd8127f68cb12e7ab18b4459337199cdc3f66bf67", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling rand_derive v0.3.1 [INFO] [stderr] Compiling pingame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:76:52 [INFO] [stdout] | [INFO] [stdout] 76 | "human" => Box::new(players::Human) as Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:88:48 [INFO] [stdout] | [INFO] [stdout] 88 | "elisa" => Box::new(gen::Elisa) as Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:89:50 [INFO] [stdout] | [INFO] [stdout] 89 | "random" => Box::new(gen::Random) as Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:90:52 [INFO] [stdout] | [INFO] [stdout] 90 | "random1" => Box::new(gen::Random1) as Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:91:52 [INFO] [stdout] | [INFO] [stdout] 91 | "random2" => Box::new(gen::Random2) as Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | "random3" => Box::new(gen::Random3) as Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 112 | fn play(correct: PinState, player: Box) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | fn bench(generator: &Generator, player: Box) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:125:45 [INFO] [stdout] | [INFO] [stdout] 125 | fn bench(generator: &Generator, player: Box) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/players/human.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | let s = s.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.29s [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "59cfba447b7e81ca2c71f8dcd8127f68cb12e7ab18b4459337199cdc3f66bf67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59cfba447b7e81ca2c71f8dcd8127f68cb12e7ab18b4459337199cdc3f66bf67", kill_on_drop: false }` [INFO] [stdout] 59cfba447b7e81ca2c71f8dcd8127f68cb12e7ab18b4459337199cdc3f66bf67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2607ce1dcd4870a044909939644879eb54904d2c121e0e84830ae459fa119ee2 [INFO] running `Command { std: "docker" "start" "-a" "2607ce1dcd4870a044909939644879eb54904d2c121e0e84830ae459fa119ee2", kill_on_drop: false }` [INFO] [stderr] Compiling pingame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:76:52 [INFO] [stdout] | [INFO] [stdout] 76 | "human" => Box::new(players::Human) as Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:88:48 [INFO] [stdout] | [INFO] [stdout] 88 | "elisa" => Box::new(gen::Elisa) as Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:89:50 [INFO] [stdout] | [INFO] [stdout] 89 | "random" => Box::new(gen::Random) as Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:90:52 [INFO] [stdout] | [INFO] [stdout] 90 | "random1" => Box::new(gen::Random1) as Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:91:52 [INFO] [stdout] | [INFO] [stdout] 91 | "random2" => Box::new(gen::Random2) as Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | "random3" => Box::new(gen::Random3) as Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 112 | fn play(correct: PinState, player: Box) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | fn bench(generator: &Generator, player: Box) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:125:45 [INFO] [stdout] | [INFO] [stdout] 125 | fn bench(generator: &Generator, player: Box) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/players/human.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | let s = s.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "2607ce1dcd4870a044909939644879eb54904d2c121e0e84830ae459fa119ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2607ce1dcd4870a044909939644879eb54904d2c121e0e84830ae459fa119ee2", kill_on_drop: false }` [INFO] [stdout] 2607ce1dcd4870a044909939644879eb54904d2c121e0e84830ae459fa119ee2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c3dc9ec6ab890f965bfaa101e6daf8d72c271a6c0c354499a863abdc3d18a228 [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" "c3dc9ec6ab890f965bfaa101e6daf8d72c271a6c0c354499a863abdc3d18a228", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] running 5 tests [INFO] [stderr] --> src/main.rs:76:52 [INFO] [stdout] test oracle::tests::correct_colors_incorrect_position ... ok [INFO] [stderr] | [INFO] [stdout] test oracle::tests::everything_correct ... ok [INFO] [stderr] 76 | "human" => Box::new(players::Human) as Box, [INFO] [stdout] test oracle::tests::everything_wrong ... ok [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:88:48 [INFO] [stderr] | [INFO] [stderr] 88 | "elisa" => Box::new(gen::Elisa) as Box, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:89:50 [INFO] [stderr] | [INFO] [stderr] 89 | "random" => Box::new(gen::Random) as Box, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:90:52 [INFO] [stderr] | [INFO] [stderr] 90 | "random1" => Box::new(gen::Random1) as Box, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:91:52 [INFO] [stderr] | [INFO] [stderr] 91 | "random2" => Box::new(gen::Random2) as Box, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:92:52 [INFO] [stderr] | [INFO] [stderr] 92 | "random3" => Box::new(gen::Random3) as Box, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:112:40 [INFO] [stderr] | [INFO] [stderr] 112 | fn play(correct: PinState, player: Box) { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:125:22 [INFO] [stderr] | [INFO] [stderr] 125 | fn bench(generator: &Generator, player: Box) { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Generator` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:125:45 [INFO] [stderr] | [INFO] [stderr] 125 | fn bench(generator: &Generator, player: Box) { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/players/human.rs:53:19 [INFO] [stderr] | [INFO] [stderr] 53 | let s = s.trim_right(); [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pingame-cfceada3a0038580) [INFO] [stdout] test oracle::tests::one_black ... ok [INFO] [stdout] test oracle::tests::one_black_one_white ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c3dc9ec6ab890f965bfaa101e6daf8d72c271a6c0c354499a863abdc3d18a228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3dc9ec6ab890f965bfaa101e6daf8d72c271a6c0c354499a863abdc3d18a228", kill_on_drop: false }` [INFO] [stdout] c3dc9ec6ab890f965bfaa101e6daf8d72c271a6c0c354499a863abdc3d18a228