[INFO] fetching crate marzban_api 0.2.12... [INFO] testing marzban_api-0.2.12 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate marzban_api 0.2.12 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate marzban_api 0.2.12 [INFO] finished tweaking crates.io crate marzban_api 0.2.12 [INFO] tweaked toml for crates.io crate marzban_api 0.2.12 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate marzban_api 0.2.12 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate marzban_api 0.2.12 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 171ddba20342faa5cdb0ae7e63765fb4341d3f121e7d5ef62e81a079be364ffc [INFO] running `Command { std: "docker" "start" "-a" "171ddba20342faa5cdb0ae7e63765fb4341d3f121e7d5ef62e81a079be364ffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "171ddba20342faa5cdb0ae7e63765fb4341d3f121e7d5ef62e81a079be364ffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "171ddba20342faa5cdb0ae7e63765fb4341d3f121e7d5ef62e81a079be364ffc", kill_on_drop: false }` [INFO] [stdout] 171ddba20342faa5cdb0ae7e63765fb4341d3f121e7d5ef62e81a079be364ffc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d28ae9a8ded7f8d00124d4c51abf9dc3acac55e647f238360d8e9c91f2ba0ca [INFO] running `Command { std: "docker" "start" "-a" "2d28ae9a8ded7f8d00124d4c51abf9dc3acac55e647f238360d8e9c91f2ba0ca", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling validator_derive v0.19.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling validator v0.19.0 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling marzban_api v0.2.12 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "2d28ae9a8ded7f8d00124d4c51abf9dc3acac55e647f238360d8e9c91f2ba0ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d28ae9a8ded7f8d00124d4c51abf9dc3acac55e647f238360d8e9c91f2ba0ca", kill_on_drop: false }` [INFO] [stdout] 2d28ae9a8ded7f8d00124d4c51abf9dc3acac55e647f238360d8e9c91f2ba0ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e8d4b1248c4198efda6820645d71483010af903bb594424ae1d4940886e9f73 [INFO] running `Command { std: "docker" "start" "-a" "9e8d4b1248c4198efda6820645d71483010af903bb594424ae1d4940886e9f73", kill_on_drop: false }` [INFO] [stderr] Compiling marzban_api v0.2.12 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.03s [INFO] running `Command { std: "docker" "inspect" "9e8d4b1248c4198efda6820645d71483010af903bb594424ae1d4940886e9f73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e8d4b1248c4198efda6820645d71483010af903bb594424ae1d4940886e9f73", kill_on_drop: false }` [INFO] [stdout] 9e8d4b1248c4198efda6820645d71483010af903bb594424ae1d4940886e9f73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 17f6300bfab144b6e3c9e726dd5c0954d1d1893943c0daa8c3ca8d7956ac67de [INFO] running `Command { std: "docker" "start" "-a" "17f6300bfab144b6e3c9e726dd5c0954d1d1893943c0daa8c3ca8d7956ac67de", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/marzban_api-ddc7897dc29870c5) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test api::subscription::tests::correct_client_types ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests marzban_api [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 28) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 41) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 41) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 10 | client.authenticate(&BodyAdminTokenApiAdminTokenPost { [INFO] [stdout] | ____________------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 11 | | grant_type: Some("password".to_string()), [INFO] [stdout] 12 | | username: "admin".to_string(), [INFO] [stdout] 13 | | password: "admin".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 16 | | client_secret: None, [INFO] [stdout] 17 | | }).await.expect("Failed to authenticate"); [INFO] [stdout] | |_____^ expected `BodyAdminTokenApiAdminTokenPost`, found `&BodyAdminTokenApiAdminTokenPost` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/admin.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | pub async fn authenticate( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 10 - client.authenticate(&BodyAdminTokenApiAdminTokenPost { [INFO] [stdout] 10 + client.authenticate(BodyAdminTokenApiAdminTokenPost { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 41) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "17f6300bfab144b6e3c9e726dd5c0954d1d1893943c0daa8c3ca8d7956ac67de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17f6300bfab144b6e3c9e726dd5c0954d1d1893943c0daa8c3ca8d7956ac67de", kill_on_drop: false }` [INFO] [stdout] 17f6300bfab144b6e3c9e726dd5c0954d1d1893943c0daa8c3ca8d7956ac67de