[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] updating cached repository https://github.com/Ethan826/baseball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Ethan826/baseball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Ethan826/baseball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Ethan826/baseball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Ethan826/baseball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Ethan826/baseball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Ethan826/baseball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Ethan826/baseball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Ethan826/baseball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Ethan826/baseball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Ethan826/baseball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Ethan826/baseball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Ethan826/baseball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Ethan826/baseball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4674f9c9cb2d91ad63e33046d2f5eb0810eeb446 [INFO] checking Ethan826/baseball against master#ea6ab1bd845790fb31ba790d2c7aec898f89fe62 for pr-99880 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEthan826%2Fbaseball" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ethan826/baseball on toolchain ea6ab1bd845790fb31ba790d2c7aec898f89fe62 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "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-6/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: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d6998009266f7ed12fd4ca6f78fdec7ac5fa4d50b7806930c54345ccd57d7bb [INFO] running `Command { std: "docker" "start" "-a" "1d6998009266f7ed12fd4ca6f78fdec7ac5fa4d50b7806930c54345ccd57d7bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d6998009266f7ed12fd4ca6f78fdec7ac5fa4d50b7806930c54345ccd57d7bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d6998009266f7ed12fd4ca6f78fdec7ac5fa4d50b7806930c54345ccd57d7bb", kill_on_drop: false }` [INFO] [stdout] 1d6998009266f7ed12fd4ca6f78fdec7ac5fa4d50b7806930c54345ccd57d7bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89990e5c3b34e90edfb585e16f62b0d72ffe70fdffa68903ce56ccabf7be7e22 [INFO] running `Command { std: "docker" "start" "-a" "89990e5c3b34e90edfb585e16f62b0d72ffe70fdffa68903ce56ccabf7be7e22", kill_on_drop: false }` [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] = note: assuming a `'static` lifetime... [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 [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] = note: `#[warn(anonymous_parameters)]` on by default [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] [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] = note: `#[warn(anonymous_parameters)]` on by default [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] [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::team::Team<'_>`, but not for `&mut team::team::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::team::Team<'_>`, but not for `&mut team::team::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::team::Team<'_>`, but not for `&mut team::team::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::team::Team<'_>`, but not for `&mut team::team::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: 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] [stderr] error: could not compile `baseball` due to 3 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 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[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] [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` due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "89990e5c3b34e90edfb585e16f62b0d72ffe70fdffa68903ce56ccabf7be7e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89990e5c3b34e90edfb585e16f62b0d72ffe70fdffa68903ce56ccabf7be7e22", kill_on_drop: false }` [INFO] [stdout] 89990e5c3b34e90edfb585e16f62b0d72ffe70fdffa68903ce56ccabf7be7e22