[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58e1b392dda71735317f2ad4e8e0d760d8913253 [INFO] testing TransientWang/rust_demo against 1.45.2 for beta-1.46-1 [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 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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" "+1.45.2" "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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a70995969b0465de666bfc91e22496172413047acf91e1fb6bb365cc07ec26ea [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" "a70995969b0465de666bfc91e22496172413047acf91e1fb6bb365cc07ec26ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a70995969b0465de666bfc91e22496172413047acf91e1fb6bb365cc07ec26ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a70995969b0465de666bfc91e22496172413047acf91e1fb6bb365cc07ec26ea", kill_on_drop: false }` [INFO] [stdout] a70995969b0465de666bfc91e22496172413047acf91e1fb6bb365cc07ec26ea [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" "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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dfd3f668ada1d474d72d680f226c450c1d11371079ac51a51d7ba77f50cab56 [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" "7dfd3f668ada1d474d72d680f226c450c1d11371079ac51a51d7ba77f50cab56", kill_on_drop: false }` [INFO] [stderr] Compiling rust_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `test` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test::Concurrent::No; [INFO] [stdout] | ^^^^ use of undeclared type 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[E0277]: `UsState` doesn't implement `std::fmt::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 `std::fmt::Debug` is not implemented for `UsState` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `std::fmt::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 `std::fmt::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 `std::fmt::Debug` is not implemented for `UsState` [INFO] [stdout] = note: add `#[derive(Debug)]` or manually implement `std::fmt::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 `std::option::Option` [INFO] [stdout] 199 | | Some(i) => Some(i + 1), [INFO] [stdout] | | ----------- this is found to be of type `std::option::Option` [INFO] [stdout] 200 | | _ => (), [INFO] [stdout] | | ^^ expected enum `std::option::Option`, found `()` [INFO] [stdout] 201 | | } [INFO] [stdout] | |_____- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found unit type `()` [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] running `Command { std: "docker" "inspect" "7dfd3f668ada1d474d72d680f226c450c1d11371079ac51a51d7ba77f50cab56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dfd3f668ada1d474d72d680f226c450c1d11371079ac51a51d7ba77f50cab56", kill_on_drop: false }` [INFO] [stdout] 7dfd3f668ada1d474d72d680f226c450c1d11371079ac51a51d7ba77f50cab56