[INFO] cloning repository https://github.com/ninjapanzer/rust_bible_word_reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ninjapanzer/rust_bible_word_reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fninjapanzer%2Frust_bible_word_reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fninjapanzer%2Frust_bible_word_reader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e2cebbd86185020390659e578d1b1d14faa906e [INFO] checking ninjapanzer/rust_bible_word_reader against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fninjapanzer%2Frust_bible_word_reader" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ninjapanzer/rust_bible_word_reader [INFO] finished tweaking git repo https://github.com/ninjapanzer/rust_bible_word_reader [INFO] tweaked toml for git repo https://github.com/ninjapanzer/rust_bible_word_reader written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ninjapanzer/rust_bible_word_reader on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ninjapanzer/rust_bible_word_reader already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e8c266127f784a9471418b0a988b9a9b0c230d45c458e272af4348fbe47f6d6 [INFO] running `Command { std: "docker" "start" "-a" "0e8c266127f784a9471418b0a988b9a9b0c230d45c458e272af4348fbe47f6d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e8c266127f784a9471418b0a988b9a9b0c230d45c458e272af4348fbe47f6d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e8c266127f784a9471418b0a988b9a9b0c230d45c458e272af4348fbe47f6d6", kill_on_drop: false }` [INFO] [stdout] 0e8c266127f784a9471418b0a988b9a9b0c230d45c458e272af4348fbe47f6d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bbcfce3abe4e4fde2217f2d7c3916625f020a7eb31497923af7c69f76957fe6 [INFO] running `Command { std: "docker" "start" "-a" "2bbcfce3abe4e4fde2217f2d7c3916625f020a7eb31497923af7c69f76957fe6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking cargo_ldoc v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::Open`, `std::io::IoResult`, `std::io::BufferedReader` [INFO] [stdout] --> src/lib.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{File, Open, Write, IoResult, BufferedReader}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `IoResult` in `io` [INFO] [stdout] | | | help: a similar name exists in the module: `Result` [INFO] [stdout] | | no `Open` in `io` [INFO] [stdout] | no `File` in `io` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::fs::File [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | let mut f = File::open(&Path::new("10.txt")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | let value:int = *(word_counts.get(word).unwrap()); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | let p = Path::new(fname); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found trait `Write` [INFO] [stdout] --> src/lib.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | let mut f = File::open_mode(&p, Open, Write); [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant instead [INFO] [stdout] | [INFO] [stdout] 1 + use std::net::Shutdown::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | count = value + 1i; [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | count = 1i [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(1i, 1i); [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(1i, 1i); [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::Open`, `std::io::IoResult`, `std::io::BufferedReader` [INFO] [stdout] --> src/lib.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{File, Open, Write, IoResult, BufferedReader}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `IoResult` in `io` [INFO] [stdout] | | | help: a similar name exists in the module: `Result` [INFO] [stdout] | | no `Open` in `io` [INFO] [stdout] | no `File` in `io` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::fs::File [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | let mut f = File::open(&Path::new("10.txt")); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | let value:int = *(word_counts.get(word).unwrap()); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | let p = Path::new(fname); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found trait `Write` [INFO] [stdout] --> src/lib.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | let mut f = File::open_mode(&p, Open, Write); [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant instead [INFO] [stdout] | [INFO] [stdout] 1 + use std::net::Shutdown::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | count = value + 1i; [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | count = 1i [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | f.write_line(a.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | f.write_line(a.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo_ldoc` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cargo_ldoc` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "2bbcfce3abe4e4fde2217f2d7c3916625f020a7eb31497923af7c69f76957fe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bbcfce3abe4e4fde2217f2d7c3916625f020a7eb31497923af7c69f76957fe6", kill_on_drop: false }` [INFO] [stdout] 2bbcfce3abe4e4fde2217f2d7c3916625f020a7eb31497923af7c69f76957fe6