[INFO] updating cached repository https://github.com/Nandem/Rust_learning [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] testing Nandem/Rust_learning against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FNandem%2FRust_learning" "work/builds/worker-3/source"` [INFO] [stderr] Cloning into 'work/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nandem/Rust_learning on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "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 work/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Nandem/Rust_learning already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 017acf8339aed6e879514b5d95eb82b2713881bc5303e31132cf10ce18cbc920 [INFO] running `"docker" "start" "-a" "017acf8339aed6e879514b5d95eb82b2713881bc5303e31132cf10ce18cbc920"` [INFO] [stderr] Compiling 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 { [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 { [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 { [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_to_string` found for type `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] | ^^^^^^^^^^^^^^ [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 type `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] | ^^^^^^^^^^^^^^ [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 type `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] | ^^^^^^^^^^^^^^ [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] running `"docker" "inspect" "017acf8339aed6e879514b5d95eb82b2713881bc5303e31132cf10ce18cbc920"` [INFO] running `"docker" "rm" "-f" "017acf8339aed6e879514b5d95eb82b2713881bc5303e31132cf10ce18cbc920"` [INFO] [stdout] 017acf8339aed6e879514b5d95eb82b2713881bc5303e31132cf10ce18cbc920