[INFO] fetching crate cogni 0.2.1... [INFO] testing cogni-0.2.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cogni 0.2.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate cogni 0.2.1 [INFO] finished tweaking crates.io crate cogni 0.2.1 [INFO] tweaked toml for crates.io crate cogni 0.2.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cogni 0.2.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cogni 0.2.1 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37d04baa63668c33885db8a1ed596ec629e44f8256d0945d34d9ac263d21bb0a [INFO] running `Command { std: "docker" "start" "-a" "37d04baa63668c33885db8a1ed596ec629e44f8256d0945d34d9ac263d21bb0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37d04baa63668c33885db8a1ed596ec629e44f8256d0945d34d9ac263d21bb0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37d04baa63668c33885db8a1ed596ec629e44f8256d0945d34d9ac263d21bb0a", kill_on_drop: false }` [INFO] [stdout] 37d04baa63668c33885db8a1ed596ec629e44f8256d0945d34d9ac263d21bb0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34f2f6be1d5575770a372f03f483568cf9000952505be3bf30346beb78a6d9a2 [INFO] running `Command { std: "docker" "start" "-a" "34f2f6be1d5575770a372f03f483568cf9000952505be3bf30346beb78a6d9a2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling openssl v0.10.60 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling clap_builder v4.4.9 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.96 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling clap v4.4.10 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling cogni v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.87s [INFO] running `Command { std: "docker" "inspect" "34f2f6be1d5575770a372f03f483568cf9000952505be3bf30346beb78a6d9a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34f2f6be1d5575770a372f03f483568cf9000952505be3bf30346beb78a6d9a2", kill_on_drop: false }` [INFO] [stdout] 34f2f6be1d5575770a372f03f483568cf9000952505be3bf30346beb78a6d9a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 000094b67ccf3c4fc77d339ffb27937239e256890be46443f7ce203924db2e54 [INFO] running `Command { std: "docker" "start" "-a" "000094b67ccf3c4fc77d339ffb27937239e256890be46443f7ce203924db2e54", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling similar v2.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling colored v2.0.4 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling bstr v1.8.0 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling predicates v3.0.4 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling ignore v0.4.21 [INFO] [stderr] Compiling assert_cmd v2.0.12 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling assert_fs v1.0.13 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling mockito v1.2.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling cogni v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 31.35s [INFO] running `Command { std: "docker" "inspect" "000094b67ccf3c4fc77d339ffb27937239e256890be46443f7ce203924db2e54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "000094b67ccf3c4fc77d339ffb27937239e256890be46443f7ce203924db2e54", kill_on_drop: false }` [INFO] [stdout] 000094b67ccf3c4fc77d339ffb27937239e256890be46443f7ce203924db2e54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e696f0f3870dcf24bcf191dccefd52868e2a8970ff3bb84d835616c01a6d50a8 [INFO] running `Command { std: "docker" "start" "-a" "e696f0f3870dcf24bcf191dccefd52868e2a8970ff3bb84d835616c01a6d50a8", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cogni-72879991452da520) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test cli::test::chat_file_positional ... ok [INFO] [stdout] test cli::test::chat_output_format_default ... ok [INFO] [stdout] test cli::test::chat_many_msgs ... ok [INFO] [stdout] test cli::test::chat_output_format_shorthand_jsonp ... ok [INFO] [stdout] test cli::test::chat_many_msgs_with_system_prompt ... ok [INFO] [stdout] test cli::test::chat_output_format_explicit_json ... ok [INFO] [stdout] test exec::chat::test::show_chat_response_json_pretty ... ok [INFO] [stdout] test cli::test::chat_many_msgs_with_system_prompt_last ... ok [INFO] [stdout] test exec::chat::test::show_chat_response_plaintext ... ok [INFO] [stdout] test cli::test::chat_output_format_shorthand_json ... ok [INFO] [stdout] test exec::chat::test::show_chat_response_json ... ok [INFO] [stdout] test openai::test::parse_chat_completion_response ... ok [INFO] [stdout] test parse::test::parse_empty_input ... ok [INFO] [stdout] test cli::test::chat_file_default ... ok [INFO] [stdout] test openai::test::parse_chat_completion_error ... ok [INFO] [stdout] test parse::test::parse_short_message ... ok [INFO] [stdout] test parse::test::parse_long_message_from_file ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cogni-91c01873bd44f261) [INFO] [stdout] test cli::test::chat_one_msgs ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/chat.rs (/opt/rustwide/target/debug/deps/chat-b237dc3952d1b47f) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test chat_user_message_from_file ... ok [INFO] [stdout] test chat_user_message_from_stdin ... ok [INFO] [stdout] test chat_user_message_from_flag ... ok [INFO] [stdout] test chat_api_error ... ok [INFO] [stdout] test chat_multiple_messages ... ok [INFO] [stdout] test chat_no_file ... ok [INFO] [stderr] Doc-tests cogni [INFO] [stdout] test chat_no_message ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e696f0f3870dcf24bcf191dccefd52868e2a8970ff3bb84d835616c01a6d50a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e696f0f3870dcf24bcf191dccefd52868e2a8970ff3bb84d835616c01a6d50a8", kill_on_drop: false }` [INFO] [stdout] e696f0f3870dcf24bcf191dccefd52868e2a8970ff3bb84d835616c01a6d50a8