[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 master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustErrorResult" "/workspace/builds/worker-101/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-101/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mreboland/rustErrorResult on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-101/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f92515e393113cbedbf7400b0dab48174a7fbd87c80792f25bb9bf5d2bde61a [INFO] running `Command { std: "docker" "start" "-a" "8f92515e393113cbedbf7400b0dab48174a7fbd87c80792f25bb9bf5d2bde61a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f92515e393113cbedbf7400b0dab48174a7fbd87c80792f25bb9bf5d2bde61a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f92515e393113cbedbf7400b0dab48174a7fbd87c80792f25bb9bf5d2bde61a", kill_on_drop: false }` [INFO] [stdout] 8f92515e393113cbedbf7400b0dab48174a7fbd87c80792f25bb9bf5d2bde61a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9018263a1054d88f56aba8de420ef7de888b14808307b2e56f46119fc0c190a9 [INFO] running `Command { std: "docker" "start" "-a" "9018263a1054d88f56aba8de420ef7de888b14808307b2e56f46119fc0c190a9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 [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 = result::Result; [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 [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 = result::Result; [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 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [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 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [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 [INFO] [stdout] | ^^ use of undeclared crate or module `io` [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 [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 [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 [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [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[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[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[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 [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 [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [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" "9018263a1054d88f56aba8de420ef7de888b14808307b2e56f46119fc0c190a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9018263a1054d88f56aba8de420ef7de888b14808307b2e56f46119fc0c190a9", kill_on_drop: false }` [INFO] [stdout] 9018263a1054d88f56aba8de420ef7de888b14808307b2e56f46119fc0c190a9