[INFO] cloning repository https://github.com/Ethan826/baseball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ethan826/baseball" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthan826%2Fbaseball", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthan826%2Fbaseball'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4674f9c9cb2d91ad63e33046d2f5eb0810eeb446 [INFO] checking Ethan826/baseball/4674f9c9cb2d91ad63e33046d2f5eb0810eeb446 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthan826%2Fbaseball" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ethan826/baseball on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ethan826/baseball [INFO] finished tweaking git repo https://github.com/Ethan826/baseball [INFO] tweaked toml for git repo https://github.com/Ethan826/baseball written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ethan826/baseball already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d7548e91274454300797a41c285b2b2d61b0bf79e1f79d8f6b7baef4c1f8767 [INFO] running `Command { std: "docker" "start" "-a" "7d7548e91274454300797a41c285b2b2d61b0bf79e1f79d8f6b7baef4c1f8767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d7548e91274454300797a41c285b2b2d61b0bf79e1f79d8f6b7baef4c1f8767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d7548e91274454300797a41c285b2b2d61b0bf79e1f79d8f6b7baef4c1f8767", kill_on_drop: false }` [INFO] [stdout] 7d7548e91274454300797a41c285b2b2d61b0bf79e1f79d8f6b7baef4c1f8767 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7be876ed26c58905c5f6ba3f5d3d334a683b743069796e95ed8d1dfed1fc685 [INFO] running `Command { std: "docker" "start" "-a" "a7be876ed26c58905c5f6ba3f5d3d334a683b743069796e95ed8d1dfed1fc685", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking baseball v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | fn next(&self, &Event) -> Self; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Event` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here [INFO] [stdout] --> src/game/game.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | impl Game { [INFO] [stdout] | ^^^^ expected lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: indicate the anonymous lifetime [INFO] [stdout] | [INFO] [stdout] 41 | impl Game<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/game/game.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | fn base() -> Game { [INFO] [stdout] | ^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`, or if you will only have owned values [INFO] [stdout] | [INFO] [stdout] 42 | fn base() -> Game<'static> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/traits.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | fn next(&self, &Event) -> Self; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Event` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut Team<'_>: Clone` is not satisfied [INFO] [stdout] --> src/game/game.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 17 | pub struct Game<'a> { [INFO] [stdout] 18 | pub home_team: &'a mut Team<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `&mut Team<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Clone` is implemented for `Team<'a>` [INFO] [stdout] = note: `Clone` is implemented for `&Team<'_>`, but not for `&mut Team<'_>` [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut Team<'_>: Clone` is not satisfied [INFO] [stdout] --> src/game/game.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 17 | pub struct Game<'a> { [INFO] [stdout] 18 | pub home_team: &'a mut Team<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `&mut Team<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Clone` is implemented for `Team<'a>` [INFO] [stdout] = note: `Clone` is implemented for `&Team<'_>`, but not for `&mut Team<'_>` [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut Team<'_>: Clone` is not satisfied [INFO] [stdout] --> src/game/game.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 19 | pub visiting_team: &'a mut Team<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `&mut Team<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Clone` is implemented for `Team<'a>` [INFO] [stdout] = note: `Clone` is implemented for `&Team<'_>`, but not for `&mut Team<'_>` [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut Team<'_>: Clone` is not satisfied [INFO] [stdout] --> src/game/game.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 19 | pub visiting_team: &'a mut Team<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `&mut Team<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Clone` is implemented for `Team<'a>` [INFO] [stdout] = note: `Clone` is implemented for `&Team<'_>`, but not for `&mut Team<'_>` [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `base` is private [INFO] [stdout] --> src/game/game.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | home_team: Team::base(), [INFO] [stdout] | ^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: src/team/team.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | fn base() {} [INFO] [stdout] | --------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/game/game.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | home_team: Team::base(), [INFO] [stdout] | ^^^^^^^^^^^^ expected `&mut Team<'_>`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `base` is private [INFO] [stdout] --> src/game/game.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | visiting_team: Team::base(), [INFO] [stdout] | ^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: src/team/team.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | fn base() {} [INFO] [stdout] | --------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/game/game.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | visiting_team: Team::base(), [INFO] [stdout] | ^^^^^^^^^^^^ expected `&mut Team<'_>`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `base` found for struct `Inning` in the current scope [INFO] [stdout] --> src/game/game.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | inning: Inning::base(), [INFO] [stdout] | ^^^^ function or associated item not found in `Inning` [INFO] [stdout] | [INFO] [stdout] ::: src/game/inning.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Inning { [INFO] [stdout] | ----------------- function or associated item `base` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `base` found for enum `Out` in the current scope [INFO] [stdout] --> src/game/game.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Out { [INFO] [stdout] | ------------ variant or associated item `base` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 47 | out: Out::base(), [INFO] [stdout] | ^^^^ variant or associated item not found in `Out` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `baseball` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0277, E0308, E0599, E0624, E0726. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `baseball` (lib test) due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a7be876ed26c58905c5f6ba3f5d3d334a683b743069796e95ed8d1dfed1fc685", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7be876ed26c58905c5f6ba3f5d3d334a683b743069796e95ed8d1dfed1fc685", kill_on_drop: false }` [INFO] [stdout] a7be876ed26c58905c5f6ba3f5d3d334a683b743069796e95ed8d1dfed1fc685