[INFO] cloning repository https://github.com/Ashu-spec/chesssmartcontract
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ashu-spec/chesssmartcontract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshu-spec%2Fchesssmartcontract", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshu-spec%2Fchesssmartcontract'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f2546c4a91764360d076731a5c91a4f35291ac27
[INFO] checking Ashu-spec/chesssmartcontract against try#1baf923b9c3a455162afe43e18647f494c1a4b73 for pr-151510
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshu-spec%2Fchesssmartcontract" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Ashu-spec/chesssmartcontract
[INFO] finished tweaking git repo https://github.com/Ashu-spec/chesssmartcontract
[INFO] tweaked toml for git repo https://github.com/Ashu-spec/chesssmartcontract written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ashu-spec/chesssmartcontract on toolchain 1baf923b9c3a455162afe43e18647f494c1a4b73
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Ashu-spec/chesssmartcontract 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" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a61900bcbd1d08add5ed4efc0b2aa6ea221e4fd532f19c0741fefa79e337ffe5
[INFO] running `Command { std: "docker" "start" "-a" "a61900bcbd1d08add5ed4efc0b2aa6ea221e4fd532f19c0741fefa79e337ffe5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a61900bcbd1d08add5ed4efc0b2aa6ea221e4fd532f19c0741fefa79e337ffe5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a61900bcbd1d08add5ed4efc0b2aa6ea221e4fd532f19c0741fefa79e337ffe5", kill_on_drop: false }`
[INFO] [stdout] a61900bcbd1d08add5ed4efc0b2aa6ea221e4fd532f19c0741fefa79e337ffe5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1baf923b9c3a455162afe43e18647f494c1a4b73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ff14a9a09296c7f6396a51da6bcd51b0d3efa19c801ceade47316a1b0809b294
[INFO] running `Command { std: "docker" "start" "-a" "ff14a9a09296c7f6396a51da6bcd51b0d3efa19c801ceade47316a1b0809b294", kill_on_drop: false }`
[INFO] [stderr]     Checking activities v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]   --> src/bin/a27.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use thiserror::Error;
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/bin/a27.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 |     #[error("menu item not found")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/bin/a27.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 |     #[error("divide by zero error")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]   --> src/bin/a3a.rs:10:2
[INFO] [stdout]    |
[INFO] [stdout] 10 |  let what = true;
[INFO] [stdout]    |  ^^^
[INFO] [stdout]    |  |
[INFO] [stdout]    |  `let` cannot be used for global variables
[INFO] [stdout]    |  help: consider using `static` or `const` instead of `let`
[INFO] [stdout]    |
[INFO] [stdout]    = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `ProgramError`
[INFO] [stdout]   --> src/bin/a27.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn run(step: i32) -> Result<(), ProgramError> {
[INFO] [stdout]    |                      ------------------------ expected `ProgramError` because of this
[INFO] [stdout] 46 |     if step == 1 {
[INFO] [stdout] 47 |         pick_menu("4")?;
[INFO] [stdout]    |         --------------^ the trait `From<MenuError>` is not implemented for `ProgramError`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         this can't be annotated with `?` because it has type `Result<_, MenuError>`
[INFO] [stdout]    |
[INFO] [stdout] note: `ProgramError` needs to implement `From<MenuError>`
[INFO] [stdout]   --> src/bin/a27.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum ProgramError {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `ProgramError`
[INFO] [stdout]   --> src/bin/a27.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn run(step: i32) -> Result<(), ProgramError> {
[INFO] [stdout]    |                      ------------------------ expected `ProgramError` because of this
[INFO] [stdout] ...
[INFO] [stdout] 49 |         divide(1, 0)?;
[INFO] [stdout]    |         ------------^ the trait `From<MathError>` is not implemented for `ProgramError`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         this can't be annotated with `?` because it has type `Result<_, MathError>`
[INFO] [stdout]    |
[INFO] [stdout] note: `ProgramError` needs to implement `From<MathError>`
[INFO] [stdout]   --> src/bin/a27.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum ProgramError {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `ProgramError` doesn't implement `Debug`
[INFO] [stdout]   --> src/bin/a27.rs:55:22
[INFO] [stdout]    |
[INFO] [stdout] 55 |     println!("{:?}", run(1));
[INFO] [stdout]    |               ----   ^^^^^^ `ProgramError` cannot be formatted using `{:?}` because it doesn't implement `Debug`
[INFO] [stdout]    |               |
[INFO] [stdout]    |               required by this formatting parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Debug` is not implemented for `ProgramError`
[INFO] [stdout]    = note: add `#[derive(Debug)]` to `ProgramError` or manually `impl Debug for ProgramError`
[INFO] [stdout] help: the trait `Debug` is implemented for `Result<T, E>`
[INFO] [stdout]   --> /rustc/1baf923b9c3a455162afe43e18647f494c1a4b73/library/core/src/result.rs:552:15
[INFO] [stdout]    = note: required for `Result<(), ProgramError>` to implement `Debug`
[INFO] [stdout] help: consider annotating `ProgramError` with `#[derive(Debug)]`
[INFO] [stdout]    |
[INFO] [stdout] 14 + #[derive(Debug)]
[INFO] [stdout] 15 | enum ProgramError {}
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `ProgramError` doesn't implement `Debug`
[INFO] [stdout]   --> src/bin/a27.rs:56:22
[INFO] [stdout]    |
[INFO] [stdout] 56 |     println!("{:?}", run(2));
[INFO] [stdout]    |               ----   ^^^^^^ `ProgramError` cannot be formatted using `{:?}` because it doesn't implement `Debug`
[INFO] [stdout]    |               |
[INFO] [stdout]    |               required by this formatting parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Debug` is not implemented for `ProgramError`
[INFO] [stdout]    = note: add `#[derive(Debug)]` to `ProgramError` or manually `impl Debug for ProgramError`
[INFO] [stdout] help: the trait `Debug` is implemented for `Result<T, E>`
[INFO] [stdout]   --> /rustc/1baf923b9c3a455162afe43e18647f494c1a4b73/library/core/src/result.rs:552:15
[INFO] [stdout]    = note: required for `Result<(), ProgramError>` to implement `Debug`
[INFO] [stdout] help: consider annotating `ProgramError` with `#[derive(Debug)]`
[INFO] [stdout]    |
[INFO] [stdout] 14 + #[derive(Debug)]
[INFO] [stdout] 15 | enum ProgramError {}
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `activities` (bin "a27" test) due to 7 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `activities` (bin "a3a" test) due to 1 previous error
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/a23.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn part_1() -> bool {
[INFO] [stdout]    |                ---- expected `bool` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 16 |     maybe_access("admin")
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Option<Access>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `bool`
[INFO] [stdout]               found enum `Option<Access>`
[INFO] [stdout] help: use `Option::is_some` to test if the `Option` has a value
[INFO] [stdout]    |
[INFO] [stdout] 16 |     maybe_access("admin").is_some()
[INFO] [stdout]    |                          ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/a23.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn part_3() -> Access {
[INFO] [stdout]    |                ------ expected `Access` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 29 |     maybe_access("Alice")
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ expected `Access`, found `Option<Access>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Access`
[INFO] [stdout]               found enum `Option<Access>`
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option<Access>` value, panicking if the value is an `Option::None`
[INFO] [stdout]    |
[INFO] [stdout] 29 |     maybe_access("Alice").expect("REASON")
[INFO] [stdout]    |                          +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `activities` (bin "a23" test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "ff14a9a09296c7f6396a51da6bcd51b0d3efa19c801ceade47316a1b0809b294", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff14a9a09296c7f6396a51da6bcd51b0d3efa19c801ceade47316a1b0809b294", kill_on_drop: false }`
[INFO] [stdout] ff14a9a09296c7f6396a51da6bcd51b0d3efa19c801ceade47316a1b0809b294
