[INFO] fetching crate game_features 0.3.0... [INFO] checking game_features-0.3.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate game_features 0.3.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate game_features 0.3.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate game_features 0.3.0 [INFO] finished tweaking crates.io crate game_features 0.3.0 [INFO] tweaked toml for crates.io crate game_features 0.3.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] cfb142bb1c250fe805727c74f463a8eae38a2e46b429a7a78721a27f3c6d1f14 [INFO] running `Command { std: "docker" "start" "-a" "cfb142bb1c250fe805727c74f463a8eae38a2e46b429a7a78721a27f3c6d1f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfb142bb1c250fe805727c74f463a8eae38a2e46b429a7a78721a27f3c6d1f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfb142bb1c250fe805727c74f463a8eae38a2e46b429a7a78721a27f3c6d1f14", kill_on_drop: false }` [INFO] [stdout] cfb142bb1c250fe805727c74f463a8eae38a2e46b429a7a78721a27f3c6d1f14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--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] 62e8e19368ad842cc84c08f014170d2ff7d49bd349207c078bacb9030e3c2b6f [INFO] running `Command { std: "docker" "start" "-a" "62e8e19368ad842cc84c08f014170d2ff7d49bd349207c078bacb9030e3c2b6f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking dirty v0.2.0 [INFO] [stderr] Checking roman v0.1.6 [INFO] [stderr] Checking partial_function v0.4.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Checking ron v0.2.2 [INFO] [stderr] Checking game_features v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/item.rs:639:14 [INFO] [stdout] | [INFO] [stdout] 639 | #[derive(new, Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: #[derive(new)] cannot be implemented for enums with zero variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `ItemType` is defined multiple times [INFO] [stdout] --> src/item.rs:644:5 [INFO] [stdout] | [INFO] [stdout] 640 | enum ItemType { [INFO] [stdout] | ------------- previous definition of the type `ItemType` here [INFO] [stdout] ... [INFO] [stdout] 644 | enum ItemType { [INFO] [stdout] | ^^^^^^^^^^^^^ `ItemType` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `ItemType` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `std::clone::Clone` for type `item::test::ItemType`: [INFO] [stdout] --> src/item.rs:643:26 [INFO] [stdout] | [INFO] [stdout] 639 | #[derive(new, Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] ... [INFO] [stdout] 643 | #[derive(new, Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^ conflicting implementation for `item::test::ItemType` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `std::cmp::PartialEq` for type `item::test::ItemType`: [INFO] [stdout] --> src/item.rs:643:57 [INFO] [stdout] | [INFO] [stdout] 639 | #[derive(new, Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | --------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 643 | #[derive(new, Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ conflicting implementation for `item::test::ItemType` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `std::marker::StructuralPartialEq` for type `item::test::ItemType`: [INFO] [stdout] --> src/item.rs:643:57 [INFO] [stdout] | [INFO] [stdout] 639 | #[derive(new, Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | --------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 643 | #[derive(new, Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ conflicting implementation for `item::test::ItemType` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `std::fmt::Debug` for type `item::test::ItemType`: [INFO] [stdout] --> src/item.rs:643:19 [INFO] [stdout] | [INFO] [stdout] 639 | #[derive(new, Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] ... [INFO] [stdout] 643 | #[derive(new, Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^ conflicting implementation for `item::test::ItemType` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `serde::Deserialize<'_>` for type `item::test::ItemType`: [INFO] [stdout] --> src/item.rs:643:44 [INFO] [stdout] | [INFO] [stdout] 639 | #[derive(new, Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ----------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 643 | #[derive(new, Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ conflicting implementation for `item::test::ItemType` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `serde::Serialize` for type `item::test::ItemType`: [INFO] [stdout] --> src/item.rs:643:33 [INFO] [stdout] | [INFO] [stdout] 639 | #[derive(new, Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | --------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 643 | #[derive(new, Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ conflicting implementation for `item::test::ItemType` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0119, E0428. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stderr] error: could not compile `game_features` [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] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/faction.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn claim_from(&mut self, other: &mut Faction, settings: &FactionSettings) -> FactionResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/faction.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn claim_from(&mut self, other: &mut Faction, settings: &FactionSettings) -> FactionResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_overflow` [INFO] [stdout] --> src/item.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | with_overflow: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_overflow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_overflow` [INFO] [stdout] --> src/item.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | with_overflow: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_overflow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "62e8e19368ad842cc84c08f014170d2ff7d49bd349207c078bacb9030e3c2b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62e8e19368ad842cc84c08f014170d2ff7d49bd349207c078bacb9030e3c2b6f", kill_on_drop: false }` [INFO] [stdout] 62e8e19368ad842cc84c08f014170d2ff7d49bd349207c078bacb9030e3c2b6f