[INFO] crate leet-converter 0.0.1 is already in cache
[INFO] checking leet-converter-0.0.1 against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] extracting crate leet-converter 0.0.1 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate leet-converter 0.0.1 on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking crates.io crate leet-converter 0.0.1
[INFO] finished tweaking crates.io crate leet-converter 0.0.1
[INFO] tweaked toml for crates.io crate leet-converter 0.0.1 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 3ebe39f222b5b9792db3266830cd01769e27c91a0f99f650ab4668a34e9f1f7d
[INFO] running `"docker" "start" "-a" "3ebe39f222b5b9792db3266830cd01769e27c91a0f99f650ab4668a34e9f1f7d"`
[INFO] [stderr]     Checking leet-converter v0.0.1 (/opt/rustwide/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[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<File>, output: &mut Box<Writer>) {
[INFO] [stderr]    |                 -                                                   ^^^^^^ not found in this scope
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: you might be missing a type parameter: `<Writer>`
[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<String> = os::args();
[INFO] [stderr]    |                                 ^^^^ not found in `os`
[INFO] [stderr]    |
[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<Writer>,
[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<Writer>
[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<Writer>
[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]     |                                         ^^^^^^^^ private struct
[INFO] [stderr]     |
[INFO] [stderr] note: the struct `OptGroup` is defined here
[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]     |               ^^^^^ private module
[INFO] [stderr]     |
[INFO] [stderr] note: the module `stdio` is defined here
[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<Writer>,
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #49733 <https://github.com/rust-lang/rust/issues/49733> for more information
[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<Writer>
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #49733 <https://github.com/rust-lang/rust/issues/49733> for more information
[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<Writer>
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #49733 <https://github.com/rust-lang/rust/issues/49733> for more information
[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: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stderr]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[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[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<File>, output: &mut Box<Writer>) {
[INFO] [stderr]    |                 -                                                   ^^^^^^ not found in this scope
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: you might be missing a type parameter: `<Writer>`
[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<String> = os::args();
[INFO] [stderr]    |                                 ^^^^ not found in `os`
[INFO] [stderr]    |
[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[E0599]: no method named `as_slice` found for struct `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]    |            ^^^^^^^^ method not found in `std::string::String`
[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<Writer>,
[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<Writer>
[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<Writer>
[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]     |                                         ^^^^^^^^ private struct
[INFO] [stderr]     |
[INFO] [stderr] note: the struct `OptGroup` is defined here
[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]     |               ^^^^^ private module
[INFO] [stderr]     |
[INFO] [stderr] note: the module `stdio` is defined here
[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<Writer>,
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #49733 <https://github.com/rust-lang/rust/issues/49733> for more information
[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<Writer>
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #49733 <https://github.com/rust-lang/rust/issues/49733> for more information
[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<Writer>
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #49733 <https://github.com/rust-lang/rust/issues/49733> for more information
[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: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[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 struct `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]    |                                                              ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `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]    |                                                             ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `tail` found for struct `std::vec::Vec<std::string::String>` 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]    |                                      ^^^^ method not found in `std::vec::Vec<std::string::String>`
[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] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `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]    |            ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `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]    |                                                              ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `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]    |                                                             ^^^^^^^^ method not found in `std::string::String`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `tail` found for struct `std::vec::Vec<std::string::String>` 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]    |                                      ^^^^ method not found in `std::vec::Vec<std::string::String>`
[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] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "3ebe39f222b5b9792db3266830cd01769e27c91a0f99f650ab4668a34e9f1f7d"`
[INFO] running `"docker" "rm" "-f" "3ebe39f222b5b9792db3266830cd01769e27c91a0f99f650ab4668a34e9f1f7d"`
[INFO] [stdout] 3ebe39f222b5b9792db3266830cd01769e27c91a0f99f650ab4668a34e9f1f7d
