[INFO] cloning repository https://github.com/hexWars/minigrep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hexWars/minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FhexWars%2Fminigrep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FhexWars%2Fminigrep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b94d8cd09991faf62753ebcfc9f14fe18ae5b348 [INFO] checking hexWars/minigrep against master#19f42cb9bb65555e7d95dab7d17573ae6c5d634c for pr-139087 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FhexWars%2Fminigrep" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hexWars/minigrep on toolchain 19f42cb9bb65555e7d95dab7d17573ae6c5d634c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hexWars/minigrep [INFO] finished tweaking git repo https://github.com/hexWars/minigrep [INFO] tweaked toml for git repo https://github.com/hexWars/minigrep written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hexWars/minigrep already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 822307a957dbbe6ba3ba64c1a8f8f1094cd80541b8e2846d7ac3e84074d2cec7 [INFO] running `Command { std: "docker" "start" "-a" "822307a957dbbe6ba3ba64c1a8f8f1094cd80541b8e2846d7ac3e84074d2cec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "822307a957dbbe6ba3ba64c1a8f8f1094cd80541b8e2846d7ac3e84074d2cec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "822307a957dbbe6ba3ba64c1a8f8f1094cd80541b8e2846d7ac3e84074d2cec7", kill_on_drop: false }` [INFO] [stdout] 822307a957dbbe6ba3ba64c1a8f8f1094cd80541b8e2846d7ac3e84074d2cec7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+19f42cb9bb65555e7d95dab7d17573ae6c5d634c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7980171f39a7a42550b766d89a471f212a3aaa44f321b63ae73f184f8d94c418 [INFO] running `Command { std: "docker" "start" "-a" "7980171f39a7a42550b766d89a471f212a3aaa44f321b63ae73f184f8d94c418", kill_on_drop: false }` [INFO] [stderr] Checking minigrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | if (args.len() < 3) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - if (args.len() < 3) { [INFO] [stdout] 28 + if args.len() < 3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | if (args.len() < 3) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - if (args.len() < 3) { [INFO] [stdout] 28 + if args.len() < 3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `query` on type `Result` [INFO] [stdout] --> src/main.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | println!("Searching for {}", config.query); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 11 | println!("Searching for {}", config.unwrap().query); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `file_path` on type `Result` [INFO] [stdout] --> src/main.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | println!("In file {}", config.file_path); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 12 | println!("In file {}", config.unwrap().file_path); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `file_path` on type `Result` [INFO] [stdout] --> src/main.rs:15:46 [INFO] [stdout] | [INFO] [stdout] 15 | let contents = fs::read_to_string(config.file_path).expect("Shouold have been able to read the file"); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 15 | let contents = fs::read_to_string(config.unwrap().file_path).expect("Shouold have been able to read the file"); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `query` on type `Result` [INFO] [stdout] --> src/main.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | println!("Searching for {}", config.query); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 11 | println!("Searching for {}", config.unwrap().query); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `file_path` on type `Result` [INFO] [stdout] --> src/main.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | println!("In file {}", config.file_path); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 12 | println!("In file {}", config.unwrap().file_path); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `file_path` on type `Result` [INFO] [stdout] --> src/main.rs:15:46 [INFO] [stdout] | [INFO] [stdout] 15 | let contents = fs::read_to_string(config.file_path).expect("Shouold have been able to read the file"); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 15 | let contents = fs::read_to_string(config.unwrap().file_path).expect("Shouold have been able to read the file"); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `minigrep` (bin "minigrep" test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] [stderr] error: could not compile `minigrep` (bin "minigrep") due to 3 previous errors; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7980171f39a7a42550b766d89a471f212a3aaa44f321b63ae73f184f8d94c418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7980171f39a7a42550b766d89a471f212a3aaa44f321b63ae73f184f8d94c418", kill_on_drop: false }` [INFO] [stdout] 7980171f39a7a42550b766d89a471f212a3aaa44f321b63ae73f184f8d94c418