[INFO] fetching crate libredr-common 0.0.21... [INFO] testing libredr-common-0.0.21 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate libredr-common 0.0.21 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate libredr-common 0.0.21 [INFO] finished tweaking crates.io crate libredr-common 0.0.21 [INFO] tweaked toml for crates.io crate libredr-common 0.0.21 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libredr-common 0.0.21 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libredr-common 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded is_debug v1.1.0 [INFO] [stderr] Downloaded tzdb v0.7.2 [INFO] [stderr] Downloaded tikv-jemallocator v0.6.0 [INFO] [stderr] Downloaded uuid-macro-internal v1.17.0 [INFO] [stderr] Downloaded shadow-rs v1.2.0 [INFO] [stderr] Downloaded cobs v0.2.3 [INFO] [stderr] Downloaded tz-rs v0.7.0 [INFO] [stderr] Downloaded postcard v1.1.1 [INFO] [stderr] Downloaded tobj v4.0.3 [INFO] [stderr] Downloaded tzdb_data v0.2.2 [INFO] [stderr] Downloaded git2 v0.20.2 [INFO] [stderr] Downloaded tikv-jemalloc-sys v0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 [INFO] [stderr] Downloaded libgit2-sys v0.18.2+1.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0f9e8c2fff0ad6c479c985035ced134a464d765a1dea960491319e8b8dec9db [INFO] running `Command { std: "docker" "start" "-a" "d0f9e8c2fff0ad6c479c985035ced134a464d765a1dea960491319e8b8dec9db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0f9e8c2fff0ad6c479c985035ced134a464d765a1dea960491319e8b8dec9db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0f9e8c2fff0ad6c479c985035ced134a464d765a1dea960491319e8b8dec9db", kill_on_drop: false }` [INFO] [stdout] d0f9e8c2fff0ad6c479c985035ced134a464d765a1dea960491319e8b8dec9db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a4c307cdbcb30751b5640757c895631f1f6e3dbc8bfb0c75f97d13546fe7348 [INFO] running `Command { std: "docker" "start" "-a" "4a4c307cdbcb30751b5640757c895631f1f6e3dbc8bfb0c75f97d13546fe7348", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling tz-rs v0.7.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling is_debug v1.1.0 [INFO] [stderr] Compiling tzdb_data v0.2.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libgit2-sys v0.18.2+1.9.1 [INFO] [stderr] Compiling tzdb v0.7.2 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling tobj v4.0.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling configparser v3.1.0 [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 serde_derive v1.0.219 [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 tracing-attributes v0.1.30 [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 tokio v1.45.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling nalgebra v0.33.2 [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 hashbrown v0.15.4 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling postcard v1.1.1 [INFO] [stderr] Compiling git2 v0.20.2 [INFO] [stderr] Compiling shadow-rs v1.2.0 [INFO] [stderr] Compiling libredr-common v0.0.21 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 21s [INFO] running `Command { std: "docker" "inspect" "4a4c307cdbcb30751b5640757c895631f1f6e3dbc8bfb0c75f97d13546fe7348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a4c307cdbcb30751b5640757c895631f1f6e3dbc8bfb0c75f97d13546fe7348", kill_on_drop: false }` [INFO] [stdout] 4a4c307cdbcb30751b5640757c895631f1f6e3dbc8bfb0c75f97d13546fe7348 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 937031c6d50e1d999c151a35addd9ffef8ef05df081837ec4770a45245f875ad [INFO] running `Command { std: "docker" "start" "-a" "937031c6d50e1d999c151a35addd9ffef8ef05df081837ec4770a45245f875ad", kill_on_drop: false }` [INFO] [stderr] Compiling libredr-common v0.0.21 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.33s [INFO] running `Command { std: "docker" "inspect" "937031c6d50e1d999c151a35addd9ffef8ef05df081837ec4770a45245f875ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "937031c6d50e1d999c151a35addd9ffef8ef05df081837ec4770a45245f875ad", kill_on_drop: false }` [INFO] [stdout] 937031c6d50e1d999c151a35addd9ffef8ef05df081837ec4770a45245f875ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c35756f5ec4539c16f129d4f446b2703a06b3f4281d34ba38fe4179f28c7ccc5 [INFO] running `Command { std: "docker" "start" "-a" "c35756f5ec4539c16f129d4f446b2703a06b3f4281d34ba38fe4179f28c7ccc5", kill_on_drop: false }` [INFO] [stderr] Compiling libredr-common v0.0.21 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libredr_common-dc420b6ffdf7f951) [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_common [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/connection.rs - connection::Connection::from_config (line 90) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/connection.rs - connection::Connection::from_config (line 90) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/connection.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let mut config = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 90 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] 90 + use hashbrown::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Connection` [INFO] [stdout] --> src/connection.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | let connection = Connection::from_config(&config).await?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Connection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 90 + use libredr_common::connection::Connection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `string` [INFO] [stdout] --> src/connection.rs:93:42 [INFO] [stdout] | [INFO] [stdout] 93 | config.insert(String::from("connect"), string::from("127.0.0.1:9000")); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `string` [INFO] [stdout] | help: a struct with a similar name exists (notice the capitalization): `String` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `string`, use `cargo add string` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `string` [INFO] [stdout] --> src/connection.rs:94:39 [INFO] [stdout] | [INFO] [stdout] 94 | config.insert(String::from("unix"), string::from("false")); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `string` [INFO] [stdout] | help: a struct with a similar name exists (notice the capitalization): `String` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `string`, use `cargo add string` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `string` [INFO] [stdout] --> src/connection.rs:95:38 [INFO] [stdout] | [INFO] [stdout] 95 | config.insert(String::from("tls"), string::from("false")); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `string` [INFO] [stdout] | help: a struct with a similar name exists (notice the capitalization): `String` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `string`, use `cargo add string` to add it to your `Cargo.toml` [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/connection.rs:96:58 [INFO] [stdout] | [INFO] [stdout] 91 | async { [INFO] [stdout] | ----- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 96 | let connection = Connection::from_config(&config).await?; [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/connection.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 90 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connection_rs_90_0() { [INFO] [stdout] | - help: try adding a return type: `-> impl Future` [INFO] [stdout] 91 | / async { [INFO] [stdout] 92 | | let mut config = HashMap::new(); [INFO] [stdout] 93 | | config.insert(String::from("connect"), string::from("127.0.0.1:9000")); [INFO] [stdout] 94 | | config.insert(String::from("unix"), string::from("false")); [INFO] [stdout] 95 | | config.insert(String::from("tls"), string::from("false")); [INFO] [stdout] 96 | | let connection = Connection::from_config(&config).await?; [INFO] [stdout] 97 | | } [INFO] [stdout] | |_^ expected `()`, found `async` block [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found `async` block `{async block@src/connection.rs:3:1: 3:6}` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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/connection.rs - connection::Connection::from_config (line 90) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c35756f5ec4539c16f129d4f446b2703a06b3f4281d34ba38fe4179f28c7ccc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c35756f5ec4539c16f129d4f446b2703a06b3f4281d34ba38fe4179f28c7ccc5", kill_on_drop: false }` [INFO] [stdout] c35756f5ec4539c16f129d4f446b2703a06b3f4281d34ba38fe4179f28c7ccc5