[INFO] fetching crate diffusion_to 0.2.0...
[INFO] testing diffusion_to-0.2.0 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate diffusion_to 0.2.0 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate diffusion_to 0.2.0
[INFO] finished tweaking crates.io crate diffusion_to 0.2.0
[INFO] tweaked toml for crates.io crate diffusion_to 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate diffusion_to 0.2.0 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 167 packages to highest compatible versions
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.13.5)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.21)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c8a827e5def172fc5151125f8b6407025d8c8f498b48c409a1e644ac34852f86
[INFO] running `Command { std: "docker" "start" "c8a827e5def172fc5151125f8b6407025d8c8f498b48c409a1e644ac34852f86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c8a827e5def172fc5151125f8b6407025d8c8f498b48c409a1e644ac34852f86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c8a827e5def172fc5151125f8b6407025d8c8f498b48c409a1e644ac34852f86" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c8a827e5def172fc5151125f8b6407025d8c8f498b48c409a1e644ac34852f86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c8a827e5def172fc5151125f8b6407025d8c8f498b48c409a1e644ac34852f86" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v3.0.9
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling openssl v0.10.81
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling openssl-sys v0.9.117
[INFO] [stderr]    Compiling mio v1.2.4
[INFO] [stderr]    Compiling socket2 v0.6.5
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling futures-task v0.3.34
[INFO] [stderr]    Compiling smallvec v1.16.3
[INFO] [stderr]    Compiling equivalent v1.0.3
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling encoding_rs v0.8.42
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling futures-channel v0.3.34
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling futures-util v0.3.34
[INFO] [stderr]    Compiling simdutf8 v0.1.5
[INFO] [stderr]    Compiling multiversion_no_op v1.0.0
[INFO] [stderr]    Compiling core_detect v1.0.0
[INFO] [stderr]    Compiling serde_json v1.0.154
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling futures-timer v3.0.4
[INFO] [stderr]    Compiling tokio v1.53.3
[INFO] [stderr]    Compiling indexmap v2.14.2
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling synstructure v0.14.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerovec-derive v0.11.6
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling serde_repr v0.1.21
[INFO] [stderr]    Compiling zerofrom-derive v0.1.8
[INFO] [stderr]    Compiling yoke-derive v0.8.4
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling zerovec v0.11.8
[INFO] [stderr]    Compiling zerotrie v0.2.5
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tinystr v0.8.4
[INFO] [stderr]    Compiling potential_utf v0.1.6
[INFO] [stderr]    Compiling icu_collections v2.3.0
[INFO] [stderr]    Compiling icu_locale_core v2.3.0
[INFO] [stderr]    Compiling tokio-util v0.7.20
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling icu_provider v2.3.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_normalizer v2.3.0
[INFO] [stderr]    Compiling icu_properties v2.3.0
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling diffusion_to v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 02s
[INFO] running `Command { std: "docker" "inspect" "c8a827e5def172fc5151125f8b6407025d8c8f498b48c409a1e644ac34852f86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c8a827e5def172fc5151125f8b6407025d8c8f498b48c409a1e644ac34852f86" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling diffusion_to v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.88s
[INFO] running `Command { std: "docker" "inspect" "c8a827e5def172fc5151125f8b6407025d8c8f498b48c409a1e644ac34852f86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c8a827e5def172fc5151125f8b6407025d8c8f498b48c409a1e644ac34852f86" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/diffusion_to-06d2ba38c3a9287a)
[INFO] [stderr]    Doc-tests diffusion_to
[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] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 12) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 12) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/lib.rs:17:42
[INFO] [stdout]    |
[INFO] [stdout] 17 |     .update_model(args.model.try_into()?)
[INFO] [stdout]    |                                          ^ help: add `;` here
[INFO] [stdout] 18 | let token = client.request_image(request).await?;
[INFO] [stdout]    | --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/lib.rs:13:35
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = DiffusionClient::new(args.api_key)?;
[INFO] [stdout]    |                                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/lib.rs:15:33
[INFO] [stdout]    |
[INFO] [stdout] 15 | let request = ImageRequest::new(args.prompt)
[INFO] [stdout]    |                                 ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/lib.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 |     .update_steps(args.steps.try_into()?)
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/lib.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |     .update_model(args.model.try_into()?)
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Duration` in this scope
[INFO] [stdout]   --> src/lib.rs:22:33
[INFO] [stdout]    |
[INFO] [stdout] 22 |     .check_and_wait(token, Some(Duration::from_secs(300)))
[INFO] [stdout]    |                                 ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `iamge` in this scope
[INFO] [stdout]   --> src/lib.rs:25:16
[INFO] [stdout]    |
[INFO] [stdout] 25 | println!("{}", iamge.raw)
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 25 - println!("{}", iamge.raw)
[INFO] [stdout] 25 + println!("{}", image.raw)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:18:43
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_12_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 18 | let token = client.request_image(request).await?;
[INFO] [stdout]    |                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:23:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_12_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 23 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `DiffusionClient` in this scope
[INFO] [stdout]   --> src/lib.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | let client = DiffusionClient::new(args.api_key)?;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^ use of undeclared type `DiffusionClient`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ImageRequest` in this scope
[INFO] [stdout]   --> src/lib.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | let request = ImageRequest::new(args.prompt)
[INFO] [stdout]    |               ^^^^^^^^^^^^ use of undeclared type `ImageRequest`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 12)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "c8a827e5def172fc5151125f8b6407025d8c8f498b48c409a1e644ac34852f86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8a827e5def172fc5151125f8b6407025d8c8f498b48c409a1e644ac34852f86", kill_on_drop: false }`
[INFO] [stdout] c8a827e5def172fc5151125f8b6407025d8c8f498b48c409a1e644ac34852f86
