[INFO] fetching crate libredr-client 0.0.21... [INFO] testing libredr-client-0.0.21 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate libredr-client 0.0.21 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate libredr-client 0.0.21 [INFO] finished tweaking crates.io crate libredr-client 0.0.21 [INFO] tweaked toml for crates.io crate libredr-client 0.0.21 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libredr-client 0.0.21 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libredr-client 0.0.21 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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbb90903b708a05e46c39376a03606d19e506c67197225edf5f8a4d35ef6a709 [INFO] running `Command { std: "docker" "start" "-a" "cbb90903b708a05e46c39376a03606d19e506c67197225edf5f8a4d35ef6a709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbb90903b708a05e46c39376a03606d19e506c67197225edf5f8a4d35ef6a709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbb90903b708a05e46c39376a03606d19e506c67197225edf5f8a4d35ef6a709", kill_on_drop: false }` [INFO] [stdout] cbb90903b708a05e46c39376a03606d19e506c67197225edf5f8a4d35ef6a709 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06ba710c10082bca95f2a7a9f43a8c1ac961ed00494e89a5715bfaaef9af8dea [INFO] running `Command { std: "docker" "start" "-a" "06ba710c10082bca95f2a7a9f43a8c1ac961ed00494e89a5715bfaaef9af8dea", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tz-rs v0.7.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling pyo3-build-config v0.25.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling is_debug v1.1.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tzdb_data v0.2.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tobj v4.0.3 [INFO] [stderr] Compiling configparser v3.1.0 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libgit2-sys v0.18.2+1.9.1 [INFO] [stderr] Compiling tikv-jemalloc-sys v0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling pyo3-macros-backend v0.25.1 [INFO] [stderr] Compiling pyo3-ffi v0.25.1 [INFO] [stderr] Compiling pyo3 v0.25.1 [INFO] [stderr] Compiling numpy v0.25.0 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling tzdb v0.7.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling uuid-macro-internal v1.17.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pyo3-macros v0.25.1 [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_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [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 ndarray v0.16.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling git2 v0.20.2 [INFO] [stderr] Compiling postcard v1.1.1 [INFO] [stderr] Compiling shadow-rs v1.2.0 [INFO] [stderr] Compiling libredr-common v0.0.21 [INFO] [stderr] Compiling tikv-jemallocator v0.6.0 [INFO] [stderr] Compiling libredr-client v0.0.21 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "06ba710c10082bca95f2a7a9f43a8c1ac961ed00494e89a5715bfaaef9af8dea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06ba710c10082bca95f2a7a9f43a8c1ac961ed00494e89a5715bfaaef9af8dea", kill_on_drop: false }` [INFO] [stdout] 06ba710c10082bca95f2a7a9f43a8c1ac961ed00494e89a5715bfaaef9af8dea [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8e68a6ebddf38a6029d446a08956f0ad69a2fce90c29ab5daf9139a0fe712db [INFO] running `Command { std: "docker" "start" "-a" "a8e68a6ebddf38a6029d446a08956f0ad69a2fce90c29ab5daf9139a0fe712db", kill_on_drop: false }` [INFO] [stderr] Compiling libredr-common v0.0.21 [INFO] [stderr] Compiling libredr-client v0.0.21 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.08s [INFO] running `Command { std: "docker" "inspect" "a8e68a6ebddf38a6029d446a08956f0ad69a2fce90c29ab5daf9139a0fe712db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8e68a6ebddf38a6029d446a08956f0ad69a2fce90c29ab5daf9139a0fe712db", kill_on_drop: false }` [INFO] [stdout] a8e68a6ebddf38a6029d446a08956f0ad69a2fce90c29ab5daf9139a0fe712db [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 15001731ee3eaca49b0486bccc8213024dac1b491552385e8832f3c94a50fcaa [INFO] running `Command { std: "docker" "start" "-a" "15001731ee3eaca49b0486bccc8213024dac1b491552385e8832f3c94a50fcaa", kill_on_drop: false }` [INFO] [stderr] Compiling libredr-common v0.0.21 [INFO] [stderr] Compiling libredr-client v0.0.21 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.56s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libredr-d35a8d11391822e0) [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 libredr [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/client.rs - client::LibreDR::new (line 20) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client.rs - client::LibreDR::new (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LibreDR` [INFO] [stdout] --> src/client.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 6 | let client_tcp = LibreDR::new(String::from("127.0.0.1:9001"), false, false).await?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `LibreDR` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use libredr::LibreDR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LibreDR` [INFO] [stdout] --> src/client.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 7 | let client_unix = LibreDR::new(String::from("/var/run/libredr_client.sock"), true, false).await?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `LibreDR` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use libredr::LibreDR; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/client.rs:23:84 [INFO] [stdout] | [INFO] [stdout] 5 | async { [INFO] [stdout] | ----- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 6 | let client_tcp = LibreDR::new(String::from("127.0.0.1:9001"), false, false).await?; [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/client.rs:24:98 [INFO] [stdout] | [INFO] [stdout] 5 | async { [INFO] [stdout] | ----- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 6 | let client_tcp = LibreDR::new(String::from("127.0.0.1:9001"), false, false).await?; [INFO] [stdout] 7 | let client_unix = LibreDR::new(String::from("/var/run/libredr_client.sock"), true, false).await?; [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/client.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_20_0() { [INFO] [stdout] | - help: try adding a return type: `-> impl Future` [INFO] [stdout] 5 | / async { [INFO] [stdout] 6 | | let client_tcp = LibreDR::new(String::from("127.0.0.1:9001"), false, false).await?; [INFO] [stdout] 7 | | let client_unix = LibreDR::new(String::from("/var/run/libredr_client.sock"), true, false).await?; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ expected `()`, found `async` block [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found `async` block `{async block@src/client.rs:5:1: 5:6}` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433. [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/client.rs - client::LibreDR::new (line 20) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "15001731ee3eaca49b0486bccc8213024dac1b491552385e8832f3c94a50fcaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15001731ee3eaca49b0486bccc8213024dac1b491552385e8832f3c94a50fcaa", kill_on_drop: false }` [INFO] [stdout] 15001731ee3eaca49b0486bccc8213024dac1b491552385e8832f3c94a50fcaa