[INFO] fetching crate ollama-rs 0.1.2...
[INFO] checking ollama-rs-0.1.2 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate ollama-rs 0.1.2 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate ollama-rs 0.1.2 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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-5-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e2b3c8e76316c4aca58d4f90ec2987ad413e181ceb20ee471916cea7a8aeff3d
[INFO] running `Command { std: "docker" "start" "-a" "e2b3c8e76316c4aca58d4f90ec2987ad413e181ceb20ee471916cea7a8aeff3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e2b3c8e76316c4aca58d4f90ec2987ad413e181ceb20ee471916cea7a8aeff3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2b3c8e76316c4aca58d4f90ec2987ad413e181ceb20ee471916cea7a8aeff3d", kill_on_drop: false }`
[INFO] [stdout] e2b3c8e76316c4aca58d4f90ec2987ad413e181ceb20ee471916cea7a8aeff3d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f8859e70df60741bc7f50ea0bc322873fcd24276e3303260d4637df41ac45075
[INFO] running `Command { std: "docker" "start" "-a" "f8859e70df60741bc7f50ea0bc322873fcd24276e3303260d4637df41ac45075", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]     Checking smallvec v1.11.1
[INFO] [stderr]    Compiling futures-task v0.3.29
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling openssl v0.10.58
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling serde v1.0.190
[INFO] [stderr]    Compiling futures-channel v0.3.29
[INFO] [stderr]     Checking percent-encoding v2.3.0
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking form_urlencoded v1.2.0
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking url v2.4.1
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[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 parking_lot v0.12.1
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling openssl-sys v0.9.94
[INFO] [stderr]    Compiling native-tls v0.2.11
[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 serde_json v1.0.108
[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/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/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 `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 `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]   --> 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]    | |_________-^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `push_model` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 10 |         .push_model("test_model:latest".into(), false)
[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]    | |_________-^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `generate` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 21 |         .generate(GenerationRequest::new(
[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]    | |_________-^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `create_model` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 10 |         .create_model("model".into(), "/tmp/Modelfile.example".into())
[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[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]   | |_________-^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: there is a method `pull_model` with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 9 |         .pull_model("llama2:latest".into(), false)
[INFO] [stdout]   |          ~~~~~~~~~~
[INFO] [stdout] 
[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] [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] [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 "pull_model") due to 3 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 "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]   --> examples/chatbot.rs:34:59
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let mut stream: GenerationResponseStream = ollama.generate_stream(request).await?;
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `generate` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let mut stream: GenerationResponseStream = ollama.generate(request).await?;
[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] [stderr] error: could not compile `ollama-rs` (example "chatbot") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "f8859e70df60741bc7f50ea0bc322873fcd24276e3303260d4637df41ac45075", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8859e70df60741bc7f50ea0bc322873fcd24276e3303260d4637df41ac45075", kill_on_drop: false }`
[INFO] [stdout] f8859e70df60741bc7f50ea0bc322873fcd24276e3303260d4637df41ac45075
