[INFO] fetching crate ollama-rs 0.1.2...
[INFO] checking ollama-rs-0.1.2 against nightly-2024-02-05 for check-cfg
[INFO] extracting crate ollama-rs 0.1.2 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate ollama-rs 0.1.2 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ollama-rs 0.1.2
[INFO] finished tweaking crates.io crate ollama-rs 0.1.2
[INFO] tweaked toml for crates.io crate ollama-rs 0.1.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate crates.io crate ollama-rs 0.1.2 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5a41b40419b986f024bd4ac317743bb4358dd1b71b98aa1b87eb8f637dc46034
[INFO] running `Command { std: "docker" "start" "-a" "5a41b40419b986f024bd4ac317743bb4358dd1b71b98aa1b87eb8f637dc46034", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a41b40419b986f024bd4ac317743bb4358dd1b71b98aa1b87eb8f637dc46034", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a41b40419b986f024bd4ac317743bb4358dd1b71b98aa1b87eb8f637dc46034", kill_on_drop: false }`
[INFO] [stdout] 5a41b40419b986f024bd4ac317743bb4358dd1b71b98aa1b87eb8f637dc46034
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7bc9cd8beab0e1a63995a67072c6f841c6d7b52b3aab9f94387e9357488a432b
[INFO] running `Command { std: "docker" "start" "-a" "7bc9cd8beab0e1a63995a67072c6f841c6d7b52b3aab9f94387e9357488a432b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]    Compiling futures-core v0.3.29
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking smallvec v1.11.1
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]    Compiling futures-task v0.3.29
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling openssl v0.10.58
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling futures-channel v0.3.29
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]     Checking futures-sink v0.3.29
[INFO] [stderr]    Compiling serde v1.0.190
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking percent-encoding v2.3.0
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking form_urlencoded v1.2.0
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking base64 v0.21.5
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking mio v0.8.9
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]    Compiling openssl-sys v0.9.94
[INFO] [stderr]     Checking url v2.4.1
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.190
[INFO] [stderr]     Checking tokio v1.33.0
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.3.21
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.22
[INFO] [stderr]     Checking ollama-rs v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `tokio_stream`
[INFO] [stdout]  --> tests/push_model.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio_stream::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `tokio_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio_stream`
[INFO] [stdout]  --> tests/create_model.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio_stream::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `tokio_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio_stream`
[INFO] [stdout]  --> tests/pull_model.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio_stream::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `tokio_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ollama_rs::generation::completion::GenerationResponseStream`
[INFO] [stdout]   --> tests/generation.rs:6:9
[INFO] [stdout]    |
[INFO] [stdout] 6  |         GenerationResponseStream,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         no `GenerationResponseStream` in `generation::completion`
[INFO] [stdout]    |         help: a similar name exists in the module: `GenerationResponse`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /opt/rustwide/workdir/src/generation/completion/mod.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub type GenerationResponseStream =
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the item is gated behind the `stream` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio_stream`
[INFO] [stdout]   --> tests/generation.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio_stream::StreamExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^ use of undeclared crate or module `tokio_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ollama_rs::generation::completion::GenerationResponseStream`
[INFO] [stdout]   --> examples/chatbot.rs:3:56
[INFO] [stdout]    |
[INFO] [stdout] 3  |         request::GenerationRequest, GenerationContext, GenerationResponseStream,
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        no `GenerationResponseStream` in `generation::completion`
[INFO] [stdout]    |                                                        help: a similar name exists in the module: `GenerationResponse`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /opt/rustwide/workdir/src/generation/completion/mod.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub type GenerationResponseStream =
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the item is gated behind the `stream` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio_stream`
[INFO] [stdout]  --> examples/chatbot.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio_stream::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `tokio_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pull_model_stream` found for struct `Ollama` in the current scope
[INFO] [stdout]  --> tests/pull_model.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 8 |       let mut res = ollama
[INFO] [stdout]   |  ___________________-
[INFO] [stdout] 9 | |         .pull_model_stream("llama2:latest".into(), false)
[INFO] [stdout]   | |         -^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `pull_model`
[INFO] [stdout]   | |_________|
[INFO] [stdout]   | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `create_model_stream` found for struct `Ollama` in the current scope
[INFO] [stdout]   --> tests/create_model.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 9  |       let mut res = ollama
[INFO] [stdout]    |  ___________________-
[INFO] [stdout] 10 | |         .create_model_stream("model".into(), "/tmp/Modelfile.example".into())
[INFO] [stdout]    | |         -^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `create_model`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_model_stream` found for struct `Ollama` in the current scope
[INFO] [stdout]   --> tests/push_model.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 9  |       let mut res = ollama
[INFO] [stdout]    |  ___________________-
[INFO] [stdout] 10 | |         .push_model_stream("test_model:latest".into(), false)
[INFO] [stdout]    | |         -^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `push_model`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `generate_stream` found for struct `Ollama` in the current scope
[INFO] [stdout]   --> tests/generation.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 20 |       let mut res: GenerationResponseStream = ollama
[INFO] [stdout]    |  _____________________________________________-
[INFO] [stdout] 21 | |         .generate_stream(GenerationRequest::new(
[INFO] [stdout]    | |         -^^^^^^^^^^^^^^^ help: there is a method with a similar name: `generate`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ollama-rs` (test "pull_model") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `ollama-rs` (test "push_model") due to 3 previous errors
[INFO] [stderr] error: could not compile `ollama-rs` (test "create_model") due to 3 previous errors
[INFO] [stderr] error: could not compile `ollama-rs` (test "generation") due to 4 previous errors
[INFO] [stdout] error[E0599]: no method named `generate_stream` found for struct `Ollama` in the current scope
[INFO] [stdout]   --> examples/chatbot.rs:34:59
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let mut stream: GenerationResponseStream = ollama.generate_stream(request).await?;
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^ help: there is a method with a similar name: `generate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ollama-rs` (example "chatbot") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "7bc9cd8beab0e1a63995a67072c6f841c6d7b52b3aab9f94387e9357488a432b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7bc9cd8beab0e1a63995a67072c6f841c6d7b52b3aab9f94387e9357488a432b", kill_on_drop: false }`
[INFO] [stdout] 7bc9cd8beab0e1a63995a67072c6f841c6d7b52b3aab9f94387e9357488a432b
[INFO] checking ollama-rs-0.1.2 against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg
[INFO] extracting crate ollama-rs 0.1.2 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate ollama-rs 0.1.2 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ollama-rs 0.1.2
[INFO] finished tweaking crates.io crate ollama-rs 0.1.2
[INFO] tweaked toml for crates.io crate ollama-rs 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate crates.io crate ollama-rs 0.1.2 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5b6b327cb72925392e55007cf0c2e8b5ac395ca278ea2b6372951cb66e2aa32b
[INFO] running `Command { std: "docker" "start" "-a" "5b6b327cb72925392e55007cf0c2e8b5ac395ca278ea2b6372951cb66e2aa32b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b6b327cb72925392e55007cf0c2e8b5ac395ca278ea2b6372951cb66e2aa32b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b6b327cb72925392e55007cf0c2e8b5ac395ca278ea2b6372951cb66e2aa32b", kill_on_drop: false }`
[INFO] [stdout] 5b6b327cb72925392e55007cf0c2e8b5ac395ca278ea2b6372951cb66e2aa32b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dunexpected_cfgs" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }`
[INFO] [stdout] 267ca4853984a04be322aa731e440fcd216d44e987949c0dc4481a5c20e307b6
[INFO] running `Command { std: "docker" "start" "-a" "267ca4853984a04be322aa731e440fcd216d44e987949c0dc4481a5c20e307b6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking smallvec v1.11.1
[INFO] [stderr]    Compiling futures-core v0.3.29
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]    Compiling futures-task v0.3.29
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling openssl v0.10.58
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling futures-channel v0.3.29
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling serde v1.0.190
[INFO] [stderr]     Checking futures-sink v0.3.29
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking percent-encoding v2.3.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking form_urlencoded v1.2.0
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking base64 v0.21.5
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking mio v0.8.9
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]    Compiling openssl-sys v0.9.94
[INFO] [stderr]     Checking url v2.4.1
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.190
[INFO] [stderr]     Checking tokio v1.33.0
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.3.21
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.22
[INFO] [stderr]     Checking ollama-rs v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `tokio_stream`
[INFO] [stdout]  --> tests/push_model.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio_stream::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `tokio_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio_stream`
[INFO] [stdout]  --> tests/create_model.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio_stream::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `tokio_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio_stream`
[INFO] [stdout]  --> tests/pull_model.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio_stream::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `tokio_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ollama_rs::generation::completion::GenerationResponseStream`
[INFO] [stdout]   --> tests/generation.rs:6:9
[INFO] [stdout]    |
[INFO] [stdout] 6  |         GenerationResponseStream,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         no `GenerationResponseStream` in `generation::completion`
[INFO] [stdout]    |         help: a similar name exists in the module: `GenerationResponse`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /opt/rustwide/workdir/src/generation/completion/mod.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub type GenerationResponseStream =
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the item is gated behind the `stream` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio_stream`
[INFO] [stdout]   --> tests/generation.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio_stream::StreamExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^ use of undeclared crate or module `tokio_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ollama_rs::generation::completion::GenerationResponseStream`
[INFO] [stdout]   --> examples/chatbot.rs:3:56
[INFO] [stdout]    |
[INFO] [stdout] 3  |         request::GenerationRequest, GenerationContext, GenerationResponseStream,
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                                        |
[INFO] [stdout]    |                                                        no `GenerationResponseStream` in `generation::completion`
[INFO] [stdout]    |                                                        help: a similar name exists in the module: `GenerationResponse`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /opt/rustwide/workdir/src/generation/completion/mod.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub type GenerationResponseStream =
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: the item is gated behind the `stream` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio_stream`
[INFO] [stdout]  --> examples/chatbot.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio_stream::StreamExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `tokio_stream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `push_model_stream` found for struct `Ollama` in the current scope
[INFO] [stdout]   --> tests/push_model.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 9  |       let mut res = ollama
[INFO] [stdout]    |  ___________________-
[INFO] [stdout] 10 | |         .push_model_stream("test_model:latest".into(), false)
[INFO] [stdout]    | |         -^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `push_model`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `create_model_stream` found for struct `Ollama` in the current scope
[INFO] [stdout]   --> tests/create_model.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 9  |       let mut res = ollama
[INFO] [stdout]    |  ___________________-
[INFO] [stdout] 10 | |         .create_model_stream("model".into(), "/tmp/Modelfile.example".into())
[INFO] [stdout]    | |         -^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `create_model`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ollama-rs` (test "push_model") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `ollama-rs` (test "create_model") due to 3 previous errors
[INFO] [stdout] error[E0599]: no method named `generate_stream` found for struct `Ollama` in the current scope
[INFO] [stdout]   --> tests/generation.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 20 |       let mut res: GenerationResponseStream = ollama
[INFO] [stdout]    |  _____________________________________________-
[INFO] [stdout] 21 | |         .generate_stream(GenerationRequest::new(
[INFO] [stdout]    | |         -^^^^^^^^^^^^^^^ help: there is a method with a similar name: `generate`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `generate_stream` found for struct `Ollama` in the current scope
[INFO] [stdout]   --> examples/chatbot.rs:34:59
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let mut stream: GenerationResponseStream = ollama.generate_stream(request).await?;
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^ help: there is a method with a similar name: `generate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `pull_model_stream` found for struct `Ollama` in the current scope
[INFO] [stdout]  --> tests/pull_model.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 8 |       let mut res = ollama
[INFO] [stdout]   |  ___________________-
[INFO] [stdout] 9 | |         .pull_model_stream("llama2:latest".into(), false)
[INFO] [stdout]   | |         -^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `pull_model`
[INFO] [stdout]   | |_________|
[INFO] [stdout]   | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ollama-rs` (example "chatbot") due to 4 previous errors
[INFO] [stderr] error: could not compile `ollama-rs` (test "generation") due to 4 previous errors
[INFO] [stderr] error: could not compile `ollama-rs` (test "pull_model") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "267ca4853984a04be322aa731e440fcd216d44e987949c0dc4481a5c20e307b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "267ca4853984a04be322aa731e440fcd216d44e987949c0dc4481a5c20e307b6", kill_on_drop: false }`
[INFO] [stdout] 267ca4853984a04be322aa731e440fcd216d44e987949c0dc4481a5c20e307b6
