[INFO] cloning repository https://github.com/nathanwhyte/latex-title-generator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nathanwhyte/latex-title-generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanwhyte%2Flatex-title-generator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanwhyte%2Flatex-title-generator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 035c16d2ffcb3899bde42e1dff72f9aab5d6609e [INFO] testing nathanwhyte/latex-title-generator against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnathanwhyte%2Flatex-title-generator" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nathanwhyte/latex-title-generator on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nathanwhyte/latex-title-generator [INFO] finished tweaking git repo https://github.com/nathanwhyte/latex-title-generator [INFO] tweaked toml for git repo https://github.com/nathanwhyte/latex-title-generator written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/nathanwhyte/latex-title-generator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30ec15ce781f6de1fc8f4cbdb7e6d67cd24e27c96ddb7215a9176b7fe61d23dc [INFO] running `Command { std: "docker" "start" "-a" "30ec15ce781f6de1fc8f4cbdb7e6d67cd24e27c96ddb7215a9176b7fe61d23dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30ec15ce781f6de1fc8f4cbdb7e6d67cd24e27c96ddb7215a9176b7fe61d23dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30ec15ce781f6de1fc8f4cbdb7e6d67cd24e27c96ddb7215a9176b7fe61d23dc", kill_on_drop: false }` [INFO] [stdout] 30ec15ce781f6de1fc8f4cbdb7e6d67cd24e27c96ddb7215a9176b7fe61d23dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bc6c10957c244f4abe1604c77cafa877ed8c9d07f1dc9b3648aa82aded12256 [INFO] running `Command { std: "docker" "start" "-a" "0bc6c10957c244f4abe1604c77cafa877ed8c9d07f1dc9b3648aa82aded12256", kill_on_drop: false }` [INFO] [stderr] Compiling latex-title-generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `File` in this scope [INFO] [stdout] --> src/files.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn create_file(given_path: String) -> File { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use crate::files::File; [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/files.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | let file_path = Path::new(&given_path); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use crate::files::Path; [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/files.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | return match File::create(&file_path) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use crate::files::File; [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `File` in this scope [INFO] [stdout] --> src/files.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn open_file(given_path: String) -> File { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use crate::files::File; [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/files.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let file_path = Path::new(&given_path); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use crate::files::Path; [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/files.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | return match File::open(&file_path) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use crate::files::File; [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `File` in this scope [INFO] [stdout] --> src/files.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn read_lines(file: File) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use crate::files::File; [INFO] [stdout] | [INFO] [stdout] 9 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BufReader` [INFO] [stdout] --> src/files.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let file_reader = BufReader::new(file); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use crate::files::BufReader; [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::BufReader; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `fs::File`, `path::Path` [INFO] [stdout] --> src/files.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | io::{BufRead, BufReader}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 4 | path::Path, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `latex-title-generator` due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0bc6c10957c244f4abe1604c77cafa877ed8c9d07f1dc9b3648aa82aded12256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bc6c10957c244f4abe1604c77cafa877ed8c9d07f1dc9b3648aa82aded12256", kill_on_drop: false }` [INFO] [stdout] 0bc6c10957c244f4abe1604c77cafa877ed8c9d07f1dc9b3648aa82aded12256