[INFO] cloning repository https://github.com/chrisbouchard/klondike2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrisbouchard/klondike2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisbouchard%2Fklondike2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisbouchard%2Fklondike2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7908417625745a996f42059928387c5201fc3b9 [INFO] checking chrisbouchard/klondike2 against master#6526e5c772f2da07db745c94ca6bb0a591a39ba4 for pr-80920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisbouchard%2Fklondike2" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chrisbouchard/klondike2 on toolchain 6526e5c772f2da07db745c94ca6bb0a591a39ba4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chrisbouchard/klondike2 [INFO] finished tweaking git repo https://github.com/chrisbouchard/klondike2 [INFO] tweaked toml for git repo https://github.com/chrisbouchard/klondike2 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/chrisbouchard/klondike2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7beea9a399f07c13d69421155d7f935f96040c1a243fd5a9f374dc135f35a331 [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" "7beea9a399f07c13d69421155d7f935f96040c1a243fd5a9f374dc135f35a331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7beea9a399f07c13d69421155d7f935f96040c1a243fd5a9f374dc135f35a331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7beea9a399f07c13d69421155d7f935f96040c1a243fd5a9f374dc135f35a331", kill_on_drop: false }` [INFO] [stdout] 7beea9a399f07c13d69421155d7f935f96040c1a243fd5a9f374dc135f35a331 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0452a769f86ffc06a2815a358b4a8f00d0ad8aaaf88537edb00adf57f33492e2 [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" "0452a769f86ffc06a2815a358b4a8f00d0ad8aaaf88537edb00adf57f33492e2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking tui v0.13.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling velcro_core v0.4.1 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling velcro_macros v0.4.1 [INFO] [stderr] Compiling enum-iterator-derive v0.6.0 [INFO] [stderr] Checking enum-iterator v0.6.0 [INFO] [stderr] Checking velcro v0.4.3 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking klondike2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `(): snafu::Error` is not satisfied [INFO] [stdout] --> src/model/selection.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | type Error = (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `snafu::Error` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] ::: src/model/action.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | type Error: error::Error + 'static; [INFO] [stdout] | ------------ required by this bound in `action::Action::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): snafu::Error` is not satisfied [INFO] [stdout] --> src/model/table.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | type Error = (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `snafu::Error` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] ::: src/model/action.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | type Error: error::Error + 'static; [INFO] [stdout] | ------------ required by this bound in `action::Action::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): snafu::Error` is not satisfied [INFO] [stdout] --> src/model/selection.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | type Error = (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `snafu::Error` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] ::: src/model/action.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | type Error: error::Error + 'static; [INFO] [stdout] | ------------ required by this bound in `action::Action::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): snafu::Error` is not satisfied [INFO] [stdout] --> src/model/table.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | type Error = (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `snafu::Error` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] ::: src/model/action.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | type Error: error::Error + 'static; [INFO] [stdout] | ------------ required by this bound in `action::Action::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model/rules.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | .and_then(|_| target.inner.apply(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `rules::Error`, found associated type [INFO] [stdout] | help: try using a variant of the expected enum: `Ok(target.inner.apply(self))` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, rules::Error<>::Error, _, _>>` [INFO] [stdout] found enum `std::result::Result<(), >::Error>` [INFO] [stdout] = help: consider constraining the associated type `>::Error` to `rules::Error<>::Error, _, _>` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model/rules.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | fn apply_to(self, target: &mut RulesGuard) -> Result<(), Self::Error> { [INFO] [stdout] | ----------------------- expected `std::result::Result<(), rules::Error<>::Error, >::Error, A>>` because of return type [INFO] [stdout] 39 | / target [INFO] [stdout] 40 | | .rules [INFO] [stdout] 41 | | .check_rules(&target.inner, &self) [INFO] [stdout] 42 | | .context(Invalid { action: self }) [INFO] [stdout] 43 | | .and_then(|_| target.inner.apply(self)) [INFO] [stdout] 44 | | .context(Underlying { action: self }) [INFO] [stdout] | |_________________________________________________^ expected associated type, found enum `rules::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), rules::Error<>::Error, >::Error, A>>` [INFO] [stdout] found enum `std::result::Result<_, rules::Error<_, rules::Error<>::Error, _, _>, _>>` [INFO] [stdout] = help: consider constraining the associated type `>::Error` to `rules::Error<>::Error, _, _>` or calling a method that returns `>::Error` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/model/rules.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | .and_then(|_| target.inner.apply(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `rules::Error`, found associated type [INFO] [stdout] | help: try using a variant of the expected enum: `Ok(target.inner.apply(self))` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, rules::Error<>::Error, _, _>>` [INFO] [stdout] found enum `std::result::Result<(), >::Error>` [INFO] [stdout] = help: consider constraining the associated type `>::Error` to `rules::Error<>::Error, _, _>` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `klondike2` [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] error[E0308]: mismatched types [INFO] [stdout] --> src/model/rules.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | fn apply_to(self, target: &mut RulesGuard) -> Result<(), Self::Error> { [INFO] [stdout] | ----------------------- expected `std::result::Result<(), rules::Error<>::Error, >::Error, A>>` because of return type [INFO] [stdout] 39 | / target [INFO] [stdout] 40 | | .rules [INFO] [stdout] 41 | | .check_rules(&target.inner, &self) [INFO] [stdout] 42 | | .context(Invalid { action: self }) [INFO] [stdout] 43 | | .and_then(|_| target.inner.apply(self)) [INFO] [stdout] 44 | | .context(Underlying { action: self }) [INFO] [stdout] | |_________________________________________________^ expected associated type, found enum `rules::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), rules::Error<>::Error, >::Error, A>>` [INFO] [stdout] found enum `std::result::Result<_, rules::Error<_, rules::Error<>::Error, _, _>, _>>` [INFO] [stdout] = help: consider constraining the associated type `>::Error` to `rules::Error<>::Error, _, _>` or calling a method that returns `>::Error` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0452a769f86ffc06a2815a358b4a8f00d0ad8aaaf88537edb00adf57f33492e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0452a769f86ffc06a2815a358b4a8f00d0ad8aaaf88537edb00adf57f33492e2", kill_on_drop: false }` [INFO] [stdout] 0452a769f86ffc06a2815a358b4a8f00d0ad8aaaf88537edb00adf57f33492e2