[INFO] fetching crate arb-lib 0.1.0...
[INFO] testing arb-lib-0.1.0 against 1.97.0-beta.6 for beta-1.98-1
[INFO] extracting crate arb-lib 0.1.0 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate arb-lib 0.1.0
[INFO] finished tweaking crates.io crate arb-lib 0.1.0
[INFO] tweaked toml for crates.io crate arb-lib 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate arb-lib 0.1.0 on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "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.97.0-beta.6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 162 packages to latest compatible versions
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.18)
[INFO] [stderr]       Adding yaml-rust2 v0.8.1 (available: v0.11.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded deepl-pro v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 03f4dfe40717becaad2d86b3a66ab682d08c87564914777b55a30d715f4e271a
[INFO] running `Command { std: "docker" "start" "03f4dfe40717becaad2d86b3a66ab682d08c87564914777b55a30d715f4e271a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "03f4dfe40717becaad2d86b3a66ab682d08c87564914777b55a30d715f4e271a", 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" "03f4dfe40717becaad2d86b3a66ab682d08c87564914777b55a30d715f4e271a" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "03f4dfe40717becaad2d86b3a66ab682d08c87564914777b55a30d715f4e271a", 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" "03f4dfe40717becaad2d86b3a66ab682d08c87564914777b55a30d715f4e271a" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.2.66
[INFO] [stderr]    Compiling http v1.4.2
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling openssl v0.10.81
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling zeroize v1.9.0
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling rustls-pki-types v1.15.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling openssl-sys v0.9.117
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling yaml-rust2 v0.8.1
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.4.15
[INFO] [stderr]    Compiling tower-http v0.6.11
[INFO] [stderr]    Compiling hyper v1.10.1
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling deepl-pro v0.1.0
[INFO] [stderr]    Compiling arb-lib v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.73s
[INFO] running `Command { std: "docker" "inspect" "03f4dfe40717becaad2d86b3a66ab682d08c87564914777b55a30d715f4e271a", 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" "03f4dfe40717becaad2d86b3a66ab682d08c87564914777b55a30d715f4e271a" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling arb-lib v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.18s
[INFO] running `Command { std: "docker" "inspect" "03f4dfe40717becaad2d86b3a66ab682d08c87564914777b55a30d715f4e271a", 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" "03f4dfe40717becaad2d86b3a66ab682d08c87564914777b55a30d715f4e271a" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/arb_lib-1fc1a93de9d4c787)
[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]    Doc-tests arb_lib
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 7) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 7) stdout ----
[INFO] [stdout] error: expected type, found `"DEEPL_API_KEY"`
[INFO] [stdout]   --> src/lib.rs:11:28
[INFO] [stdout]    |
[INFO] [stdout] 11 | let api_key: std::env::var("DEEPL_API_KEY").unwrap();
[INFO] [stdout]    |            -               ^^^^^^^^^^^^^^^ expected type
[INFO] [stdout]    |            |
[INFO] [stdout]    |            while parsing the type for `api_key`
[INFO] [stdout]    |
[INFO] [stdout] help: use `=` if you meant to assign
[INFO] [stdout]    |
[INFO] [stdout] 11 - let api_key: std::env::var("DEEPL_API_KEY").unwrap();
[INFO] [stdout] 11 + let api_key = std::env::var("DEEPL_API_KEY").unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:15:44
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | let result = intl.translate(&api, options).await?;
[INFO] [stdout]    |                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TranslationOptions` in this scope
[INFO] [stdout]   --> src/lib.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | let options = TranslationOptions::new(Lang::Fr);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^ use of undeclared type `TranslationOptions`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:14:38
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 14 | let mut intl = Intl::new("l10n.yaml")?;
[INFO] [stdout]    |                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout]  8 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  9 | use arb_lib::{Intl, deepl::{DeeplApi, ApiOptions, Lang}};
[INFO] [stdout] ...
[INFO] [stdout] 16 | println!("{:#?}", result);
[INFO] [stdout] 17 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 7)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "03f4dfe40717becaad2d86b3a66ab682d08c87564914777b55a30d715f4e271a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03f4dfe40717becaad2d86b3a66ab682d08c87564914777b55a30d715f4e271a", kill_on_drop: false }`
[INFO] [stdout] 03f4dfe40717becaad2d86b3a66ab682d08c87564914777b55a30d715f4e271a
