[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] checking LukasKalbertodt/pingame against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukasKalbertodt%2Fpingame" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LukasKalbertodt/pingame on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-1/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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] a79b4cc5a833462bc89c1ea8d1bd8d38acfd9b8d3fef3ec3f459e8d6d6cf530e [INFO] running `Command { std: "docker" "start" "-a" "a79b4cc5a833462bc89c1ea8d1bd8d38acfd9b8d3fef3ec3f459e8d6d6cf530e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a79b4cc5a833462bc89c1ea8d1bd8d38acfd9b8d3fef3ec3f459e8d6d6cf530e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a79b4cc5a833462bc89c1ea8d1bd8d38acfd9b8d3fef3ec3f459e8d6d6cf530e", kill_on_drop: false }` [INFO] [stdout] a79b4cc5a833462bc89c1ea8d1bd8d38acfd9b8d3fef3ec3f459e8d6d6cf530e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80b1a47f5761ae68fb23cf2b1d591897aa17a05c08eb90415180ca6fdde55b60 [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" "80b1a47f5761ae68fb23cf2b1d591897aa17a05c08eb90415180ca6fdde55b60", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rand_derive v0.3.1 [INFO] [stderr] Checking 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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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: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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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 is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [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: 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] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.37s [INFO] running `Command { std: "docker" "inspect" "80b1a47f5761ae68fb23cf2b1d591897aa17a05c08eb90415180ca6fdde55b60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80b1a47f5761ae68fb23cf2b1d591897aa17a05c08eb90415180ca6fdde55b60", kill_on_drop: false }` [INFO] [stdout] 80b1a47f5761ae68fb23cf2b1d591897aa17a05c08eb90415180ca6fdde55b60