[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] testing TransientWang/rust_demo against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTransientWang%2Frust_demo" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TransientWang/rust_demo on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-3/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cfd52d3f30d9e9ffa82f4a2551fc9cff7027fa61d1f2e09acbed086212ca320a [INFO] running `"docker" "start" "-a" "cfd52d3f30d9e9ffa82f4a2551fc9cff7027fa61d1f2e09acbed086212ca320a"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling 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[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` [INFO] [stderr] 199 | | Some(i) => Some(i + 1), [INFO] [stderr] | | ----------- this is found to be of type `std::option::Option` [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` [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" "cfd52d3f30d9e9ffa82f4a2551fc9cff7027fa61d1f2e09acbed086212ca320a"` [INFO] running `"docker" "rm" "-f" "cfd52d3f30d9e9ffa82f4a2551fc9cff7027fa61d1f2e09acbed086212ca320a"` [INFO] [stdout] cfd52d3f30d9e9ffa82f4a2551fc9cff7027fa61d1f2e09acbed086212ca320a