[INFO] cloning repository https://github.com/michaelradu/rust-openai [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michaelradu/rust-openai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelradu%2Frust-openai", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelradu%2Frust-openai'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5dd526bf87d0b18092bae0e3cc220fe50e46c16c [INFO] testing michaelradu/rust-openai against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelradu%2Frust-openai" "/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/michaelradu/rust-openai [INFO] finished tweaking git repo https://github.com/michaelradu/rust-openai [INFO] tweaked toml for git repo https://github.com/michaelradu/rust-openai written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/michaelradu/rust-openai on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/michaelradu/rust-openai 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.21.0 [INFO] [stderr] Downloaded parking_lot_core v0.9.2 [INFO] [stderr] Downloaded tracing-core v0.1.26 [INFO] [stderr] Downloaded tracing v0.1.34 [INFO] [stderr] Downloaded syn v1.0.91 [INFO] [stderr] Downloaded spinners v2.0.0 [INFO] [stderr] Downloaded strum_macros v0.21.1 [INFO] [stderr] Downloaded hyper v0.14.18 [INFO] [stderr] Downloaded ansi_term v0.7.5 [INFO] [stderr] Downloaded libc v0.2.123 [INFO] [stderr] Downloaded indexmap v1.8.1 [INFO] [stderr] Downloaded spinner v0.5.0 [INFO] [stderr] Downloaded tokio-macros v1.7.0 [INFO] [stderr] Downloaded httparse v1.7.0 [INFO] [stderr] Downloaded term v0.6.1 [INFO] [stderr] Downloaded windows-sys v0.34.0 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5170486ff761071cba497ed67765b8b5792f05e9663ff403ef37bbbe1ab7146 [INFO] running `Command { std: "docker" "start" "-a" "a5170486ff761071cba497ed67765b8b5792f05e9663ff403ef37bbbe1ab7146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5170486ff761071cba497ed67765b8b5792f05e9663ff403ef37bbbe1ab7146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5170486ff761071cba497ed67765b8b5792f05e9663ff403ef37bbbe1ab7146", kill_on_drop: false }` [INFO] [stdout] a5170486ff761071cba497ed67765b8b5792f05e9663ff403ef37bbbe1ab7146 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb61a2e1195093c535c82233a0749c96a8470379348209d165117e6c339de9d7 [INFO] running `Command { std: "docker" "start" "-a" "cb61a2e1195093c535c82233a0749c96a8470379348209d165117e6c339de9d7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling ansi_term v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling spinner v0.5.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling spinners v2.0.0 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling RustOpenAI v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `index`, `logprobs`, and `finish_reason` are never read [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct OAIChoices { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 11 | text: String, [INFO] [stdout] 12 | index: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | logprobs: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | finish_reason: String [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAIChoices` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `object`, `created`, and `model` are never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct OAIResponse { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 19 | id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | object: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | created: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAIResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.00s [INFO] running `Command { std: "docker" "inspect" "cb61a2e1195093c535c82233a0749c96a8470379348209d165117e6c339de9d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb61a2e1195093c535c82233a0749c96a8470379348209d165117e6c339de9d7", kill_on_drop: false }` [INFO] [stdout] cb61a2e1195093c535c82233a0749c96a8470379348209d165117e6c339de9d7 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af472690347423afc232e36084953939255d827ddcd0f8895ede2da3661d7189 [INFO] running `Command { std: "docker" "start" "-a" "af472690347423afc232e36084953939255d827ddcd0f8895ede2da3661d7189", kill_on_drop: false }` [INFO] [stderr] Compiling RustOpenAI v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `index`, `logprobs`, and `finish_reason` are never read [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct OAIChoices { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 11 | text: String, [INFO] [stdout] 12 | index: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | logprobs: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | finish_reason: String [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAIChoices` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `object`, `created`, and `model` are never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct OAIResponse { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 19 | id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | object: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | created: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAIResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "af472690347423afc232e36084953939255d827ddcd0f8895ede2da3661d7189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af472690347423afc232e36084953939255d827ddcd0f8895ede2da3661d7189", kill_on_drop: false }` [INFO] [stdout] af472690347423afc232e36084953939255d827ddcd0f8895ede2da3661d7189 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 63d5304e10c058dffc41c706f1183ec6656493d4497bfd82fc45c7532f0ff952 [INFO] running `Command { std: "docker" "start" "-a" "63d5304e10c058dffc41c706f1183ec6656493d4497bfd82fc45c7532f0ff952", kill_on_drop: false }` [INFO] [stderr] warning: fields `index`, `logprobs`, and `finish_reason` are never read [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 10 | struct OAIChoices { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 11 | text: String, [INFO] [stderr] 12 | index: u8, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 13 | logprobs: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 14 | finish_reason: String [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OAIChoices` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `object`, `created`, and `model` are never read [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 18 | struct OAIResponse { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 19 | id: Option, [INFO] [stderr] | ^^ [INFO] [stderr] 20 | object: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 21 | created: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 22 | model: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OAIResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `RustOpenAI` (bin "RustOpenAI" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/RustOpenAI-26e0c86e65a91740) [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" "63d5304e10c058dffc41c706f1183ec6656493d4497bfd82fc45c7532f0ff952", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63d5304e10c058dffc41c706f1183ec6656493d4497bfd82fc45c7532f0ff952", kill_on_drop: false }` [INFO] [stdout] 63d5304e10c058dffc41c706f1183ec6656493d4497bfd82fc45c7532f0ff952