[INFO] cloning repository https://github.com/klutzy/typo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/klutzy/typo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fklutzy%2Ftypo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fklutzy%2Ftypo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 77a347f1a3c075f4064bed8c1599016c223b8ba2
[INFO] testing klutzy/typo against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fklutzy%2Ftypo" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/klutzy/typo
[INFO] finished tweaking git repo https://github.com/klutzy/typo
[INFO] tweaked toml for git repo https://github.com/klutzy/typo written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/klutzy/typo on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/klutzy/typo 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 802aefeba3db075c560329f235ab7d6a6372422265c451efc0a3b5955b4bc6e5
[INFO] running `Command { std: "docker" "start" "-a" "802aefeba3db075c560329f235ab7d6a6372422265c451efc0a3b5955b4bc6e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "802aefeba3db075c560329f235ab7d6a6372422265c451efc0a3b5955b4bc6e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "802aefeba3db075c560329f235ab7d6a6372422265c451efc0a3b5955b4bc6e5", kill_on_drop: false }`
[INFO] [stdout] 802aefeba3db075c560329f235ab7d6a6372422265c451efc0a3b5955b4bc6e5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 89a948a4e0b28f393c31c183179bb16821e4000081b8f31ad821d9a1f796e54e
[INFO] running `Command { std: "docker" "start" "-a" "89a948a4e0b28f393c31c183179bb16821e4000081b8f31ad821d9a1f796e54e", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling typo v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected identifier, found `0us`
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         0us => {
[INFO] [stdout]    |         ^^^ expected identifier
[INFO] [stdout]    |
[INFO] [stdout] help: identifiers cannot start with a number
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         0us => {
[INFO] [stdout]    |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `arena`
[INFO] [stdout]  --> src/main.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | extern crate arena;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `syntax`
[INFO] [stdout]  --> src/main.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | extern crate syntax;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib
[INFO] [stdout]  --> src/main.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | extern crate rustc;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: the following crate versions were found:
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.dfsan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.rtsan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.safestack.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a
[INFO] [stdout]   = help: please recompile that crate using --crate-type lib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_resolve`
[INFO] [stdout]  --> src/main.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | extern crate rustc_resolve;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_typeck`
[INFO] [stdout]   --> src/main.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | extern crate rustc_typeck;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_trans`
[INFO] [stdout]   --> src/main.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | extern crate rustc_trans;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_driver`
[INFO] [stdout]   --> src/main.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | extern crate rustc_driver;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult`
[INFO] [stdout]  --> src/node_id_map.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::IoResult;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ no `IoResult` in `io`
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 1 - use std::io::IoResult;
[INFO] [stdout] 1 + use std::io::Result;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult`
[INFO] [stdout]  --> src/type_map.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::IoResult;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ no `IoResult` in `io`
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 1 - use std::io::IoResult;
[INFO] [stdout] 1 + use std::io::Result;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope
[INFO] [stdout]  --> src/node_id_map.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn write_node_id_dic<W: Writer>(w: &mut W,
[INFO] [stdout]   |                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope
[INFO] [stdout]  --> src/type_map.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn write_type_map<W: Writer>(w: &mut W,
[INFO] [stdout]   |                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `std::os`
[INFO] [stdout]   --> src/main.rs:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let args = std::os::args();
[INFO] [stdout]    |                         ^^^^ not found in `std::os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 14 + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `args`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 30 -     let args = std::os::args();
[INFO] [stdout] 30 +     let args = args();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `optmulti` in crate `getopts`
[INFO] [stdout]   --> src/main.rs:34:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |         getopts::optmulti("", "cfg", "Configure the compilation environment", "SPEC"),
[INFO] [stdout]    |                  ^^^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `optmulti` in crate `getopts`
[INFO] [stdout]   --> src/main.rs:35:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |         getopts::optmulti("L", "",   "Add a directory to the library search path", "PATH"),
[INFO] [stdout]    |                  ^^^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `optopt` in crate `getopts`
[INFO] [stdout]   --> src/main.rs:36:18
[INFO] [stdout]    |
[INFO] [stdout] 36 |         getopts::optopt("", "sysroot", "Override the system root", "PATH"),
[INFO] [stdout]    |                  ^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `optmulti` in crate `getopts`
[INFO] [stdout]   --> src/main.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 38 |         getopts::optmulti("", "node-id-map", "output path of NodeId map", "PATH"),
[INFO] [stdout]    |                  ^^^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `optmulti` in crate `getopts`
[INFO] [stdout]   --> src/main.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 |         getopts::optmulti("", "type-map", "output path of NodeId-to-Type map", "PATH"),
[INFO] [stdout]    |                  ^^^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts`
[INFO] [stdout]   --> src/main.rs:42:34
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let matches = match getopts::getopts(&args[1..], &*optgroups) {
[INFO] [stdout]    |                                  ^^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/main.rs:53:66
[INFO] [stdout]    |
[INFO] [stdout] 53 |         sopts.maybe_sysroot = matches.opt_str("sysroot").map(|m| Path::new(m));
[INFO] [stdout]    |                                                                  ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 14 + 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:75:77
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let node_id_map_path = matches.opt_str("node-id-map").and_then(|s| Some(Path::new(s)));
[INFO] [stdout]    |                                                                             ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 14 + 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:76:71
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let type_map_path = matches.opt_str("type-map").and_then(|s| Some(Path::new(s)));
[INFO] [stdout]    |                                                                       ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 14 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `File` in `io`
[INFO] [stdout]   --> src/main.rs:94:25
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut f = io::File::create(&path).unwrap();
[INFO] [stdout]    |                         ^^^^ could not find `File` in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 14 + use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `File`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 94 -         let mut f = io::File::create(&path).unwrap();
[INFO] [stdout] 94 +         let mut f = File::create(&path).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `File` in `io`
[INFO] [stdout]   --> src/main.rs:99:25
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let mut f = io::File::create(&path).unwrap();
[INFO] [stdout]    |                         ^^^^ could not find `File` in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 14 + use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `File`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 99 -         let mut f = io::File::create(&path).unwrap();
[INFO] [stdout] 99 +         let mut f = File::create(&path).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `unstable`
[INFO] [stdout]  --> src/main.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![allow(unstable)]
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/node_id_map.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         try!(w.write_line(&*line));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/type_map.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         try!(w.write_line(&*line));
[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:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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 2026-04-24; 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:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(slicing_syntax)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432, E0433, E0462, E0463, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `typo` (bin "typo") due to 25 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: expected identifier, found `0us`
[INFO] [stdout]   --> src/tags.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         0us => {
[INFO] [stdout]    |         ^^^ expected identifier
[INFO] [stdout]    |
[INFO] [stdout] help: identifiers cannot start with a number
[INFO] [stdout]   --> src/tags.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         0us => {
[INFO] [stdout]    |         ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `syntax`
[INFO] [stdout]  --> src/tags.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | extern crate syntax;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib
[INFO] [stdout]  --> src/tags.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | extern crate rustc;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: the following crate versions were found:
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.dfsan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.rtsan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.safestack.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/ec6f9a5b4413f74386267ef8efc93712c2ce6db6/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a
[INFO] [stdout]   = help: please recompile that crate using --crate-type lib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_trans`
[INFO] [stdout]  --> src/tags.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | extern crate rustc_trans;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_driver`
[INFO] [stdout]   --> src/tags.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | extern crate rustc_driver;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::io::Writer`, `std::io::IoResult`
[INFO] [stdout]   --> src/tags.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::io::{self, Writer, IoResult};
[INFO] [stdout]    |                     ^^^^^^  ^^^^^^^^ no `IoResult` in `io`
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     no `Writer` in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 12 - use std::io::{self, Writer, IoResult};
[INFO] [stdout] 12 + use std::io::{self, Write, IoResult};
[INFO] [stdout]    |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 12 - use std::io::{self, Writer, IoResult};
[INFO] [stdout] 12 + use std::io::{self, Writer, Result};
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `std::os`
[INFO] [stdout]   --> src/tags.rs:22:25
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let args = std::os::args();
[INFO] [stdout]    |                         ^^^^ not found in `std::os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `args`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 22 -     let args = std::os::args();
[INFO] [stdout] 22 +     let args = args();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `optmulti` in crate `getopts`
[INFO] [stdout]   --> src/tags.rs:26:18
[INFO] [stdout]    |
[INFO] [stdout] 26 |         getopts::optmulti("", "cfg", "Configure the compilation environment", "SPEC"),
[INFO] [stdout]    |                  ^^^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `optmulti` in crate `getopts`
[INFO] [stdout]   --> src/tags.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 |         getopts::optmulti("L", "",   "Add a directory to the library search path", "PATH"),
[INFO] [stdout]    |                  ^^^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `optopt` in crate `getopts`
[INFO] [stdout]   --> src/tags.rs:28:18
[INFO] [stdout]    |
[INFO] [stdout] 28 |         getopts::optopt("", "sysroot", "Override the system root", "PATH"),
[INFO] [stdout]    |                  ^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `optmulti` in crate `getopts`
[INFO] [stdout]   --> src/tags.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |         getopts::optmulti("", "tags", "output path of ctags", "PATH"),
[INFO] [stdout]    |                  ^^^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `optflag` in crate `getopts`
[INFO] [stdout]   --> src/tags.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |         getopts::optflag("", "tags-append", "append to existing tags"),
[INFO] [stdout]    |                  ^^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getopts` in crate `getopts`
[INFO] [stdout]   --> src/tags.rs:35:34
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let matches = match getopts::getopts(&args[1..], &*optgroups) {
[INFO] [stdout]    |                                  ^^^^^^^ not found in `getopts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/tags.rs:46:66
[INFO] [stdout]    |
[INFO] [stdout] 46 |         sopts.maybe_sysroot = matches.opt_str("sysroot").map(|m| Path::new(m));
[INFO] [stdout]    |                                                                  ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/tags.rs:69:20
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let tag_path = Path::new(tag_path);
[INFO] [stdout]    |                    ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `File` in `io`
[INFO] [stdout]   --> src/tags.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |         io::File::open_mode(&tag_path, io::Append, io::Write).unwrap()
[INFO] [stdout]    |             ^^^^ could not find `File` in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `File`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 79 -         io::File::open_mode(&tag_path, io::Append, io::Write).unwrap()
[INFO] [stdout] 79 +         File::open_mode(&tag_path, io::Append, io::Write).unwrap()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Append` in module `io`
[INFO] [stdout]   --> src/tags.rs:79:44
[INFO] [stdout]    |
[INFO] [stdout] 79 |         io::File::open_mode(&tag_path, io::Append, io::Write).unwrap()
[INFO] [stdout]    |                                            ^^^^^^ not found in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found trait `io::Write`
[INFO] [stdout]   --> src/tags.rs:79:52
[INFO] [stdout]    |
[INFO] [stdout] 79 |         io::File::open_mode(&tag_path, io::Append, io::Write).unwrap()
[INFO] [stdout]    |                                                    ^^^^^^^^^ not a value
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant instead
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::net::Shutdown::Write;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Write`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 79 -         io::File::open_mode(&tag_path, io::Append, io::Write).unwrap()
[INFO] [stdout] 79 +         io::File::open_mode(&tag_path, io::Append, Write).unwrap()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `File` in `io`
[INFO] [stdout]   --> src/tags.rs:81:25
[INFO] [stdout]    |
[INFO] [stdout] 81 |         let mut f = io::File::create(&tag_path).unwrap();
[INFO] [stdout]    |                         ^^^^ could not find `File` in `io`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::fs::File;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `File`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 81 -         let mut f = io::File::create(&tag_path).unwrap();
[INFO] [stdout] 81 +         let mut f = File::create(&tag_path).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `unstable`
[INFO] [stdout]  --> src/tags.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![allow(unstable)]
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/tags.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |         try!(writer.write_line(&*line));
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/tags.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |         try!(writer.write_str(id.as_str()));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/tags.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 125 |         try!(writer.write_u8(b'\t'));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/tags.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |         try!(writer.write_str(filename));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/tags.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         try!(writer.write_u8(b'\t'));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/tags.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |         try!(writer.write(b"/^"));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/tags.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |         try!(writer.write(b"$/"));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/tags.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         try!(writer.write_u8(b'\n'));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/tags.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |             try!(writer.write_char(c));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/tags.rs:132:17
[INFO] [stdout]     |
[INFO] [stdout] 132 |                 try!(writer.write_u8(b'\\'));
[INFO] [stdout]     |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/tags.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |         try!(write_line(writer, cm, id, sp));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/tags.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |         try!(write_line(writer, cm, id, sp));
[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/tags.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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 2026-04-24; 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/tags.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(slicing_syntax)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0432, E0433, E0462, E0463, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0423`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `typo` (bin "typo-tags") due to 20 previous errors; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "89a948a4e0b28f393c31c183179bb16821e4000081b8f31ad821d9a1f796e54e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89a948a4e0b28f393c31c183179bb16821e4000081b8f31ad821d9a1f796e54e", kill_on_drop: false }`
[INFO] [stdout] 89a948a4e0b28f393c31c183179bb16821e4000081b8f31ad821d9a1f796e54e
