[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 master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [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 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/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" "+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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded failure_derive v0.1.1 [INFO] [stderr] Downloaded failure v0.1.1 [INFO] [stderr] Downloaded cc v1.0.4 [INFO] [stderr] Downloaded rustc-demangle v0.1.5 [INFO] [stderr] Downloaded regex v0.2.5 [INFO] [stderr] Downloaded libc v0.2.36 [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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24633d527c7813a01d29b732d58367ea7ef1c2cc5c0cf6349574737b4b33bfe5 [INFO] running `Command { std: "docker" "start" "-a" "24633d527c7813a01d29b732d58367ea7ef1c2cc5c0cf6349574737b4b33bfe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24633d527c7813a01d29b732d58367ea7ef1c2cc5c0cf6349574737b4b33bfe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24633d527c7813a01d29b732d58367ea7ef1c2cc5c0cf6349574737b4b33bfe5", kill_on_drop: false }` [INFO] [stdout] 24633d527c7813a01d29b732d58367ea7ef1c2cc5c0cf6349574737b4b33bfe5 [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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 808c8da89ab7e49358aa23394598a828e152587afcc146613b9840ba78a0a7b1 [INFO] running `Command { std: "docker" "start" "-a" "808c8da89ab7e49358aa23394598a828e152587afcc146613b9840ba78a0a7b1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Checking regex v0.2.5 [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 `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[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[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 `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 `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" "808c8da89ab7e49358aa23394598a828e152587afcc146613b9840ba78a0a7b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "808c8da89ab7e49358aa23394598a828e152587afcc146613b9840ba78a0a7b1", kill_on_drop: false }` [INFO] [stdout] 808c8da89ab7e49358aa23394598a828e152587afcc146613b9840ba78a0a7b1