[INFO] fetching crate highlightrs 0.0.1...
[INFO] testing highlightrs-0.0.1 against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate highlightrs 0.0.1 into /workspace/builds/worker-1-tc2/source
[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-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate highlightrs 0.0.1 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `highlightrs` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b107ff1f12d4b42e8f924ba73f34e3ec577225c93b61894af1a91afdfd226500
[INFO] running `Command { std: "docker" "start" "b107ff1f12d4b42e8f924ba73f34e3ec577225c93b61894af1a91afdfd226500", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b107ff1f12d4b42e8f924ba73f34e3ec577225c93b61894af1a91afdfd226500", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b107ff1f12d4b42e8f924ba73f34e3ec577225c93b61894af1a91afdfd226500" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b107ff1f12d4b42e8f924ba73f34e3ec577225c93b61894af1a91afdfd226500", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b107ff1f12d4b42e8f924ba73f34e3ec577225c93b61894af1a91afdfd226500" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `highlightrs` (manifest) generated 1 warning
[INFO] [stderr]    Compiling 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: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[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[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]: cannot find type `Path` in this scope
[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]: cannot find type `Path` in this scope
[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[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(slicing_syntax)] 
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute
[INFO] [stdout]   |
[INFO] [stdout]   = help: the feature `slicing_syntax` has been stable since `1.0.0` and no longer requires an attribute to enable
[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] 
[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] warning: method call on a diverging inference variable
[INFO] [stdout]   --> src/main.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 26 |     if matches.opt_present("h") {
[INFO] [stdout]    |                ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]    = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `opt_present` found for type `_` in the current scope
[INFO] [stdout]   --> src/main.rs:26:16
[INFO] [stdout]    |
[INFO] [stdout] 26 |     if matches.opt_present("h") {
[INFO] [stdout]    |                ^^^^^^^^^^^ method not found in `_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `opt_str` found for type `!` in the current scope
[INFO] [stdout]   --> src/main.rs:31:32
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let input =  match matches.opt_str("i"){
[INFO] [stdout]    |                                ^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:31:40
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let input =  match matches.opt_str("i"){
[INFO] [stdout]    |                        -------         ^^^ unreachable expression
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        any code following this expression is unreachable
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `free` on type `!`
[INFO] [stdout]   --> src/main.rs:39:24
[INFO] [stdout]    |
[INFO] [stdout] 39 |             if matches.free.len() == 0 {
[INFO] [stdout]    |                        ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `free` on type `!`
[INFO] [stdout]   --> src/main.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 matches.free[0].to_string()
[INFO] [stdout]    |                         ^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `opt_str` found for type `!` in the current scope
[INFO] [stdout]   --> src/main.rs:49:19
[INFO] [stdout]    |
[INFO] [stdout] 49 |     match matches.opt_str("o"){
[INFO] [stdout]    |                   ^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:49:27
[INFO] [stdout]    |
[INFO] [stdout] 49 |     match matches.opt_str("o"){
[INFO] [stdout]    |           -------         ^^^ unreachable expression
[INFO] [stdout]    |           |
[INFO] [stdout]    |           any code following this expression is unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0463, E0554, E0599, E0609, 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 16 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b107ff1f12d4b42e8f924ba73f34e3ec577225c93b61894af1a91afdfd226500", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b107ff1f12d4b42e8f924ba73f34e3ec577225c93b61894af1a91afdfd226500", kill_on_drop: false }`
[INFO] [stdout] b107ff1f12d4b42e8f924ba73f34e3ec577225c93b61894af1a91afdfd226500
