[INFO] cloning repository https://github.com/sigoden/aichat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sigoden/aichat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsigoden%2Faichat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsigoden%2Faichat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbf3672a5f95c6348600029caf1f48a52813fb62 [INFO] testing sigoden/aichat against beta-2023-10-04 for beta-1.74-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsigoden%2Faichat" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sigoden/aichat on toolchain beta-2023-10-04 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sigoden/aichat [INFO] finished tweaking git repo https://github.com/sigoden/aichat [INFO] tweaked toml for git repo https://github.com/sigoden/aichat written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sigoden/aichat 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" "+beta-2023-10-04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e56a8957ee94977c2e185870baeae2553b355960ecb0bc2bc7b5dd8faebf5f1 [INFO] running `Command { std: "docker" "start" "-a" "0e56a8957ee94977c2e185870baeae2553b355960ecb0bc2bc7b5dd8faebf5f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e56a8957ee94977c2e185870baeae2553b355960ecb0bc2bc7b5dd8faebf5f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e56a8957ee94977c2e185870baeae2553b355960ecb0bc2bc7b5dd8faebf5f1", kill_on_drop: false }` [INFO] [stdout] 0e56a8957ee94977c2e185870baeae2553b355960ecb0bc2bc7b5dd8faebf5f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a042f0840addc3f068c966ef61b7fea36561dcf22fc21b1db354884a89f8d8e [INFO] running `Command { std: "docker" "start" "-a" "6a042f0840addc3f068c966ef61b7fea36561dcf22fc21b1db354884a89f8d8e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling serde_derive v1.0.160 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling rustix v0.37.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling linux-raw-sys v0.3.4 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling tokio v1.28.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling tracing v0.1.38 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling anstyle-parse v0.2.0 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling anstyle v1.0.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling vte v0.10.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling aho-corasick v1.0.1 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.70 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling clap_lex v0.4.1 [INFO] [stderr] Compiling iana-time-zone v0.1.56 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling nix v0.26.2 [INFO] [stderr] Compiling chrono v0.4.24 [INFO] [stderr] Compiling strip-ansi-escapes v0.1.1 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling rustls-native-certs v0.6.2 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling newline-converter v0.2.2 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling anstream v0.3.1 [INFO] [stderr] Compiling fd-lock v3.0.12 [INFO] [stderr] Compiling clap_builder v4.2.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling ipnet v2.7.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling nu-ansi-term v0.47.0 [INFO] [stderr] Compiling dyn-clone v1.0.11 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling ctrlc v3.2.5 [INFO] [stderr] Compiling bstr v1.4.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling x11rb-protocol v0.10.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling inquire v0.5.3 [INFO] [stderr] Compiling clap v4.2.4 [INFO] [stderr] Compiling x11rb v0.10.1 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tokio-socks v0.5.1 [INFO] [stderr] Compiling arboard v3.2.0 [INFO] [stderr] Compiling h2 v0.3.18 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling crossterm v0.26.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.21 [INFO] [stderr] Compiling syntect v5.0.0 [INFO] [stderr] Compiling reedline v0.19.0 (https://github.com/nushell/reedline.git?branch=main#97f75442) [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling reqwest v0.11.16 [INFO] [stderr] Compiling aichat v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.44s [INFO] running `Command { std: "docker" "inspect" "6a042f0840addc3f068c966ef61b7fea36561dcf22fc21b1db354884a89f8d8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a042f0840addc3f068c966ef61b7fea36561dcf22fc21b1db354884a89f8d8e", kill_on_drop: false }` [INFO] [stdout] 6a042f0840addc3f068c966ef61b7fea36561dcf22fc21b1db354884a89f8d8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c981741f654aad2c6d9a71835c6795138f568d7fe37003ae3446eae626602867 [INFO] running `Command { std: "docker" "start" "-a" "c981741f654aad2c6d9a71835c6795138f568d7fe37003ae3446eae626602867", kill_on_drop: false }` [INFO] [stderr] Compiling aichat v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.83s [INFO] running `Command { std: "docker" "inspect" "c981741f654aad2c6d9a71835c6795138f568d7fe37003ae3446eae626602867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c981741f654aad2c6d9a71835c6795138f568d7fe37003ae3446eae626602867", kill_on_drop: false }` [INFO] [stdout] c981741f654aad2c6d9a71835c6795138f568d7fe37003ae3446eae626602867 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2a9d9746e73a92bb8567e32571eb5094176b8fa742fcf0d8a5fde432598ca6a5 [INFO] running `Command { std: "docker" "start" "-a" "2a9d9746e73a92bb8567e32571eb5094176b8fa742fcf0d8a5fde432598ca6a5", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/aichat-67ba4fc32095bec5) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test config::message::tests::test_serde ... ok [INFO] [stdout] test config::role::tests::test_merge_prompt_name ... ok [INFO] [stdout] test repl::tests::test_process_command_line ... ok [INFO] [stdout] test repl::validator::tests::test_incomplete_brackets ... ok [INFO] [stdout] test render::cmd::tests::test_split_line ... ok [INFO] [stdout] test utils::tests::test_mask_text ... ok [INFO] [stdout] test utils::tiktoken::tests::very_simple_test ... ok [INFO] [stdout] test render::markdown::tests::test_render ... ok [INFO] [stdout] test render::markdown::tests::test_assets ... ok [INFO] [stdout] test utils::tiktoken::tests::cl100k_base_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2a9d9746e73a92bb8567e32571eb5094176b8fa742fcf0d8a5fde432598ca6a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a9d9746e73a92bb8567e32571eb5094176b8fa742fcf0d8a5fde432598ca6a5", kill_on_drop: false }` [INFO] [stdout] 2a9d9746e73a92bb8567e32571eb5094176b8fa742fcf0d8a5fde432598ca6a5