[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 against 011c518242557d21690f7936b5812318dc2fec47 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthan826%2Fbaseball" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[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-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ethan826/baseball on toolchain 011c518242557d21690f7936b5812318dc2fec47
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+011c518242557d21690f7936b5812318dc2fec47" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `baseball` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e0e5ae96425012941a9fcdaa953cdc27b691b7f0dc74a79603faa31a84cbf1f8
[INFO] running `Command { std: "docker" "start" "e0e5ae96425012941a9fcdaa953cdc27b691b7f0dc74a79603faa31a84cbf1f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e0e5ae96425012941a9fcdaa953cdc27b691b7f0dc74a79603faa31a84cbf1f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e0e5ae96425012941a9fcdaa953cdc27b691b7f0dc74a79603faa31a84cbf1f8" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e0e5ae96425012941a9fcdaa953cdc27b691b7f0dc74a79603faa31a84cbf1f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e0e5ae96425012941a9fcdaa953cdc27b691b7f0dc74a79603faa31a84cbf1f8" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `baseball` (manifest) generated 1 warning
[INFO] [stderr]     Checking lazy_static v1.0.0
[INFO] [stderr]     Checking baseball v0.1.0 (/opt/rustwide/workdir)
[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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout]   = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout]   = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) 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<'_>`
[INFO] [stdout]   --> src/team/team.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Debug, Clone, Hash)]
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    = note: `Clone` is implemented for `&Team<'_>`, but not for `&mut Team<'_>`
[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<'_>`
[INFO] [stdout]   --> src/team/team.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Debug, Clone, Hash)]
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    = note: `Clone` is implemented for `&Team<'_>`, but not for `&mut Team<'_>`
[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<'_>`
[INFO] [stdout]   --> src/team/team.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Debug, Clone, Hash)]
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    = note: `Clone` is implemented for `&Team<'_>`, but not for `&mut Team<'_>`
[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<'_>`
[INFO] [stdout]   --> src/team/team.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Debug, Clone, Hash)]
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    = note: `Clone` is implemented for `&Team<'_>`, but not for `&mut Team<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `baseball` (lib) due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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 associated function or constant 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]    |                             ^^^^ associated function or constant not found in `Inning`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/game/inning.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Inning {
[INFO] [stdout]    | ----------------- associated function or constant `base` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant 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, associated function, or constant `base` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 47 |             out: Out::base(),
[INFO] [stdout]    |                       ^^^^ variant, associated function, or constant not found in `Out`
[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 10 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "e0e5ae96425012941a9fcdaa953cdc27b691b7f0dc74a79603faa31a84cbf1f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0e5ae96425012941a9fcdaa953cdc27b691b7f0dc74a79603faa31a84cbf1f8", kill_on_drop: false }`
[INFO] [stdout] e0e5ae96425012941a9fcdaa953cdc27b691b7f0dc74a79603faa31a84cbf1f8
