[INFO] updating cached repository shiroyasha/rust_grep [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/shiroyasha/rust_grep [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/shiroyasha/rust_grep" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/shiroyasha/rust_grep"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/shiroyasha/rust_grep'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/shiroyasha/rust_grep" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/shiroyasha/rust_grep"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/shiroyasha/rust_grep'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2eae909e9d1ec6efc28974029da892736592beb5 [INFO] sha for GitHub repo shiroyasha/rust_grep: 2eae909e9d1ec6efc28974029da892736592beb5 [INFO] validating manifest of shiroyasha/rust_grep on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of shiroyasha/rust_grep on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing shiroyasha/rust_grep [INFO] finished frobbing shiroyasha/rust_grep [INFO] frobbed toml for shiroyasha/rust_grep written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/shiroyasha/rust_grep/Cargo.toml [INFO] started frobbing shiroyasha/rust_grep [INFO] finished frobbing shiroyasha/rust_grep [INFO] frobbed toml for shiroyasha/rust_grep written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/shiroyasha/rust_grep/Cargo.toml [INFO] crate shiroyasha/rust_grep already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking shiroyasha/rust_grep against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-1/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/shiroyasha/rust_grep:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/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" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 51504380aa3486936fbf7fd8923f6fa05b4baaef2dd30514c416b3b6e9cadbf5 [INFO] running `"docker" "start" "-a" "51504380aa3486936fbf7fd8923f6fa05b4baaef2dd30514c416b3b6e9cadbf5"` [INFO] [stderr] Checking rg v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `found` [INFO] [stderr] --> src/main.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 14 | println!("{}", path.display()) [INFO] [stderr] | - expected one of `.`, `;`, `?`, `}`, or an operator here [INFO] [stderr] 15 | found = true [INFO] [stderr] | ^^^^^ unexpected token [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:25:31 [INFO] [stderr] | [INFO] [stderr] 25 | let mut number_of_files = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:45:20 [INFO] [stderr] | [INFO] [stderr] 45 | for _ in range(0u, number_of_files) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `found` [INFO] [stderr] --> src/main.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 14 | println!("{}", path.display()) [INFO] [stderr] | - expected one of `.`, `;`, `?`, `}`, or an operator here [INFO] [stderr] 15 | found = true [INFO] [stderr] | ^^^^^ unexpected token [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:25:31 [INFO] [stderr] | [INFO] [stderr] 25 | let mut number_of_files = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:45:20 [INFO] [stderr] | [INFO] [stderr] 45 | for _ in range(0u, number_of_files) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::comm` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::comm; [INFO] [stderr] | ^^^^^^^^^ no `comm` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::File`, `std::io::BufferedReader`, `std::io::fs` [INFO] [stderr] --> src/main.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{File, BufferedReader, fs}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^ ^^ no `fs` in `io` [INFO] [stderr] | | | [INFO] [stderr] | | no `BufferedReader` in `io` [INFO] [stderr] | no `File` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::fs` [INFO] [stderr] --> src/main.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::fs::PathExtensions; [INFO] [stderr] | ^^ could not find `fs` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `fs` in `io` [INFO] [stderr] --> src/main.rs:59:32 [INFO] [stderr] | [INFO] [stderr] 59 | let found = match std::io::fs::walk_dir(&Path::new(".")) { [INFO] [stderr] | ^^ could not find `fs` in `io` [INFO] [stderr] error[E0432]: unresolved import `std::comm` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::comm; [INFO] [stderr] | ^^^^^^^^^ no `comm` in the root [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:59:46 [INFO] [stderr] | [INFO] [stderr] 59 | let found = match std::io::fs::walk_dir(&Path::new(".")) { [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::File`, `std::io::BufferedReader`, `std::io::fs` [INFO] [stderr] --> src/main.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{File, BufferedReader, fs}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^ ^^ no `fs` in `io` [INFO] [stderr] | | | [INFO] [stderr] | | no `BufferedReader` in `io` [INFO] [stderr] | no `File` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::fs` [INFO] [stderr] --> src/main.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::fs::PathExtensions; [INFO] [stderr] | ^^ could not find `fs` in `io` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/main.rs:6:45 [INFO] [stderr] | [INFO] [stderr] 6 | fn search_in_file(text_to_find: &str, path: Path) -> bool { [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] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/main.rs:23:20 [INFO] [stderr] | [INFO] [stderr] 23 | let (tx, rx): (Sender, Receiver) = comm::channel(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 23 | let (tx, rx): (Send, Receiver) = comm::channel(); [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/main.rs:23:34 [INFO] [stderr] | [INFO] [stderr] 23 | let (tx, rx): (Sender, Receiver) = comm::channel(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/main.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | spawn(move || { [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::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `os` [INFO] [stderr] --> src/main.rs:35:28 [INFO] [stderr] | [INFO] [stderr] 35 | let args = os::args(); [INFO] [stderr] | ^^^^ not found in `os` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:45:14 [INFO] [stderr] | [INFO] [stderr] 45 | for _ in range(0u, number_of_files) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IoError` in module `std::io` [INFO] [stderr] --> src/main.rs:54:28 [INFO] [stderr] | [INFO] [stderr] 54 | fn log_error(why: std::io::IoError) { [INFO] [stderr] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `set_exit_status` in module `std::os` [INFO] [stderr] --> src/main.rs:64:14 [INFO] [stderr] | [INFO] [stderr] 64 | std::os::set_exit_status(if found { 0 } else { 1 }) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `std::os` [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `rg`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: could not find `fs` in `io` [INFO] [stderr] --> src/main.rs:59:32 [INFO] [stderr] | [INFO] [stderr] 59 | let found = match std::io::fs::walk_dir(&Path::new(".")) { [INFO] [stderr] | ^^ could not find `fs` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:59:46 [INFO] [stderr] | [INFO] [stderr] 59 | let found = match std::io::fs::walk_dir(&Path::new(".")) { [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Path` in this scope [INFO] [stderr] --> src/main.rs:6:45 [INFO] [stderr] | [INFO] [stderr] 6 | fn search_in_file(text_to_find: &str, path: Path) -> bool { [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] error[E0412]: cannot find type `Sender` in this scope [INFO] [stderr] --> src/main.rs:23:20 [INFO] [stderr] | [INFO] [stderr] 23 | let (tx, rx): (Sender, Receiver) = comm::channel(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a trait with a similar name exists [INFO] [stderr] | [INFO] [stderr] 23 | let (tx, rx): (Send, Receiver) = comm::channel(); [INFO] [stderr] | ^^^^ [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Sender; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stderr] --> src/main.rs:23:34 [INFO] [stderr] | [INFO] [stderr] 23 | let (tx, rx): (Sender, Receiver) = comm::channel(); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Receiver; [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::Receiver; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spawn` in this scope [INFO] [stderr] --> src/main.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | spawn(move || { [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::thread::spawn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `os` [INFO] [stderr] --> src/main.rs:35:28 [INFO] [stderr] | [INFO] [stderr] 35 | let args = os::args(); [INFO] [stderr] | ^^^^ not found in `os` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:45:14 [INFO] [stderr] | [INFO] [stderr] 45 | for _ in range(0u, number_of_files) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IoError` in module `std::io` [INFO] [stderr] --> src/main.rs:54:28 [INFO] [stderr] | [INFO] [stderr] 54 | fn log_error(why: std::io::IoError) { [INFO] [stderr] | ^^^^^^^ help: a struct with a similar name exists: `Error` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `set_exit_status` in module `std::os` [INFO] [stderr] --> src/main.rs:64:14 [INFO] [stderr] | [INFO] [stderr] 64 | std::os::set_exit_status(if found { 0 } else { 1 }) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `std::os` [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `rg`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "51504380aa3486936fbf7fd8923f6fa05b4baaef2dd30514c416b3b6e9cadbf5"` [INFO] running `"docker" "rm" "-f" "51504380aa3486936fbf7fd8923f6fa05b4baaef2dd30514c416b3b6e9cadbf5"` [INFO] [stdout] 51504380aa3486936fbf7fd8923f6fa05b4baaef2dd30514c416b3b6e9cadbf5