[INFO] cloning repository https://github.com/nikomatsakis/grep-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nikomatsakis/grep-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomatsakis%2Fgrep-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomatsakis%2Fgrep-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd835f864fa4231c082dedde197d4ed87ed0d070 [INFO] checking nikomatsakis/grep-test against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomatsakis%2Fgrep-test" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikomatsakis/grep-test on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nikomatsakis/grep-test [INFO] finished tweaking git repo https://github.com/nikomatsakis/grep-test [INFO] tweaked toml for git repo https://github.com/nikomatsakis/grep-test written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/nikomatsakis/grep-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0d688e7ffc9a8db636d1468521abd2b912840cb23fee77b6fc2cbaf6e45df83 [INFO] running `Command { std: "docker" "start" "-a" "c0d688e7ffc9a8db636d1468521abd2b912840cb23fee77b6fc2cbaf6e45df83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0d688e7ffc9a8db636d1468521abd2b912840cb23fee77b6fc2cbaf6e45df83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0d688e7ffc9a8db636d1468521abd2b912840cb23fee77b6fc2cbaf6e45df83", kill_on_drop: false }` [INFO] [stdout] c0d688e7ffc9a8db636d1468521abd2b912840cb23fee77b6fc2cbaf6e45df83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72e9674876fe474be90e47c45a91cb831f0f9be6d8c0256c34eabdbd61d694be [INFO] running `Command { std: "docker" "start" "-a" "72e9674876fe474be90e47c45a91cb831f0f9be6d8c0256c34eabdbd61d694be", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking regex v0.2.5 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking backtrace v0.3.5 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Checking grep-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found keyword `extern` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use extern::{ [INFO] [stdout] | ^^^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 11 | use r#extern::{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(crate_in_paths, crate_visibility_modifier, extern_in_paths, decl_macro, [INFO] [stdout] | ^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: subsumed by `::foo::bar` paths [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `extern` [INFO] [stdout] --> src/file_read.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use extern::std::{fs::File, io::{self, BufRead, BufReader}, path::Path}; [INFO] [stdout] | ^^^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 1 | use r#extern::std::{fs::File, io::{self, BufRead, BufReader}, path::Path}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `extern` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use extern::{ [INFO] [stdout] | ^^^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 11 | use r#extern::{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(crate_in_paths, crate_visibility_modifier, extern_in_paths, decl_macro, [INFO] [stdout] | ^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: subsumed by `::foo::bar` paths [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `extern` [INFO] [stdout] --> src/file_read.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use extern::std::{fs::File, io::{self, BufRead, BufReader}, path::Path}; [INFO] [stdout] | ^^^^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 1 | use r#extern::std::{fs::File, io::{self, BufRead, BufReader}, path::Path}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `r#extern`? [INFO] [stdout] --> src/file_read.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use extern::std::{fs::File, io::{self, BufRead, BufReader}, path::Path}; [INFO] [stdout] | ^^^^^^ maybe a missing crate `r#extern`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `r#extern`? [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use extern::{ [INFO] [stdout] | ^^^^^^ maybe a missing crate `r#extern`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `r#extern`? [INFO] [stdout] --> src/file_read.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use extern::std::{fs::File, io::{self, BufRead, BufReader}, path::Path}; [INFO] [stdout] | ^^^^^^ maybe a missing crate `r#extern`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `r#extern`? [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use extern::{ [INFO] [stdout] | ^^^^^^ maybe a missing crate `r#extern`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/file_read.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | mut callback: impl FnMut(&str) -> io::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/file_read.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | ) -> io::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:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | fn main() -> io::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 `env` [INFO] [stdout] --> src/main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let mut args = env::args().skip(1); [INFO] [stdout] | ^^^ use of undeclared crate or module `env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/file_read.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | mut callback: impl FnMut(&str) -> io::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/file_read.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | ) -> io::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 `process` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | process::exit(1); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `process` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/main.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | fn main() -> io::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 `env` [INFO] [stdout] --> src/main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let mut args = env::args().skip(1); [INFO] [stdout] | ^^^ use of undeclared crate or module `env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Regex` [INFO] [stdout] --> src/main.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | Some(arg) => Regex::new(&arg).expect("invalid regex"), [INFO] [stdout] | ^^^^^ use of undeclared type `Regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/main.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let stdout = io::stdout(); [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/file_read.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | path: impl AsRef, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/file_read.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | let file = File::open(path)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader` [INFO] [stdout] --> src/file_read.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let reader = BufReader::new(&file); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::BufReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `process` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | process::exit(1); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `process` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Regex` [INFO] [stdout] --> src/main.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | Some(arg) => Regex::new(&arg).expect("invalid regex"), [INFO] [stdout] | ^^^^^ use of undeclared type `Regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/main.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let stdout = io::stdout(); [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/file_read.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | path: impl AsRef, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/file_read.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | let file = File::open(path)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader` [INFO] [stdout] --> src/file_read.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let reader = BufReader::new(&file); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::BufReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grep-test` due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "72e9674876fe474be90e47c45a91cb831f0f9be6d8c0256c34eabdbd61d694be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72e9674876fe474be90e47c45a91cb831f0f9be6d8c0256c34eabdbd61d694be", kill_on_drop: false }` [INFO] [stdout] 72e9674876fe474be90e47c45a91cb831f0f9be6d8c0256c34eabdbd61d694be