[INFO] updating cached repository nikomatsakis/grep-test [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/nikomatsakis/grep-test [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/nikomatsakis/grep-test" "work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/nikomatsakis/grep-test"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/nikomatsakis/grep-test'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/nikomatsakis/grep-test" "work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/nikomatsakis/grep-test"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/nikomatsakis/grep-test'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] dd835f864fa4231c082dedde197d4ed87ed0d070 [INFO] sha for GitHub repo nikomatsakis/grep-test: dd835f864fa4231c082dedde197d4ed87ed0d070 [INFO] validating manifest of nikomatsakis/grep-test on toolchain master#a850a426491e14186af2250549bf41256b5938d2 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of nikomatsakis/grep-test on toolchain try#06a150c7d11500b41499224f165e9de1de096768 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing nikomatsakis/grep-test [INFO] finished frobbing nikomatsakis/grep-test [INFO] frobbed toml for nikomatsakis/grep-test written to work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/nikomatsakis/grep-test/Cargo.toml [INFO] started frobbing nikomatsakis/grep-test [INFO] finished frobbing nikomatsakis/grep-test [INFO] frobbed toml for nikomatsakis/grep-test written to work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/nikomatsakis/grep-test/Cargo.toml [INFO] crate nikomatsakis/grep-test already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking nikomatsakis/grep-test against master#a850a426491e14186af2250549bf41256b5938d2 for pr-60162 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60162/worker-1/master#a850a426491e14186af2250549bf41256b5938d2:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/nikomatsakis/grep-test:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 33572e0478163749c8cb2624704c42115661117061cefc138e430f1e7e31c2c3 [INFO] running `"docker" "start" "-a" "33572e0478163749c8cb2624704c42115661117061cefc138e430f1e7e31c2c3"` [INFO] [stderr] Checking grep-test v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error: expected identifier, found keyword `extern` [INFO] [stderr] --> src/file_read.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use extern::std::{fs::File, io::{self, BufRead, BufReader}, path::Path}; [INFO] [stderr] | ^^^^^^ expected identifier, found keyword [INFO] [stderr] help: you can escape reserved keywords to use them as identifiers [INFO] [stderr] | [INFO] [stderr] 1 | use r#extern::std::{fs::File, io::{self, BufRead, BufReader}, path::Path}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `extern` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use extern::{ [INFO] [stderr] | ^^^^^^ expected identifier, found keyword [INFO] [stderr] help: you can escape reserved keywords to use them as identifiers [INFO] [stderr] | [INFO] [stderr] 11 | use r#extern::{ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0557]: feature has been removed [INFO] [stderr] --> src/main.rs:1:55 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(crate_in_paths, crate_visibility_modifier, extern_in_paths, decl_macro, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: subsumed by `::foo::bar` paths [INFO] [stderr] --> src/main.rs:1:55 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(crate_in_paths, crate_visibility_modifier, extern_in_paths, decl_macro, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `extern` [INFO] [stderr] --> src/file_read.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use extern::std::{fs::File, io::{self, BufRead, BufReader}, path::Path}; [INFO] [stderr] | ^^^^^^ expected identifier, found keyword [INFO] [stderr] help: you can escape reserved keywords to use them as identifiers [INFO] [stderr] | [INFO] [stderr] 1 | use r#extern::std::{fs::File, io::{self, BufRead, BufReader}, path::Path}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected identifier, found keyword `extern` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use extern::{ [INFO] [stderr] | ^^^^^^ expected identifier, found keyword [INFO] [stderr] help: you can escape reserved keywords to use them as identifiers [INFO] [stderr] | [INFO] [stderr] 11 | use r#extern::{ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0557]: feature has been removed [INFO] [stderr] --> src/main.rs:1:55 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(crate_in_paths, crate_visibility_modifier, extern_in_paths, decl_macro, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: subsumed by `::foo::bar` paths [INFO] [stderr] --> src/main.rs:1:55 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(crate_in_paths, crate_visibility_modifier, extern_in_paths, decl_macro, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/file_read.rs:5:39 [INFO] [stderr] | [INFO] [stderr] 5 | mut callback: impl FnMut(&str) -> io::Result<()>, [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/file_read.rs:6:6 [INFO] [stderr] | [INFO] [stderr] 6 | ) -> io::Result<()> { [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stderr] --> src/file_read.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | let file = File::open(path)?; [INFO] [stderr] | ^^^^ use of undeclared type or module `File` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BufReader` [INFO] [stderr] --> src/file_read.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | let reader = BufReader::new(&file); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `BufReader` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/main.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | fn main() -> io::Result<()> { [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env` [INFO] [stderr] --> src/main.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | let mut args = env::args().skip(1); [INFO] [stderr] | ^^^ use of undeclared type or module `env` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `process` [INFO] [stderr] --> src/main.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | process::exit(1); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `process` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Regex` [INFO] [stderr] --> src/main.rs:29:22 [INFO] [stderr] | [INFO] [stderr] 29 | Some(arg) => Regex::new(&arg).expect("invalid regex"), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Regex` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/main.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 32 | let stdout = io::stdout(); [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/file_read.rs:4:22 [INFO] [stderr] | [INFO] [stderr] 4 | path: impl AsRef, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BufRead`, `BufReader`, `fs::File`, `path::Path`, `self` [INFO] [stderr] --> src/file_read.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | use extern::std::{fs::File, io::{self, BufRead, BufReader}, path::Path}; [INFO] [stderr] | ^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Write`, `regex::Regex`, `self`, `std::env`, `std::process` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | regex::Regex, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 13 | std::env, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 14 | std::process, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 15 | std::io::{self, Write}, [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/file_read.rs:5:39 [INFO] [stderr] | [INFO] [stderr] 5 | mut callback: impl FnMut(&str) -> io::Result<()>, [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/file_read.rs:6:6 [INFO] [stderr] | [INFO] [stderr] 6 | ) -> io::Result<()> { [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `File` [INFO] [stderr] --> src/file_read.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | let file = File::open(path)?; [INFO] [stderr] | ^^^^ use of undeclared type or module `File` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `BufReader` [INFO] [stderr] --> src/file_read.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | let reader = BufReader::new(&file); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `BufReader` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/main.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | fn main() -> io::Result<()> { [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `env` [INFO] [stderr] --> src/main.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | let mut args = env::args().skip(1); [INFO] [stderr] | ^^^ use of undeclared type or module `env` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `process` [INFO] [stderr] --> src/main.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | process::exit(1); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `process` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Regex` [INFO] [stderr] --> src/main.rs:29:22 [INFO] [stderr] | [INFO] [stderr] 29 | Some(arg) => Regex::new(&arg).expect("invalid regex"), [INFO] [stderr] | ^^^^^ use of undeclared type or module `Regex` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/main.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 32 | let stdout = io::stdout(); [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/file_read.rs:4:22 [INFO] [stderr] | [INFO] [stderr] 4 | path: impl AsRef, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::Path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BufRead`, `BufReader`, `fs::File`, `path::Path`, `self` [INFO] [stderr] --> src/file_read.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | use extern::std::{fs::File, io::{self, BufRead, BufReader}, path::Path}; [INFO] [stderr] | ^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Write`, `regex::Regex`, `self`, `std::env`, `std::process` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | regex::Regex, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 13 | std::env, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 14 | std::process, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 15 | std::io::{self, Write}, [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433, E0557. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: aborting due to 13 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433, E0557. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `grep-test`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `grep-test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "33572e0478163749c8cb2624704c42115661117061cefc138e430f1e7e31c2c3"` [INFO] running `"docker" "rm" "-f" "33572e0478163749c8cb2624704c42115661117061cefc138e430f1e7e31c2c3"` [INFO] [stdout] 33572e0478163749c8cb2624704c42115661117061cefc138e430f1e7e31c2c3