[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikomatsakis%2Fgrep-test" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikomatsakis/grep-test on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-10/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" "+beta" "fetch" "--locked" "--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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9160a797136787926a1a5888e0e8c83c5f083fca60f99cdbc52a33f4a0d9a5b8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9160a797136787926a1a5888e0e8c83c5f083fca60f99cdbc52a33f4a0d9a5b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9160a797136787926a1a5888e0e8c83c5f083fca60f99cdbc52a33f4a0d9a5b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9160a797136787926a1a5888e0e8c83c5f083fca60f99cdbc52a33f4a0d9a5b8", kill_on_drop: false }` [INFO] [stdout] 9160a797136787926a1a5888e0e8c83c5f083fca60f99cdbc52a33f4a0d9a5b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f1e49d6d63ac244360d931593bf6c96409ff333a2ffe39efc7eb3ab823490211 [INFO] running `Command { std: "docker" "start" "-a" "f1e49d6d63ac244360d931593bf6c96409ff333a2ffe39efc7eb3ab823490211", kill_on_drop: false }` [INFO] [stderr] Checking regex v0.2.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[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: 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: 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: 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: 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: 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 `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[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![feature(crate_in_paths, crate_visibility_modifier, extern_in_paths, decl_macro, [INFO] [stdout] 2 | | termination_trait, use_nested_groups, universal_impl_trait)] [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0554, 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[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[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![feature(crate_in_paths, crate_visibility_modifier, extern_in_paths, decl_macro, [INFO] [stdout] 2 | | termination_trait, use_nested_groups, universal_impl_trait)] [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0554, E0557. [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" "f1e49d6d63ac244360d931593bf6c96409ff333a2ffe39efc7eb3ab823490211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1e49d6d63ac244360d931593bf6c96409ff333a2ffe39efc7eb3ab823490211", kill_on_drop: false }` [INFO] [stdout] f1e49d6d63ac244360d931593bf6c96409ff333a2ffe39efc7eb3ab823490211