[INFO] updating cached repository https://github.com/TransientWang/rust_demo
[INFO] running `"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"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 58e1b392dda71735317f2ad4e8e0d760d8913253
[INFO] checking TransientWang/rust_demo against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTransientWang%2Frust_demo" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/TransientWang/rust_demo on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/TransientWang/rust_demo
[INFO] finished tweaking git repo https://github.com/TransientWang/rust_demo
[INFO] tweaked toml for git repo https://github.com/TransientWang/rust_demo written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/TransientWang/rust_demo already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 91023c91c24bf58986f1bd0a7b9c73580cd8f327f727369dc8174c2041c23dc7
[INFO] running `"docker" "start" "-a" "91023c91c24bf58986f1bd0a7b9c73580cd8f327f727369dc8174c2041c23dc7"`
[INFO] [stderr]     Checking rust_demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `test`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use test::Concurrent::No;
[INFO] [stderr]   |     ^^^^ use of undeclared type or module `test`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `string` in this scope
[INFO] [stderr]    --> src/main.rs:133:11
[INFO] [stderr]     |
[INFO] [stderr] 133 |       Write(string),
[INFO] [stderr]     |             ^^^^^^ help: a struct with a similar name exists (notice the capitalization): `String`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `coin` in this scope
[INFO] [stderr]    --> src/main.rs:189:35
[INFO] [stderr]     |
[INFO] [stderr] 189 |     if let Coin::Quarter(state) = coin {
[INFO] [stderr]     |                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `UsState` doesn't implement `std::fmt::Debug`
[INFO] [stderr]    --> src/main.rs:163:50
[INFO] [stderr]     |
[INFO] [stderr] 163 |             println!("State quarter from {:?}!", state);
[INFO] [stderr]     |                                                  ^^^^^ `UsState` cannot be formatted using `{:?}`
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `std::fmt::Debug` is not implemented for `UsState`
[INFO] [stderr]     = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug`
[INFO] [stderr]     = note: required by `std::fmt::Debug::fmt`
[INFO] [stderr]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `UsState` doesn't implement `std::fmt::Debug`
[INFO] [stderr]    --> src/main.rs:190:46
[INFO] [stderr]     |
[INFO] [stderr] 190 |         println!("State quarter from {:?}!", state);
[INFO] [stderr]     |                                              ^^^^^ `UsState` cannot be formatted using `{:?}`
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `std::fmt::Debug` is not implemented for `UsState`
[INFO] [stderr]     = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug`
[INFO] [stderr]     = note: required by `std::fmt::Debug::fmt`
[INFO] [stderr]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `test`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use test::Concurrent::No;
[INFO] [stderr]   |     ^^^^ use of undeclared type or module `test`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: `match` arms have incompatible types
[INFO] [stderr]    --> src/main.rs:200:14
[INFO] [stderr]     |
[INFO] [stderr] 197 | /     match x {
[INFO] [stderr] 198 | |         None => None,
[INFO] [stderr]     | |                 ---- this is found to be of type `std::option::Option<i32>`
[INFO] [stderr] 199 | |         Some(i) => Some(i + 1),
[INFO] [stderr]     | |                    ----------- this is found to be of type `std::option::Option<i32>`
[INFO] [stderr] 200 | |         _ => (),
[INFO] [stderr]     | |              ^^ expected enum `std::option::Option`, found `()`
[INFO] [stderr] 201 | |     }
[INFO] [stderr]     | |_____- `match` arms have incompatible types
[INFO] [stderr]     |
[INFO] [stderr]     = note:   expected enum `std::option::Option<i32>`
[INFO] [stderr]             found unit type `()`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 6 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error[E0412]: cannot find type `string` in this scope
[INFO] [stderr]    --> src/main.rs:133:11
[INFO] [stderr]     |
[INFO] [stderr] 133 |       Write(string),
[INFO] [stderr]     |             ^^^^^^ help: a struct with a similar name exists (notice the capitalization): `String`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `coin` in this scope
[INFO] [stderr]    --> src/main.rs:189:35
[INFO] [stderr]     |
[INFO] [stderr] 189 |     if let Coin::Quarter(state) = coin {
[INFO] [stderr]     |                                   ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `rust_demo`.
[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] [stderr] error[E0277]: `UsState` doesn't implement `std::fmt::Debug`
[INFO] [stderr]    --> src/main.rs:163:50
[INFO] [stderr]     |
[INFO] [stderr] 163 |             println!("State quarter from {:?}!", state);
[INFO] [stderr]     |                                                  ^^^^^ `UsState` cannot be formatted using `{:?}`
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `std::fmt::Debug` is not implemented for `UsState`
[INFO] [stderr]     = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug`
[INFO] [stderr]     = note: required by `std::fmt::Debug::fmt`
[INFO] [stderr]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `UsState` doesn't implement `std::fmt::Debug`
[INFO] [stderr]    --> src/main.rs:190:46
[INFO] [stderr]     |
[INFO] [stderr] 190 |         println!("State quarter from {:?}!", state);
[INFO] [stderr]     |                                              ^^^^^ `UsState` cannot be formatted using `{:?}`
[INFO] [stderr]     |
[INFO] [stderr]     = help: the trait `std::fmt::Debug` is not implemented for `UsState`
[INFO] [stderr]     = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug`
[INFO] [stderr]     = note: required by `std::fmt::Debug::fmt`
[INFO] [stderr]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: `match` arms have incompatible types
[INFO] [stderr]    --> src/main.rs:200:14
[INFO] [stderr]     |
[INFO] [stderr] 197 | /     match x {
[INFO] [stderr] 198 | |         None => None,
[INFO] [stderr]     | |                 ---- this is found to be of type `std::option::Option<i32>`
[INFO] [stderr] 199 | |         Some(i) => Some(i + 1),
[INFO] [stderr]     | |                    ----------- this is found to be of type `std::option::Option<i32>`
[INFO] [stderr] 200 | |         _ => (),
[INFO] [stderr]     | |              ^^ expected enum `std::option::Option`, found `()`
[INFO] [stderr] 201 | |     }
[INFO] [stderr]     | |_____- `match` arms have incompatible types
[INFO] [stderr]     |
[INFO] [stderr]     = note:   expected enum `std::option::Option<i32>`
[INFO] [stderr]             found unit type `()`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 6 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `rust_demo`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "91023c91c24bf58986f1bd0a7b9c73580cd8f327f727369dc8174c2041c23dc7"`
[INFO] running `"docker" "rm" "-f" "91023c91c24bf58986f1bd0a7b9c73580cd8f327f727369dc8174c2041c23dc7"`
[INFO] [stdout] 91023c91c24bf58986f1bd0a7b9c73580cd8f327f727369dc8174c2041c23dc7
