[INFO] cloning repository https://github.com/j4qfrost/deadlast-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/j4qfrost/deadlast-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj4qfrost%2Fdeadlast-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj4qfrost%2Fdeadlast-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d04077c7575ede02728b6ca76ee742b8104eb0e9 [INFO] checking j4qfrost/deadlast-server against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj4qfrost%2Fdeadlast-server" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/j4qfrost/deadlast-server on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/j4qfrost/deadlast-server [INFO] finished tweaking git repo https://github.com/j4qfrost/deadlast-server [INFO] tweaked toml for git repo https://github.com/j4qfrost/deadlast-server written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/j4qfrost/deadlast-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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 strum v0.19.2 [INFO] [stderr] Downloaded rmpv v0.4.5 [INFO] [stderr] Downloaded strum_macros v0.19.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c34b1379c79a5bafea1536b1d1c6e6613d2425d686fa97755bbf9404f4c8bdb [INFO] running `Command { std: "docker" "start" "-a" "4c34b1379c79a5bafea1536b1d1c6e6613d2425d686fa97755bbf9404f4c8bdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c34b1379c79a5bafea1536b1d1c6e6613d2425d686fa97755bbf9404f4c8bdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c34b1379c79a5bafea1536b1d1c6e6613d2425d686fa97755bbf9404f4c8bdb", kill_on_drop: false }` [INFO] [stdout] 4c34b1379c79a5bafea1536b1d1c6e6613d2425d686fa97755bbf9404f4c8bdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e664147345a8b7a8e8b1d8fe16a4e047185a3fd992c435abc943f980683c6a93 [INFO] running `Command { std: "docker" "start" "-a" "e664147345a8b7a8e8b1d8fe16a4e047185a3fd992c435abc943f980683c6a93", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking strum v0.19.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking rmp v0.8.9 [INFO] [stderr] Checking rmpv v0.4.5 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling strum_macros v0.19.2 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tokio-tungstenite v0.11.0 [INFO] [stderr] Checking serde v1.0.115 [INFO] [stderr] Checking dead_last_server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Checking rmp-serde v0.14.4 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking game v0.1.0 (/opt/rustwide/workdir/game) [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> game/src/action.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Copy, Clone, Default, Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> game/src/action.rs:1:63 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Copy, Clone, Default, Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found self type `Self` [INFO] [stdout] --> game/src/card_container.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | Self(None) [INFO] [stdout] | ^^^^ not a function, tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] = note: can't use `Self` as a constructor, you must use the implemented struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_derive` [INFO] [stdout] --> game/src/card.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/card_container.rs:44:64 [INFO] [stdout] | [INFO] [stdout] 44 | fn play(hand: &mut Hand, thing: T, slot: &mut Slot) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Slot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] --> game/src/card_container.rs:60:54 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn play(&mut self, card: VotingCard, slot: &mut Slot) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Slot` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] --> game/src/card_container.rs:73:61 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn play(&mut self, card: FinalShowdownCard, slot: &mut Slot) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Slot` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `card::*` [INFO] [stdout] --> game/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use card::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `card_container::*` [INFO] [stdout] --> game/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use card_container::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> game/src/action.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Copy, Clone, Default, Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> game/src/action.rs:1:63 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Copy, Clone, Default, Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found self type `Self` [INFO] [stdout] --> game/src/card_container.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | Self(None) [INFO] [stdout] | ^^^^ not a function, tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] = note: can't use `Self` as a constructor, you must use the implemented struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_derive` [INFO] [stdout] --> game/src/card.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> game/src/card_container.rs:44:64 [INFO] [stdout] | [INFO] [stdout] 44 | fn play(hand: &mut Hand, thing: T, slot: &mut Slot) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Slot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] --> game/src/card_container.rs:60:54 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn play(&mut self, card: VotingCard, slot: &mut Slot) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Slot` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] --> game/src/card_container.rs:73:61 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn play(&mut self, card: FinalShowdownCard, slot: &mut Slot) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Slot` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `card::*` [INFO] [stdout] --> game/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use card::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `card_container::*` [INFO] [stdout] --> game/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use card_container::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0204]: the trait `Copy` may not be implemented for this type [INFO] [stdout] --> game/src/action.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Copy, Clone, Default, Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | pub struct Action(S, String, pub T); [INFO] [stdout] | ------ this field does not implement `Copy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0204]: the trait `Copy` may not be implemented for this type [INFO] [stdout] --> game/src/action.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Copy, Clone, Default, Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 2 | pub struct Action(S, String, pub T); [INFO] [stdout] | ------ this field does not implement `Copy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0204, E0423. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0204, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0204`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0204`. [INFO] [stdout] [INFO] [stderr] error: could not compile `game` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e664147345a8b7a8e8b1d8fe16a4e047185a3fd992c435abc943f980683c6a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e664147345a8b7a8e8b1d8fe16a4e047185a3fd992c435abc943f980683c6a93", kill_on_drop: false }` [INFO] [stdout] e664147345a8b7a8e8b1d8fe16a4e047185a3fd992c435abc943f980683c6a93