[INFO] updating cached repository https://github.com/Nandem/Rust_learning
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] f6ba2518afb7cacb51835855bbd260bf98a628b1
[INFO] checking Nandem/Rust_learning against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNandem%2FRust_learning" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Nandem/Rust_learning on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/Nandem/Rust_learning
[INFO] finished tweaking git repo https://github.com/Nandem/Rust_learning
[INFO] tweaked toml for git repo https://github.com/Nandem/Rust_learning written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/Nandem/Rust_learning already has a lockfile, it will not be regenerated
[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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 3b70e8f27e2049f4a5a3a11ec6aadf7af2a914482ba60abf177244b6036a03bc
[INFO] running `"docker" "start" "-a" "3b70e8f27e2049f4a5a3a11ec6aadf7af2a914482ba60abf177244b6036a03bc"`
[INFO] [stderr]     Checking learning v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io`
[INFO] [stderr]   --> src/errors/error1.rs:39:49
[INFO] [stderr]    |
[INFO] [stderr] 39 | fn read_username_from_file1() -> Result<String, io::Error> {
[INFO] [stderr]    |                                                 ^^ use of undeclared type or module `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io`
[INFO] [stderr]   --> src/errors/error1.rs:55:49
[INFO] [stderr]    |
[INFO] [stderr] 55 | fn read_username_from_file2() -> Result<String, io::Error> {
[INFO] [stderr]    |                                                 ^^ use of undeclared type or module `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io`
[INFO] [stderr]   --> src/errors/error1.rs:62:49
[INFO] [stderr]    |
[INFO] [stderr] 62 | fn read_username_from_file3() -> Result<String, io::Error> {
[INFO] [stderr]    |                                                 ^^ use of undeclared type or module `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io`
[INFO] [stderr]   --> src/errors/error1.rs:39:49
[INFO] [stderr]    |
[INFO] [stderr] 39 | fn read_username_from_file1() -> Result<String, io::Error> {
[INFO] [stderr]    |                                                 ^^ use of undeclared type or module `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io`
[INFO] [stderr]   --> src/errors/error1.rs:55:49
[INFO] [stderr]    |
[INFO] [stderr] 55 | fn read_username_from_file2() -> Result<String, io::Error> {
[INFO] [stderr]    |                                                 ^^ use of undeclared type or module `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io`
[INFO] [stderr]   --> src/errors/error1.rs:62:49
[INFO] [stderr]    |
[INFO] [stderr] 62 | fn read_username_from_file3() -> Result<String, io::Error> {
[INFO] [stderr]    |                                                 ^^ use of undeclared type or module `io`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `read_to_string` found for struct `std::fs::File` in the current scope
[INFO] [stderr]    --> src/errors/error1.rs:49:13
[INFO] [stderr]     |
[INFO] [stderr] 49  |     match f.read_to_string(&mut s) {
[INFO] [stderr]     |             ^^^^^^^^^^^^^^ method not found in `std::fs::File`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]             `use std::io::Read;`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `read_to_string` found for struct `std::fs::File` in the current scope
[INFO] [stderr]    --> src/errors/error1.rs:58:7
[INFO] [stderr]     |
[INFO] [stderr] 58  |     f.read_to_string(&mut s)?;
[INFO] [stderr]     |       ^^^^^^^^^^^^^^ method not found in `std::fs::File`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]             `use std::io::Read;`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `read_to_string` found for struct `std::fs::File` in the current scope
[INFO] [stderr]    --> src/errors/error1.rs:49:13
[INFO] [stderr]     |
[INFO] [stderr] 49  |     match f.read_to_string(&mut s) {
[INFO] [stderr]     |             ^^^^^^^^^^^^^^ method not found in `std::fs::File`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]             `use std::io::Read;`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `read_to_string` found for struct `std::fs::File` in the current scope
[INFO] [stderr]    --> src/errors/error1.rs:58:7
[INFO] [stderr]     |
[INFO] [stderr] 58  |     f.read_to_string(&mut s)?;
[INFO] [stderr]     |       ^^^^^^^^^^^^^^ method not found in `std::fs::File`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]             `use std::io::Read;`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `read_to_string` found for struct `std::fs::File` in the current scope
[INFO] [stderr]    --> src/errors/error1.rs:65:30
[INFO] [stderr]     |
[INFO] [stderr] 65  |     File::open("hello.txt")?.read_to_string(&mut s)?;
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^ method not found in `std::fs::File`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]             `use std::io::Read;`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 6 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0433`.
[INFO] [stderr] error[E0599]: no method named `read_to_string` found for struct `std::fs::File` in the current scope
[INFO] [stderr]    --> src/errors/error1.rs:65:30
[INFO] [stderr]     |
[INFO] [stderr] 65  |     File::open("hello.txt")?.read_to_string(&mut s)?;
[INFO] [stderr]     |                              ^^^^^^^^^^^^^^ method not found in `std::fs::File`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]             `use std::io::Read;`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 6 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0433`.
[INFO] [stderr] error: could not compile `learning`.
[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: could not compile `learning`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "3b70e8f27e2049f4a5a3a11ec6aadf7af2a914482ba60abf177244b6036a03bc"`
[INFO] running `"docker" "rm" "-f" "3b70e8f27e2049f4a5a3a11ec6aadf7af2a914482ba60abf177244b6036a03bc"`
[INFO] [stdout] 3b70e8f27e2049f4a5a3a11ec6aadf7af2a914482ba60abf177244b6036a03bc
