[INFO] fetching crate game_features 0.3.0... [INFO] checking game_features-0.3.0 against try#6f12b8fe67b4eed2e838dab803ed9493b9d62c0f for pr-79073 [INFO] extracting crate game_features 0.3.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate game_features 0.3.0 on toolchain 6f12b8fe67b4eed2e838dab803ed9493b9d62c0f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dirty v0.2.0 [INFO] [stderr] Downloaded roman v0.1.6 [INFO] [stderr] Downloaded partial_function v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a701dc8ed7bc2e5579eec635569cb172748d18090bb50d0b5d59135285ea765 [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" "7a701dc8ed7bc2e5579eec635569cb172748d18090bb50d0b5d59135285ea765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a701dc8ed7bc2e5579eec635569cb172748d18090bb50d0b5d59135285ea765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a701dc8ed7bc2e5579eec635569cb172748d18090bb50d0b5d59135285ea765", kill_on_drop: false }` [INFO] [stdout] 7a701dc8ed7bc2e5579eec635569cb172748d18090bb50d0b5d59135285ea765 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aea1f303e44c38f42e651ce12022f5d444017a17ef65de3ec584e7c005c5ea07 [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" "aea1f303e44c38f42e651ce12022f5d444017a17ef65de3ec584e7c005c5ea07", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking roman v0.1.6 [INFO] [stderr] Checking dirty v0.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking partial_function v0.4.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.50 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Compiling derivative v2.1.1 [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" "aea1f303e44c38f42e651ce12022f5d444017a17ef65de3ec584e7c005c5ea07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aea1f303e44c38f42e651ce12022f5d444017a17ef65de3ec584e7c005c5ea07", kill_on_drop: false }` [INFO] [stdout] aea1f303e44c38f42e651ce12022f5d444017a17ef65de3ec584e7c005c5ea07