[INFO] cloning repository https://github.com/mreboland/rustErrorResult
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mreboland/rustErrorResult" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustErrorResult", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustErrorResult'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1b2afd5a0546d6efa0487535e3869ebae5b56b87
[INFO] checking mreboland/rustErrorResult against beta-2021-10-15 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustErrorResult" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mreboland/rustErrorResult on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mreboland/rustErrorResult
[INFO] finished tweaking git repo https://github.com/mreboland/rustErrorResult
[INFO] tweaked toml for git repo https://github.com/mreboland/rustErrorResult written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/mreboland/rustErrorResult already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "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] 7513cd456fe8f13b0b67b69febc09789e6052128ba79123b3220dc16c9711bf3
[INFO] running `Command { std: "docker" "start" "-a" "7513cd456fe8f13b0b67b69febc09789e6052128ba79123b3220dc16c9711bf3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7513cd456fe8f13b0b67b69febc09789e6052128ba79123b3220dc16c9711bf3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7513cd456fe8f13b0b67b69febc09789e6052128ba79123b3220dc16c9711bf3", kill_on_drop: false }`
[INFO] [stdout] 7513cd456fe8f13b0b67b69febc09789e6052128ba79123b3220dc16c9711bf3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0e07f53a399a140e7b9f31e3213657305f9dd5af596d594a192425a23efedb4c
[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" "0e07f53a399a140e7b9f31e3213657305f9dd5af596d594a192425a23efedb4c", kill_on_drop: false }`
[INFO] [stderr]     Checking error-result v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found keyword `match`
[INFO] [stdout]   --> src/main.rs:11:73
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn get_weather(location: LatLng) -> Result<WeatherReport, io::Error>
[INFO] [stdout]    |                                                                         ^ help: add `;` here
[INFO] [stdout] ...
[INFO] [stdout] 22 |     match get_weather(hometown) {
[INFO] [stdout]    |     ----- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!`, `+`, `::`, `;`, `where`, or `{`, found keyword `pub`
[INFO] [stdout]   --> src/main.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     fn remove_file(path: &Path) -> Result<()>
[INFO] [stdout]    |                                              - expected one of `!`, `+`, `::`, `;`, `where`, or `{`
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub type Result<T> = result::Result<T, Error>;
[INFO] [stdout]    |     ^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `match`
[INFO] [stdout]   --> src/main.rs:11:73
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn get_weather(location: LatLng) -> Result<WeatherReport, io::Error>
[INFO] [stdout]    |                                                                         ^ help: add `;` here
[INFO] [stdout] ...
[INFO] [stdout] 22 |     match get_weather(hometown) {
[INFO] [stdout]    |     ----- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!`, `+`, `::`, `;`, `where`, or `{`, found keyword `pub`
[INFO] [stdout]   --> src/main.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     fn remove_file(path: &Path) -> Result<()>
[INFO] [stdout]    |                                              - expected one of `!`, `+`, `::`, `;`, `where`, or `{`
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub type Result<T> = result::Result<T, Error>;
[INFO] [stdout]    |     ^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn get_weather(location: LatLng) -> Result<WeatherReport, io::Error>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]    |                                                                        |
[INFO] [stdout]    |                                                                        help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]   --> src/main.rs:11:63
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn get_weather(location: LatLng) -> Result<WeatherReport, io::Error>
[INFO] [stdout]    |                                                               ^^ use of undeclared crate or module `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WeatherReport`
[INFO] [stdout]   --> src/main.rs:39:38
[INFO] [stdout]    |
[INFO] [stdout] 39 |     const THE_USUAL: WeatherReport = WeatherReport::Sunny(72);
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `WeatherReport`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: free function without a body
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn get_weather(location: LatLng) -> Result<WeatherReport, io::Error>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]    |                                                                        |
[INFO] [stdout]    |                                                                        help: provide a definition for the function: `{ <body> }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LatLng` in this scope
[INFO] [stdout]   --> src/main.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn get_weather(location: LatLng) -> Result<WeatherReport, io::Error>
[INFO] [stdout]    |                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WeatherReport` in this scope
[INFO] [stdout]   --> src/main.rs:11:48
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn get_weather(location: LatLng) -> Result<WeatherReport, io::Error>
[INFO] [stdout]    |                   -                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   help: you might be missing a type parameter: `<WeatherReport>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `hometown` in this scope
[INFO] [stdout]   --> src/main.rs:22:23
[INFO] [stdout]    |
[INFO] [stdout] 22 |     match get_weather(hometown) {
[INFO] [stdout]    |                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `display_weather` in this scope
[INFO] [stdout]   --> src/main.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |             display_weather(hometown, &report);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `hometown` in this scope
[INFO] [stdout]   --> src/main.rs:24:29
[INFO] [stdout]    |
[INFO] [stdout] 24 |             display_weather(hometown, &report);
[INFO] [stdout]    |                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `schedule_weather_retry` in this scope
[INFO] [stdout]   --> src/main.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             schedule_weather_retry();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WeatherReport` in this scope
[INFO] [stdout]   --> src/main.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 |     const THE_USUAL: WeatherReport = WeatherReport::Sunny(72);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `los_angeles` in this scope
[INFO] [stdout]   --> src/main.rs:43:30
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let report = get_weather(los_angeles).unwrap_or(THE_USUAL);
[INFO] [stdout]    |                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `dispplay_weather` in this scope
[INFO] [stdout]   --> src/main.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     dispplay_weather(los_angeles, &report);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `los_angeles` in this scope
[INFO] [stdout]   --> src/main.rs:44:22
[INFO] [stdout]    |
[INFO] [stdout] 44 |     dispplay_weather(los_angeles, &report);
[INFO] [stdout]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `hometown` in this scope
[INFO] [stdout]   --> src/main.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 49 |         get_weather(hometown)
[INFO] [stdout]    |                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `vague_prediction` in this scope
[INFO] [stdout]   --> src/main.rs:50:32
[INFO] [stdout]    |
[INFO] [stdout] 50 |         .unwrap_or_else(|_err| vague_prediction(hometown));
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `hometown` in this scope
[INFO] [stdout]   --> src/main.rs:50:49
[INFO] [stdout]    |
[INFO] [stdout] 50 |         .unwrap_or_else(|_err| vague_prediction(hometown));
[INFO] [stdout]    |                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]   --> src/main.rs:11:63
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn get_weather(location: LatLng) -> Result<WeatherReport, io::Error>
[INFO] [stdout]    |                                                               ^^ use of undeclared crate or module `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WeatherReport`
[INFO] [stdout]   --> src/main.rs:39:38
[INFO] [stdout]    |
[INFO] [stdout] 39 |     const THE_USUAL: WeatherReport = WeatherReport::Sunny(72);
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ use of undeclared type `WeatherReport`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LatLng` in this scope
[INFO] [stdout]   --> src/main.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn get_weather(location: LatLng) -> Result<WeatherReport, io::Error>
[INFO] [stdout]    |                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WeatherReport` in this scope
[INFO] [stdout]   --> src/main.rs:11:48
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn get_weather(location: LatLng) -> Result<WeatherReport, io::Error>
[INFO] [stdout]    |                   -                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   help: you might be missing a type parameter: `<WeatherReport>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `hometown` in this scope
[INFO] [stdout]   --> src/main.rs:22:23
[INFO] [stdout]    |
[INFO] [stdout] 22 |     match get_weather(hometown) {
[INFO] [stdout]    |                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `display_weather` in this scope
[INFO] [stdout]   --> src/main.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |             display_weather(hometown, &report);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `hometown` in this scope
[INFO] [stdout]   --> src/main.rs:24:29
[INFO] [stdout]    |
[INFO] [stdout] 24 |             display_weather(hometown, &report);
[INFO] [stdout]    |                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `schedule_weather_retry` in this scope
[INFO] [stdout]   --> src/main.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             schedule_weather_retry();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WeatherReport` in this scope
[INFO] [stdout]   --> src/main.rs:39:22
[INFO] [stdout]    |
[INFO] [stdout] 39 |     const THE_USUAL: WeatherReport = WeatherReport::Sunny(72);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `los_angeles` in this scope
[INFO] [stdout]   --> src/main.rs:43:30
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let report = get_weather(los_angeles).unwrap_or(THE_USUAL);
[INFO] [stdout]    |                              ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `dispplay_weather` in this scope
[INFO] [stdout]   --> src/main.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     dispplay_weather(los_angeles, &report);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `los_angeles` in this scope
[INFO] [stdout]   --> src/main.rs:44:22
[INFO] [stdout]    |
[INFO] [stdout] 44 |     dispplay_weather(los_angeles, &report);
[INFO] [stdout]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `hometown` in this scope
[INFO] [stdout]   --> src/main.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 49 |         get_weather(hometown)
[INFO] [stdout]    |                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `vague_prediction` in this scope
[INFO] [stdout]   --> src/main.rs:50:32
[INFO] [stdout]    |
[INFO] [stdout] 50 |         .unwrap_or_else(|_err| vague_prediction(hometown));
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `hometown` in this scope
[INFO] [stdout]   --> src/main.rs:50:49
[INFO] [stdout]    |
[INFO] [stdout] 50 |         .unwrap_or_else(|_err| vague_prediction(hometown));
[INFO] [stdout]    |                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `error-result` due to 19 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 18 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "0e07f53a399a140e7b9f31e3213657305f9dd5af596d594a192425a23efedb4c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e07f53a399a140e7b9f31e3213657305f9dd5af596d594a192425a23efedb4c", kill_on_drop: false }`
[INFO] [stdout] 0e07f53a399a140e7b9f31e3213657305f9dd5af596d594a192425a23efedb4c
