[INFO] crate leet-converter 0.0.1 is already in cache [INFO] extracting crate leet-converter 0.0.1 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/leet-converter/0.0.1 [INFO] extracting crate leet-converter 0.0.1 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/leet-converter/0.0.1 [INFO] validating manifest of leet-converter-0.0.1 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 leet-converter-0.0.1 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 leet-converter-0.0.1 [INFO] finished frobbing leet-converter-0.0.1 [INFO] frobbed toml for leet-converter-0.0.1 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/leet-converter/0.0.1/Cargo.toml [INFO] started frobbing leet-converter-0.0.1 [INFO] finished frobbing leet-converter-0.0.1 [INFO] frobbed toml for leet-converter-0.0.1 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/leet-converter/0.0.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 leet-converter-0.0.1 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/reg/leet-converter/0.0.1:/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] a4eee683bb81faa81b2f0ba075de0c63f0755af0bd75bb9781f02a8a378b4382 [INFO] running `"docker" "start" "-a" "a4eee683bb81faa81b2f0ba075de0c63f0755af0bd75bb9781f02a8a378b4382"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking leet-converter v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved imports `getopts::optopt`, `getopts::optflag`, `getopts::getopts`, `getopts::usage` [INFO] [stderr] --> src/main.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use getopts::{optopt, optflag, getopts, OptGroup, usage}; [INFO] [stderr] | ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ no `usage` in the root [INFO] [stderr] | | | | [INFO] [stderr] | | | no `getopts` in the root [INFO] [stderr] | | no `optflag` in the root [INFO] [stderr] | no `optopt` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::BufferedReader`, `std::io::LineBufferedWriter` [INFO] [stderr] --> src/main.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{stdio, BufferedReader, LineBufferedWriter}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `LineBufferedWriter` in `io` [INFO] [stderr] | | [INFO] [stderr] | no `BufferedReader` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::File`, `std::io::Open`, `std::io::ReadWrite` [INFO] [stderr] --> src/main.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io::{File, Open, ReadWrite}; [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^ no `ReadWrite` in `io` [INFO] [stderr] | | | [INFO] [stderr] | | no `Open` in `io` [INFO] [stderr] | no `File` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `getopts::optopt`, `getopts::optflag`, `getopts::getopts`, `getopts::usage` [INFO] [stderr] --> src/main.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use getopts::{optopt, optflag, getopts, OptGroup, usage}; [INFO] [stderr] | ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^ no `usage` in the root [INFO] [stderr] | | | | [INFO] [stderr] | | | no `getopts` in the root [INFO] [stderr] | | no `optflag` in the root [INFO] [stderr] | no `optopt` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::BufferedReader`, `std::io::LineBufferedWriter` [INFO] [stderr] --> src/main.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{stdio, BufferedReader, LineBufferedWriter}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `LineBufferedWriter` in `io` [INFO] [stderr] | | [INFO] [stderr] | no `BufferedReader` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::File`, `std::io::Open`, `std::io::ReadWrite` [INFO] [stderr] --> src/main.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io::{File, Open, ReadWrite}; [INFO] [stderr] | ^^^^ ^^^^ ^^^^^^^^^ no `ReadWrite` in `io` [INFO] [stderr] | | | [INFO] [stderr] | | no `Open` in `io` [INFO] [stderr] | no `File` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:65:26 [INFO] [stderr] | [INFO] [stderr] 65 | let input_path = Path::new(matches.free[0].clone()); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:74:35 [INFO] [stderr] | [INFO] [stderr] 74 | let output_path = Path::new(output_file); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:65:26 [INFO] [stderr] | [INFO] [stderr] 65 | let input_path = Path::new(matches.free[0].clone()); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:74:35 [INFO] [stderr] | [INFO] [stderr] 74 | let output_path = Path::new(output_file); [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Writer` in this scope [INFO] [stderr] --> src/main.rs:36:69 [INFO] [stderr] | [INFO] [stderr] 36 | fn leetification(input: &mut BufferedReader, output: &mut Box) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `os` [INFO] [stderr] --> src/main.rs:46:33 [INFO] [stderr] | [INFO] [stderr] 46 | let args: Vec = 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] 3 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Writer` in this scope [INFO] [stderr] --> src/main.rs:76:78 [INFO] [stderr] | [INFO] [stderr] 76 | Ok(output) => box LineBufferedWriter::new(output) as Box, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Writer` in this scope [INFO] [stderr] --> src/main.rs:77:58 [INFO] [stderr] | [INFO] [stderr] 77 | Err(_) => box stdio::stdout() as Box [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Writer` in this scope [INFO] [stderr] --> src/main.rs:79:48 [INFO] [stderr] | [INFO] [stderr] 79 | None => box stdio::stdout() as Box [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0603]: struct `OptGroup` is private [INFO] [stderr] --> src/main.rs:3:41 [INFO] [stderr] | [INFO] [stderr] 3 | use getopts::{optopt, optflag, getopts, OptGroup, usage}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `stdio` is private [INFO] [stderr] --> src/main.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{stdio, BufferedReader, LineBufferedWriter}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/main.rs:76:35 [INFO] [stderr] | [INFO] [stderr] 76 | Ok(output) => box LineBufferedWriter::new(output) as Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/main.rs:77:31 [INFO] [stderr] | [INFO] [stderr] 77 | Err(_) => box stdio::stdout() as Box [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/main.rs:79:21 [INFO] [stderr] | [INFO] [stderr] 79 | None => box stdio::stdout() as Box [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | extern crate getopts; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] error[E0412]: cannot find type `Writer` in this scope [INFO] [stderr] --> src/main.rs:36:69 [INFO] [stderr] | [INFO] [stderr] 36 | fn leetification(input: &mut BufferedReader, output: &mut Box) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `args` in module `os` [INFO] [stderr] --> src/main.rs:46:33 [INFO] [stderr] | [INFO] [stderr] 46 | let args: Vec = os::args(); [INFO] [stderr] | ^^^^ not found in `os` [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::env::args; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Writer` in this scope [INFO] [stderr] --> src/main.rs:76:78 [INFO] [stderr] | [INFO] [stderr] 76 | Ok(output) => box LineBufferedWriter::new(output) as Box, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Writer` in this scope [INFO] [stderr] --> src/main.rs:77:58 [INFO] [stderr] | [INFO] [stderr] 77 | Err(_) => box stdio::stdout() as Box [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Writer` in this scope [INFO] [stderr] --> src/main.rs:79:48 [INFO] [stderr] | [INFO] [stderr] 79 | None => box stdio::stdout() as Box [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0603]: struct `OptGroup` is private [INFO] [stderr] --> src/main.rs:3:41 [INFO] [stderr] | [INFO] [stderr] 3 | use getopts::{optopt, optflag, getopts, OptGroup, usage}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: module `stdio` is private [INFO] [stderr] --> src/main.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{stdio, BufferedReader, LineBufferedWriter}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/main.rs:76:35 [INFO] [stderr] | [INFO] [stderr] 76 | Ok(output) => box LineBufferedWriter::new(output) as Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/main.rs:77:31 [INFO] [stderr] | [INFO] [stderr] 77 | Err(_) => box stdio::stdout() as Box [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/main.rs:79:21 [INFO] [stderr] | [INFO] [stderr] 79 | None => box stdio::stdout() as Box [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add `#![feature(box_syntax)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | extern crate getopts; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | unleet.as_slice().chars() [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | unleet.as_slice().chars() [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:31:62 [INFO] [stderr] | [INFO] [stderr] 31 | usage(format!("Usage: leet [OPTION] ... [FILENAME]").as_slice(), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:39:61 [INFO] [stderr] | [INFO] [stderr] 39 | let _ = output.write_line(leet_conversion(line).as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:54:38 [INFO] [stderr] | [INFO] [stderr] 54 | let matches = match getopts(args.tail(), opts) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:31:62 [INFO] [stderr] | [INFO] [stderr] 31 | usage(format!("Usage: leet [OPTION] ... [FILENAME]").as_slice(), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599, E0603, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:39:61 [INFO] [stderr] | [INFO] [stderr] 39 | let _ = output.write_line(leet_conversion(line).as_slice()); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `tail` found for type `std::vec::Vec` in the current scope [INFO] [stderr] --> src/main.rs:54:38 [INFO] [stderr] | [INFO] [stderr] 54 | let matches = match getopts(args.tail(), opts) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599, E0603, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `leet-converter`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `leet-converter`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a4eee683bb81faa81b2f0ba075de0c63f0755af0bd75bb9781f02a8a378b4382"` [INFO] running `"docker" "rm" "-f" "a4eee683bb81faa81b2f0ba075de0c63f0755af0bd75bb9781f02a8a378b4382"` [INFO] [stdout] a4eee683bb81faa81b2f0ba075de0c63f0755af0bd75bb9781f02a8a378b4382