[INFO] cloning repository https://github.com/sagittarius-a/osh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sagittarius-a/osh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsagittarius-a%2Fosh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsagittarius-a%2Fosh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4bab4cd1ae7d5dfe4110c2ccd1cf93d2fc21808 [INFO] testing sagittarius-a/osh against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsagittarius-a%2Fosh" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sagittarius-a/osh on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sagittarius-a/osh [INFO] finished tweaking git repo https://github.com/sagittarius-a/osh [INFO] tweaked toml for git repo https://github.com/sagittarius-a/osh written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/sagittarius-a/osh already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b54ea0f98e2ebd0521d10cbd88733d109d614cd5fcc3f74abb2d71317d655198 [INFO] running `Command { std: "docker" "start" "-a" "b54ea0f98e2ebd0521d10cbd88733d109d614cd5fcc3f74abb2d71317d655198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b54ea0f98e2ebd0521d10cbd88733d109d614cd5fcc3f74abb2d71317d655198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b54ea0f98e2ebd0521d10cbd88733d109d614cd5fcc3f74abb2d71317d655198", kill_on_drop: false }` [INFO] [stdout] b54ea0f98e2ebd0521d10cbd88733d109d614cd5fcc3f74abb2d71317d655198 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f34a161b8afcda94e4190164a8d152bbef8b0677cbaecb94ff1357266cbf4a32 [INFO] running `Command { std: "docker" "start" "-a" "f34a161b8afcda94e4190164a8d152bbef8b0677cbaecb94ff1357266cbf4a32", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling shell-words v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling defer-drop v1.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling vte v0.9.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling fd-lock v2.0.0 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ordered-float v2.7.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling timer v0.2.0 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling rustyline-derive v0.5.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling tuikit v0.4.5 [INFO] [stderr] Compiling rustyline v8.2.0 [INFO] [stderr] Compiling skim v0.9.4 [INFO] [stderr] Compiling log4rs v1.0.0 [INFO] [stderr] Compiling osh v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/shell.rs:603:3 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Osh { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 603 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `struct` [INFO] [stdout] --> src/shell.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | struct BuiltinCommandResult { [INFO] [stdout] | ^^^^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::alias::Alias` [INFO] [stdout] --> src/shell.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::alias::Alias; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MyFilenameCompleter` [INFO] [stdout] --> src/shell.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::rustyline_helper::{MyFilenameCompleter, MyHelper}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::Utils` [INFO] [stdout] --> src/shell.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::Utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `wdebug`, `werror`, `winfo` [INFO] [stdout] --> src/shell.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{wdebug, werror, winfo}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `remove_var`, `self`, `set_var` [INFO] [stdout] --> src/shell.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::env::{self, remove_var, set_var}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/shell.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `stdout` [INFO] [stdout] --> src/shell.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/shell.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Child`, `Command`, `Stdio` [INFO] [stdout] --> src/shell.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use std::process::{Child, Command, Stdio}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustyline::error::ReadlineError` [INFO] [stdout] --> src/shell.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use rustyline::error::ReadlineError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustyline::Movement` [INFO] [stdout] --> src/shell.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rustyline::Movement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustyline::Word` [INFO] [stdout] --> src/shell.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rustyline::Word; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cmd`, `Config`, `KeyEvent` [INFO] [stdout] --> src/shell.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | use rustyline::{Cmd, Config, Editor, KeyEvent}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustyline::config::OutputStreamType` [INFO] [stdout] --> src/shell.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use rustyline::config::OutputStreamType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustyline::highlight::MatchingBracketHighlighter` [INFO] [stdout] --> src/shell.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use rustyline::highlight::MatchingBracketHighlighter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustyline::hint::HistoryHinter` [INFO] [stdout] --> src/shell.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use rustyline::hint::HistoryHinter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustyline::validate::MatchingBracketValidator` [INFO] [stdout] --> src/shell.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use rustyline::validate::MatchingBracketValidator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompletionType`, `EditMode` [INFO] [stdout] --> src/shell.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | use rustyline::{CompletionType, EditMode}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `console::style` [INFO] [stdout] --> src/shell.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use console::style; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Osh` in the current scope [INFO] [stdout] --> src/main.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | let mut shell = Osh::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Osh` [INFO] [stdout] | [INFO] [stdout] ::: src/shell.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Osh { [INFO] [stdout] | -------------- function or associated item `new` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stdout] candidate #2: `rustyline::tty::Term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `osh` due to 4 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f34a161b8afcda94e4190164a8d152bbef8b0677cbaecb94ff1357266cbf4a32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f34a161b8afcda94e4190164a8d152bbef8b0677cbaecb94ff1357266cbf4a32", kill_on_drop: false }` [INFO] [stdout] f34a161b8afcda94e4190164a8d152bbef8b0677cbaecb94ff1357266cbf4a32