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