[INFO] fetching crate highlightrs 0.0.1...
[INFO] checking highlightrs-0.0.1 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate highlightrs 0.0.1 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate highlightrs 0.0.1 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate highlightrs 0.0.1
[INFO] finished tweaking crates.io crate highlightrs 0.0.1
[INFO] tweaked toml for crates.io crate highlightrs 0.0.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6a73a3fae9d31c798ac96255bf7314cd456c84c2b7b3c8b5cff5db181155d66b
[INFO] running `Command { std: "docker" "start" "-a" "6a73a3fae9d31c798ac96255bf7314cd456c84c2b7b3c8b5cff5db181155d66b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6a73a3fae9d31c798ac96255bf7314cd456c84c2b7b3c8b5cff5db181155d66b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a73a3fae9d31c798ac96255bf7314cd456c84c2b7b3c8b5cff5db181155d66b", kill_on_drop: false }`
[INFO] [stdout] 6a73a3fae9d31c798ac96255bf7314cd456c84c2b7b3c8b5cff5db181155d66b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b406d454a1661d9d0d5724e15b9dd1b2c535ef16ec6a8bba87f9b0b2fd1f7cb7
[INFO] running `Command { std: "docker" "start" "-a" "b406d454a1661d9d0d5724e15b9dd1b2c535ef16ec6a8bba87f9b0b2fd1f7cb7", kill_on_drop: false }`
[INFO] [stderr]     Checking highlightrs v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/main.rs:47:32
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let html = highlight(input[], None, None);
[INFO] [stdout]    |                                ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/main.rs:47:32
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let html = highlight(input[], None, None);
[INFO] [stdout]    |                                ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/main.rs:52:43
[INFO] [stdout]    |
[INFO] [stdout] 52 |             match out_file.write_str(html[]) {
[INFO] [stdout]    |             -----                         ^ expected expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             while parsing this `match` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `]`
[INFO] [stdout]   --> src/main.rs:52:43
[INFO] [stdout]    |
[INFO] [stdout] 52 |             match out_file.write_str(html[]) {
[INFO] [stdout]    |             -----                         ^ expected expression
[INFO] [stdout]    |             |
[INFO] [stdout]    |             while parsing this `match` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustdoc`
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate rustdoc;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustdoc`
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate rustdoc;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `getopts::optopt`, `getopts::optflag`, `getopts::getopts`, `getopts::usage`
[INFO] [stdout]  --> src/main.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use getopts::{optopt, optflag, getopts, usage};
[INFO] [stdout]   |               ^^^^^^  ^^^^^^^  ^^^^^^^  ^^^^^ no `usage` in the root
[INFO] [stdout]   |               |       |        |
[INFO] [stdout]   |               |       |        no `getopts` in the root
[INFO] [stdout]   |               |       no `optflag` in the root
[INFO] [stdout]   |               no `optopt` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::fs`
[INFO] [stdout]  --> src/main.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::fs::File;
[INFO] [stdout]   |              ^^ could not find `fs` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `getopts::optopt`, `getopts::optflag`, `getopts::getopts`, `getopts::usage`
[INFO] [stdout]  --> src/main.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use getopts::{optopt, optflag, getopts, usage};
[INFO] [stdout]   |               ^^^^^^  ^^^^^^^  ^^^^^^^  ^^^^^ no `usage` in the root
[INFO] [stdout]   |               |       |        |
[INFO] [stdout]   |               |       |        no `getopts` in the root
[INFO] [stdout]   |               |       no `optflag` in the root
[INFO] [stdout]   |               no `optopt` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::fs`
[INFO] [stdout]  --> src/main.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::fs::File;
[INFO] [stdout]   |              ^^ could not find `fs` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::io::FileMode`, `std::io::FileAccess`
[INFO] [stdout]  --> src/main.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::io::{FileMode, FileAccess};
[INFO] [stdout]   |               ^^^^^^^^  ^^^^^^^^^^ no `FileAccess` in `io`
[INFO] [stdout]   |               |
[INFO] [stdout]   |               no `FileMode` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::io::FileMode`, `std::io::FileAccess`
[INFO] [stdout]  --> src/main.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::io::{FileMode, FileAccess};
[INFO] [stdout]   |               ^^^^^^^^  ^^^^^^^^^^ no `FileAccess` in `io`
[INFO] [stdout]   |               |
[INFO] [stdout]   |               no `FileMode` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `os`
[INFO] [stdout]   --> src/main.rs:13:33
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let args: Vec<String> = os::args();
[INFO] [stdout]    |                                 ^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 6  + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `args`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 13 -     let args: Vec<String> = os::args();
[INFO] [stdout] 13 +     let args: Vec<String> = args();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/main.rs:33:31
[INFO] [stdout]    |
[INFO] [stdout] 33 |             match File::open(&Path::new(file)).read_to_string() {
[INFO] [stdout]    |                               ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 6  + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/main.rs:51:49
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let mut out_file = File::open_mode(&Path::new(file), FileMode::Open, FileAccess::Write);
[INFO] [stdout]    |                                                 ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 6  + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `os`
[INFO] [stdout]   --> src/main.rs:13:33
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let args: Vec<String> = os::args();
[INFO] [stdout]    |                                 ^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 6  + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `args`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 13 -     let args: Vec<String> = os::args();
[INFO] [stdout] 13 +     let args: Vec<String> = args();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/main.rs:33:31
[INFO] [stdout]    |
[INFO] [stdout] 33 |             match File::open(&Path::new(file)).read_to_string() {
[INFO] [stdout]    |                               ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 6  + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 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] [stdout]  --> src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate getopts;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/main.rs:51:49
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let mut out_file = File::open_mode(&Path::new(file), FileMode::Open, FileAccess::Write);
[INFO] [stdout]    |                                                 ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 6  + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `slicing_syntax` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(slicing_syntax)] 
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 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] [stdout]  --> src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate getopts;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2024-03-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `slicing_syntax` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(slicing_syntax)] 
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0463, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0463, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `highlightrs` (bin "highlightrs") due to 11 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `highlightrs` (bin "highlightrs" test) due to 11 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "b406d454a1661d9d0d5724e15b9dd1b2c535ef16ec6a8bba87f9b0b2fd1f7cb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b406d454a1661d9d0d5724e15b9dd1b2c535ef16ec6a8bba87f9b0b2fd1f7cb7", kill_on_drop: false }`
[INFO] [stdout] b406d454a1661d9d0d5724e15b9dd1b2c535ef16ec6a8bba87f9b0b2fd1f7cb7
