[INFO] cloning repository https://github.com/fengjutian/catshell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fengjutian/catshell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffengjutian%2Fcatshell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffengjutian%2Fcatshell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7f292c14efb411c4dbe84f4f9700354fb59d57e [INFO] testing fengjutian/catshell/c7f292c14efb411c4dbe84f4f9700354fb59d57e against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffengjutian%2Fcatshell" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fengjutian/catshell [INFO] finished tweaking git repo https://github.com/fengjutian/catshell [INFO] tweaked toml for git repo https://github.com/fengjutian/catshell written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fengjutian/catshell on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fengjutian/catshell 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_builder v4.5.21 [INFO] [stderr] Downloaded clap_lex v0.7.3 [INFO] [stderr] Downloaded clap v4.5.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f07d540b8d8c55c43caf0578a6746b93ae6e47cf2358c10223544d14915e1261 [INFO] running `Command { std: "docker" "start" "-a" "f07d540b8d8c55c43caf0578a6746b93ae6e47cf2358c10223544d14915e1261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f07d540b8d8c55c43caf0578a6746b93ae6e47cf2358c10223544d14915e1261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f07d540b8d8c55c43caf0578a6746b93ae6e47cf2358c10223544d14915e1261", kill_on_drop: false }` [INFO] [stdout] f07d540b8d8c55c43caf0578a6746b93ae6e47cf2358c10223544d14915e1261 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4ff531134929b8c98c18b9354726459db32b3a8398fef5517b9b562978ed39f6 [INFO] running `Command { std: "docker" "start" "-a" "4ff531134929b8c98c18b9354726459db32b3a8398fef5517b9b562978ed39f6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling catshell v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `start_tui` is defined multiple times [INFO] [stdout] --> src/tui.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn start_tui() -> Result<(), anyhow::Error> { [INFO] [stdout] | ----------------------------------------------- previous definition of the value `start_tui` here [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn start_tui() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `start_tui` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `start_tui` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Cd` is defined multiple times [INFO] [stdout] --> src/main.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 74 | Cd { [INFO] [stdout] | -- previous definition of the type `Cd` here [INFO] [stdout] ... [INFO] [stdout] 216 | Cd { [INFO] [stdout] | ^^ `Cd` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Cd` must be defined only once in the type namespace of this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> src/zip.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use zip::write::FileOptions; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zip` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `zip` [INFO] [stdout] --> src/zip.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use zip::{ZipArchive, ZipWriter}; [INFO] [stdout] | ^^^ help: a similar path exists: `crate::zip` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crossterm` [INFO] [stdout] --> src/tui.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crossterm::{event::{self, DisableMouseCapture, EnableMouseCapture, Event, KeyCode}, [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `crossterm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crossterm`, use `cargo add crossterm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tui` [INFO] [stdout] --> src/tui.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tui::{backend::{Backend, CrosstermBackend}, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `tui` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tui`, use `cargo add tui` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crossterm` [INFO] [stdout] --> src/tui.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crossterm::{event::{self, DisableMouseCapture, EnableMouseCapture, Event, KeyCode}, [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `crossterm` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crossterm`, use `cargo add crossterm` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tui` [INFO] [stdout] --> src/tui.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tui::{backend::{Backend, CrosstermBackend}, [INFO] [stdout] | ^^^ help: a similar path exists: `crate::tui` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> src/zip.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | .compression_method(zip::CompressionMethod::Deflated) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zip` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> src/zip.rs:119:97 [INFO] [stdout] | [INFO] [stdout] 119 | fn add_file_to_zip(zip: &mut ZipWriter, path: &Path, name: &str, options: FileOptions) -> zip::result::ZipResult<()> { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zip` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zip` [INFO] [stdout] --> src/zip.rs:127:104 [INFO] [stdout] | [INFO] [stdout] 127 | fn add_directory_to_zip(zip: &mut ZipWriter, path: &Path, prefix: &str, options: FileOptions) -> zip::result::ZipResult<()> { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `zip` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zip`, use `cargo add zip` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tui` [INFO] [stdout] --> src/tui.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | .wrap(tui::widgets::Wrap { trim: true }); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `tui` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tui`, use `cargo add tui` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/zip.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cat`, `cd`, `cmatrix`, `curl`, `ls`, `mkdir`, `open_browser`, `open`, `ping`, `rm`, `server`, `vim`, and `zip` [INFO] [stdout] --> src/tui.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{ls, pwd, cd, mkdir, rm, cat, curl, cmatrix, vim, open_browser, open, server, ping, zip}; [INFO] [stdout] | ^^ ^^ ^^^^^ ^^ ^^^ ^^^^ ^^^^^^^ ^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^ ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Tui` found for enum `Commands` in the current scope [INFO] [stdout] --> src/main.rs:335:19 [INFO] [stdout] | [INFO] [stdout] 30 | enum Commands { [INFO] [stdout] | ------------- variant or associated item `Tui` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 335 | Commands::Tui => { [INFO] [stdout] | ^^^ variant or associated item not found in `Commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `&Commands::Cd { .. }` not covered [INFO] [stdout] --> src/main.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Subcommand, Debug)] [INFO] [stdout] | ^^^^^ pattern `&Commands::Cd { .. }` not covered [INFO] [stdout] | [INFO] [stdout] note: `Commands` defined here [INFO] [stdout] --> src/main.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | enum Commands { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | Cd { [INFO] [stdout] | -- not covered [INFO] [stdout] = note: the matched value is of type `&Commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] --> src/tui.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn start_tui() -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0428, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `catshell` (bin "catshell") due to 15 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4ff531134929b8c98c18b9354726459db32b3a8398fef5517b9b562978ed39f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ff531134929b8c98c18b9354726459db32b3a8398fef5517b9b562978ed39f6", kill_on_drop: false }` [INFO] [stdout] 4ff531134929b8c98c18b9354726459db32b3a8398fef5517b9b562978ed39f6