[INFO] fetching crate libredr-client 0.0.12... [INFO] testing libredr-client-0.0.12 against master#23949593103d03a82c7ebc2e84434ce6c6edc561 for pr-115235 [INFO] extracting crate libredr-client 0.0.12 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate libredr-client 0.0.12 on toolchain 23949593103d03a82c7ebc2e84434ce6c6edc561 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libredr-client 0.0.12 [INFO] finished tweaking crates.io crate libredr-client 0.0.12 [INFO] tweaked toml for crates.io crate libredr-client 0.0.12 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libredr-common v0.0.12 [INFO] [stderr] Downloaded tobj v4.0.0 [INFO] [stderr] Downloaded tikv-jemallocator v0.5.4 [INFO] [stderr] Downloaded configparser v3.0.2 [INFO] [stderr] Downloaded shadow-rs v0.23.0 [INFO] [stderr] Downloaded tz-rs v0.6.14 [INFO] [stderr] Downloaded numpy v0.19.0 [INFO] [stderr] Downloaded tzdb v0.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1923ce828dfff31aea337d272e69131cb26bfb9740ba063f3700355c3305e881 [INFO] running `Command { std: "docker" "start" "-a" "1923ce828dfff31aea337d272e69131cb26bfb9740ba063f3700355c3305e881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1923ce828dfff31aea337d272e69131cb26bfb9740ba063f3700355c3305e881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1923ce828dfff31aea337d272e69131cb26bfb9740ba063f3700355c3305e881", kill_on_drop: false }` [INFO] [stdout] 1923ce828dfff31aea337d272e69131cb26bfb9740ba063f3700355c3305e881 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 382b8a428c99d50fcde40d689dd75d0df407d3c27e1d7ab957e64a61ef6123db [INFO] running `Command { std: "docker" "start" "-a" "382b8a428c99d50fcde40d689dd75d0df407d3c27e1d7ab957e64a61ef6123db", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling target-lexicon v0.12.11 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling time v0.3.28 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling is_debug v1.0.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling heapless v0.7.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling tz-rs v0.6.14 [INFO] [stderr] Compiling wide v0.7.11 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pyo3-build-config v0.19.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling const_format_proc_macros v0.2.31 [INFO] [stderr] Compiling tzdb v0.5.7 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling libgit2-sys v0.15.2+1.6.4 [INFO] [stderr] Compiling tikv-jemalloc-sys v0.5.4+5.3.0-patched [INFO] [stderr] Compiling blake3 v1.4.1 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling const_format v0.2.31 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling unindent v0.1.11 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling pyo3-ffi v0.19.2 [INFO] [stderr] Compiling pyo3 v0.19.2 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling tobj v4.0.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling configparser v3.0.2 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.2 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling uuid-macro-internal v1.4.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling pyo3-macros v0.19.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling nalgebra v0.32.3 [INFO] [stderr] Compiling git2 v0.17.2 [INFO] [stderr] Compiling shadow-rs v0.23.0 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling postcard v1.0.7 [INFO] [stderr] Compiling libredr-common v0.0.12 [INFO] [stderr] Compiling numpy v0.19.0 [INFO] [stderr] Compiling tikv-jemallocator v0.5.4 [INFO] [stderr] Compiling libredr-client v0.0.12 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "382b8a428c99d50fcde40d689dd75d0df407d3c27e1d7ab957e64a61ef6123db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "382b8a428c99d50fcde40d689dd75d0df407d3c27e1d7ab957e64a61ef6123db", kill_on_drop: false }` [INFO] [stdout] 382b8a428c99d50fcde40d689dd75d0df407d3c27e1d7ab957e64a61ef6123db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac5409f0db02682336f9c5c300e06671c542e1fced6ff3c5b64c804b8f1525a3 [INFO] running `Command { std: "docker" "start" "-a" "ac5409f0db02682336f9c5c300e06671c542e1fced6ff3c5b64c804b8f1525a3", kill_on_drop: false }` [INFO] [stderr] Compiling libredr-client v0.0.12 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.55s [INFO] running `Command { std: "docker" "inspect" "ac5409f0db02682336f9c5c300e06671c542e1fced6ff3c5b64c804b8f1525a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac5409f0db02682336f9c5c300e06671c542e1fced6ff3c5b64c804b8f1525a3", kill_on_drop: false }` [INFO] [stdout] ac5409f0db02682336f9c5c300e06671c542e1fced6ff3c5b64c804b8f1525a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ae534416ea8f94f7cb156f4d8b9c1b1c90b177d662ec5b5426e69083aec88696 [INFO] running `Command { std: "docker" "start" "-a" "ae534416ea8f94f7cb156f4d8b9c1b1c90b177d662ec5b5426e69083aec88696", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libredr-86f87f7a79508a94) [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] 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] 7 | | let client_unix = LibreDR::new(String::from("/var/run/libredr_client.sock"), true, false).await?; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [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] 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] 8 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [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: a return type might be missing here: `-> _` [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: 8:2]` [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.12s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ae534416ea8f94f7cb156f4d8b9c1b1c90b177d662ec5b5426e69083aec88696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae534416ea8f94f7cb156f4d8b9c1b1c90b177d662ec5b5426e69083aec88696", kill_on_drop: false }` [INFO] [stdout] ae534416ea8f94f7cb156f4d8b9c1b1c90b177d662ec5b5426e69083aec88696