[INFO] fetching crate libredr-common 0.0.18...
[INFO] testing libredr-common-0.0.18 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate libredr-common 0.0.18 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate libredr-common 0.0.18 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libredr-common 0.0.18
[INFO] finished tweaking crates.io crate libredr-common 0.0.18
[INFO] tweaked toml for crates.io crate libredr-common 0.0.18 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 156 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding embedded-io v0.4.0 (latest: v0.6.1)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding hash32 v0.2.1 (latest: v0.3.1)
[INFO] [stderr]       Adding heapless v0.7.17 (latest: v0.8.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding shadow-rs v0.27.1 (latest: v0.28.0)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-core v0.52.0 (latest: v0.56.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded is_debug v1.0.1
[INFO] [stderr]   Downloaded tikv-jemallocator v0.5.4
[INFO] [stderr]   Downloaded tobj v4.0.2
[INFO] [stderr]   Downloaded tzdb v0.6.1
[INFO] [stderr]   Downloaded shadow-rs v0.27.1
[INFO] [stderr]   Downloaded tz-rs v0.6.14
[INFO] [stderr]   Downloaded git2 v0.18.3
[INFO] [stderr]   Downloaded tzdb_data v0.1.2
[INFO] [stderr]   Downloaded tikv-jemalloc-sys v0.5.4+5.3.0-patched
[INFO] [stderr]   Downloaded libgit2-sys v0.16.2+1.7.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4656d677b2c16f1ef5c8412dec22c6cef4c2173e294de115002614d4df0f1865
[INFO] running `Command { std: "docker" "start" "-a" "4656d677b2c16f1ef5c8412dec22c6cef4c2173e294de115002614d4df0f1865", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4656d677b2c16f1ef5c8412dec22c6cef4c2173e294de115002614d4df0f1865", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4656d677b2c16f1ef5c8412dec22c6cef4c2173e294de115002614d4df0f1865", kill_on_drop: false }`
[INFO] [stdout] 4656d677b2c16f1ef5c8412dec22c6cef4c2173e294de115002614d4df0f1865
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f6de4d238131b21536e14bc126899d198f8aad86f35107fffe4586d78061be00
[INFO] running `Command { std: "docker" "start" "-a" "f6de4d238131b21536e14bc126899d198f8aad86f35107fffe4586d78061be00", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling const_fn v0.4.10
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling jobserver v0.1.31
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling matrixmultiply v0.3.8
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling bytemuck v1.16.0
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling zerocopy v0.7.34
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling safe_arch v0.7.1
[INFO] [stderr]    Compiling is_debug v1.0.1
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling hash32 v0.2.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling heapless v0.7.17
[INFO] [stderr]    Compiling tz-rs v0.6.14
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling wide v0.7.20
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.32
[INFO] [stderr]    Compiling tzdb_data v0.1.2
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling miniz_oxide v0.7.3
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling libz-sys v1.1.18
[INFO] [stderr]    Compiling libgit2-sys v0.16.2+1.7.2
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]    Compiling blake3 v1.5.1
[INFO] [stderr]    Compiling simba v0.8.1
[INFO] [stderr]    Compiling const_format v0.2.32
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling constant_time_eq v0.3.0
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling allocator-api2 v0.2.18
[INFO] [stderr]    Compiling embedded-io v0.4.0
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling cobs v0.2.3
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling tobj v4.0.2
[INFO] [stderr]    Compiling configparser v3.0.4
[INFO] [stderr]    Compiling tzdb v0.6.1
[INFO] [stderr]    Compiling nalgebra-macros v0.2.1
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling uuid-macro-internal v1.8.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling nalgebra v0.32.5
[INFO] [stderr]    Compiling git2 v0.18.3
[INFO] [stderr]    Compiling ndarray v0.15.6
[INFO] [stderr]    Compiling uuid v1.8.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling shadow-rs v0.27.1
[INFO] [stderr]    Compiling postcard v1.0.8
[INFO] [stderr]    Compiling libredr-common v0.0.18 (/opt/rustwide/workdir)
[INFO] [stdout] warning: missing documentation for a constant
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/libredr-common-996326396ecc52b0/out/shadow.rs:454:1
[INFO] [stdout]     |
[INFO] [stdout] 454 | pub const CLAP_VERSION:&str = shadow_rs::formatcp!(r#"{}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:2:9
[INFO] [stdout]     |
[INFO] [stdout] 2   | #![warn(missing_docs)]
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.03s
[INFO] running `Command { std: "docker" "inspect" "f6de4d238131b21536e14bc126899d198f8aad86f35107fffe4586d78061be00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6de4d238131b21536e14bc126899d198f8aad86f35107fffe4586d78061be00", kill_on_drop: false }`
[INFO] [stdout] f6de4d238131b21536e14bc126899d198f8aad86f35107fffe4586d78061be00
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd3542a8135efc77f05357d5da4695de58336e1d93862ffdb05d4e76ecafb9f3
[INFO] running `Command { std: "docker" "start" "-a" "cd3542a8135efc77f05357d5da4695de58336e1d93862ffdb05d4e76ecafb9f3", kill_on_drop: false }`
[INFO] [stdout] warning: missing documentation for a constant
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/libredr-common-996326396ecc52b0/out/shadow.rs:454:1
[INFO] [stdout]     |
[INFO] [stdout] 454 | pub const CLAP_VERSION:&str = shadow_rs::formatcp!(r#"{}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:2:9
[INFO] [stdout]     |
[INFO] [stdout] 2   | #![warn(missing_docs)]
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling libredr-common v0.0.18 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.81s
[INFO] running `Command { std: "docker" "inspect" "cd3542a8135efc77f05357d5da4695de58336e1d93862ffdb05d4e76ecafb9f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd3542a8135efc77f05357d5da4695de58336e1d93862ffdb05d4e76ecafb9f3", kill_on_drop: false }`
[INFO] [stdout] cd3542a8135efc77f05357d5da4695de58336e1d93862ffdb05d4e76ecafb9f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2da029364535590d8f98c91e19bb48127560ab208d79555cb6ca1b3a416cd211
[INFO] running `Command { std: "docker" "start" "-a" "2da029364535590d8f98c91e19bb48127560ab208d79555cb6ca1b3a416cd211", kill_on_drop: false }`
[INFO] [stderr] warning: missing documentation for a constant
[INFO] [stderr]    --> /opt/rustwide/target/debug/build/libredr-common-996326396ecc52b0/out/shadow.rs:454:1
[INFO] [stderr]     |
[INFO] [stderr] 454 | pub const CLAP_VERSION:&str = shadow_rs::formatcp!(r#"{}
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]    --> src/lib.rs:2:9
[INFO] [stderr]     |
[INFO] [stderr] 2   | #![warn(missing_docs)]
[INFO] [stderr]     |         ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `libredr-common` (lib) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libredr_common-c47fffe661ee4cf6)
[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] 4 |   let mut config = HashMap::new();
[INFO] [stdout]   |                    ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hashbrown::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::collections::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] 8 |   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] 2 + use libredr_common::connection::Connection;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `string`
[INFO] [stdout]  --> src/connection.rs:93:42
[INFO] [stdout]   |
[INFO] [stdout] 5 |   config.insert(String::from("connect"), string::from("127.0.0.1:9000"));
[INFO] [stdout]   |                                          ^^^^^^
[INFO] [stdout]   |                                          |
[INFO] [stdout]   |                                          use of undeclared crate or module `string`
[INFO] [stdout]   |                                          help: a struct with a similar name exists (notice the capitalization): `String`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `string`
[INFO] [stdout]  --> src/connection.rs:94:39
[INFO] [stdout]   |
[INFO] [stdout] 6 |   config.insert(String::from("unix"), string::from("false"));
[INFO] [stdout]   |                                       ^^^^^^
[INFO] [stdout]   |                                       |
[INFO] [stdout]   |                                       use of undeclared crate or module `string`
[INFO] [stdout]   |                                       help: a struct with a similar name exists (notice the capitalization): `String`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `string`
[INFO] [stdout]  --> src/connection.rs:95:38
[INFO] [stdout]   |
[INFO] [stdout] 7 |   config.insert(String::from("tls"), string::from("false"));
[INFO] [stdout]   |                                      ^^^^^^
[INFO] [stdout]   |                                      |
[INFO] [stdout]   |                                      use of undeclared crate or module `string`
[INFO] [stdout]   |                                      help: a struct with a similar name exists (notice the capitalization): `String`
[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] 3 | / async {
[INFO] [stdout] 4 | |   let mut config = HashMap::new();
[INFO] [stdout] 5 | |   config.insert(String::from("connect"), string::from("127.0.0.1:9000"));
[INFO] [stdout] 6 | |   config.insert(String::from("unix"), string::from("false"));
[INFO] [stdout] 7 | |   config.insert(String::from("tls"), string::from("false"));
[INFO] [stdout] 8 | |   let connection = Connection::from_config(&config).await?;
[INFO] [stdout]   | |                                                          ^ cannot use the `?` operator in an async block that returns `()`
[INFO] [stdout] 9 | | }
[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/connection.rs:91:1
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connection_rs_90_0() {
[INFO] [stdout]   |                                                                                 - help: try adding a return type: `-> impl Future<Output = ()>`
[INFO] [stdout] 3 | / async {
[INFO] [stdout] 4 | |   let mut config = HashMap::new();
[INFO] [stdout] 5 | |   config.insert(String::from("connect"), string::from("127.0.0.1:9000"));
[INFO] [stdout] 6 | |   config.insert(String::from("unix"), string::from("false"));
[INFO] [stdout] 7 | |   config.insert(String::from("tls"), string::from("false"));
[INFO] [stdout] 8 | |   let connection = Connection::from_config(&config).await?;
[INFO] [stdout] 9 | | }
[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: 9:2}`
[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.11s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "2da029364535590d8f98c91e19bb48127560ab208d79555cb6ca1b3a416cd211", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2da029364535590d8f98c91e19bb48127560ab208d79555cb6ca1b3a416cd211", kill_on_drop: false }`
[INFO] [stdout] 2da029364535590d8f98c91e19bb48127560ab208d79555cb6ca1b3a416cd211
[INFO] testing libredr-common-0.0.18 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate libredr-common 0.0.18 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate libredr-common 0.0.18 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libredr-common 0.0.18
[INFO] finished tweaking crates.io crate libredr-common 0.0.18
[INFO] tweaked toml for crates.io crate libredr-common 0.0.18 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 156 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding embedded-io v0.4.0 (latest: v0.6.1)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding hash32 v0.2.1 (latest: v0.3.1)
[INFO] [stderr]       Adding heapless v0.7.17 (latest: v0.8.0)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding shadow-rs v0.27.1 (latest: v0.28.0)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-core v0.52.0 (latest: v0.56.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 762715c3f82e497545ef1cf3f69743195c928f7eecaf1600bb2ad16d27b89c31
[INFO] running `Command { std: "docker" "start" "-a" "762715c3f82e497545ef1cf3f69743195c928f7eecaf1600bb2ad16d27b89c31", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "762715c3f82e497545ef1cf3f69743195c928f7eecaf1600bb2ad16d27b89c31", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "762715c3f82e497545ef1cf3f69743195c928f7eecaf1600bb2ad16d27b89c31", kill_on_drop: false }`
[INFO] [stdout] 762715c3f82e497545ef1cf3f69743195c928f7eecaf1600bb2ad16d27b89c31
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 41fd9025be3ef266b13c406ce6e96fbf4a3cd92b3712b0d16c979acaebcdda7d
[INFO] running `Command { std: "docker" "start" "-a" "41fd9025be3ef266b13c406ce6e96fbf4a3cd92b3712b0d16c979acaebcdda7d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling const_fn v0.4.10
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling jobserver v0.1.31
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling matrixmultiply v0.3.8
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling bytemuck v1.16.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling safe_arch v0.7.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling gimli v0.28.1
[INFO] [stderr]    Compiling zerocopy v0.7.34
[INFO] [stderr]    Compiling is_debug v1.0.1
[INFO] [stderr]    Compiling rawpointer v0.2.1
[INFO] [stderr]    Compiling heapless v0.7.17
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tz-rs v0.6.14
[INFO] [stderr]    Compiling wide v0.7.20
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling object v0.32.2
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling tzdb_data v0.1.2
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.32
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling hash32 v0.2.1
[INFO] [stderr]    Compiling miniz_oxide v0.7.3
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling libz-sys v1.1.18
[INFO] [stderr]    Compiling libgit2-sys v0.16.2+1.7.2
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]    Compiling blake3 v1.5.1
[INFO] [stderr]    Compiling const_format v0.2.32
[INFO] [stderr]    Compiling simba v0.8.1
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling addr2line v0.21.0
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling allocator-api2 v0.2.18
[INFO] [stderr]    Compiling constant_time_eq v0.3.0
[INFO] [stderr]    Compiling cobs v0.2.3
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling embedded-io v0.4.0
[INFO] [stderr]    Compiling tobj v4.0.2
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling configparser v3.0.4
[INFO] [stderr]    Compiling tzdb v0.6.1
[INFO] [stderr]    Compiling nalgebra-macros v0.2.1
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling uuid-macro-internal v1.8.0
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling nalgebra v0.32.5
[INFO] [stderr]    Compiling git2 v0.18.3
[INFO] [stderr]    Compiling uuid v1.8.0
[INFO] [stderr]    Compiling ndarray v0.15.6
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling shadow-rs v0.27.1
[INFO] [stderr]    Compiling postcard v1.0.8
[INFO] [stderr]    Compiling libredr-common v0.0.18 (/opt/rustwide/workdir)
[INFO] [stdout] warning: missing documentation for a constant
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/libredr-common-996326396ecc52b0/out/shadow.rs:454:1
[INFO] [stdout]     |
[INFO] [stdout] 454 | pub const CLAP_VERSION:&str = shadow_rs::formatcp!(r#"{}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:2:9
[INFO] [stdout]     |
[INFO] [stdout] 2   | #![warn(missing_docs)]
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.39s
[INFO] running `Command { std: "docker" "inspect" "41fd9025be3ef266b13c406ce6e96fbf4a3cd92b3712b0d16c979acaebcdda7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41fd9025be3ef266b13c406ce6e96fbf4a3cd92b3712b0d16c979acaebcdda7d", kill_on_drop: false }`
[INFO] [stdout] 41fd9025be3ef266b13c406ce6e96fbf4a3cd92b3712b0d16c979acaebcdda7d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a20266de8967bc25cf641a439c475b9bca6d86e13d73cb9637d028e64d0e98db
[INFO] running `Command { std: "docker" "start" "-a" "a20266de8967bc25cf641a439c475b9bca6d86e13d73cb9637d028e64d0e98db", kill_on_drop: false }`
[INFO] [stdout] warning: missing documentation for a constant
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/libredr-common-996326396ecc52b0/out/shadow.rs:454:1
[INFO] [stdout]     |
[INFO] [stdout] 454 | pub const CLAP_VERSION:&str = shadow_rs::formatcp!(r#"{}
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/lib.rs:2:9
[INFO] [stdout]     |
[INFO] [stdout] 2   | #![warn(missing_docs)]
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling libredr-common v0.0.18 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s
[INFO] running `Command { std: "docker" "inspect" "a20266de8967bc25cf641a439c475b9bca6d86e13d73cb9637d028e64d0e98db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a20266de8967bc25cf641a439c475b9bca6d86e13d73cb9637d028e64d0e98db", kill_on_drop: false }`
[INFO] [stdout] a20266de8967bc25cf641a439c475b9bca6d86e13d73cb9637d028e64d0e98db
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 14a65eb7eb1157bf421953638c05b7d3832dd2f2741338c9773eb5ca6333d0f7
[INFO] running `Command { std: "docker" "start" "-a" "14a65eb7eb1157bf421953638c05b7d3832dd2f2741338c9773eb5ca6333d0f7", kill_on_drop: false }`
[INFO] [stderr] warning: missing documentation for a constant
[INFO] [stderr]    --> /opt/rustwide/target/debug/build/libredr-common-996326396ecc52b0/out/shadow.rs:454:1
[INFO] [stderr]     |
[INFO] [stderr] 454 | pub const CLAP_VERSION:&str = shadow_rs::formatcp!(r#"{}
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]    --> src/lib.rs:2:9
[INFO] [stderr]     |
[INFO] [stderr] 2   | #![warn(missing_docs)]
[INFO] [stderr]     |         ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `libredr-common` (lib) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libredr_common-c47fffe661ee4cf6)
[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] 4 |   let mut config = HashMap::new();
[INFO] [stdout]   |                    ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use hashbrown::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::collections::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] 8 |   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] 2 + use libredr_common::connection::Connection;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `string`
[INFO] [stdout]  --> src/connection.rs:93:42
[INFO] [stdout]   |
[INFO] [stdout] 5 |   config.insert(String::from("connect"), string::from("127.0.0.1:9000"));
[INFO] [stdout]   |                                          ^^^^^^
[INFO] [stdout]   |                                          |
[INFO] [stdout]   |                                          use of undeclared crate or module `string`
[INFO] [stdout]   |                                          help: a struct with a similar name exists (notice the capitalization): `String`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `string`
[INFO] [stdout]  --> src/connection.rs:94:39
[INFO] [stdout]   |
[INFO] [stdout] 6 |   config.insert(String::from("unix"), string::from("false"));
[INFO] [stdout]   |                                       ^^^^^^
[INFO] [stdout]   |                                       |
[INFO] [stdout]   |                                       use of undeclared crate or module `string`
[INFO] [stdout]   |                                       help: a struct with a similar name exists (notice the capitalization): `String`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `string`
[INFO] [stdout]  --> src/connection.rs:95:38
[INFO] [stdout]   |
[INFO] [stdout] 7 |   config.insert(String::from("tls"), string::from("false"));
[INFO] [stdout]   |                                      ^^^^^^
[INFO] [stdout]   |                                      |
[INFO] [stdout]   |                                      use of undeclared crate or module `string`
[INFO] [stdout]   |                                      help: a struct with a similar name exists (notice the capitalization): `String`
[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] 3 | / async {
[INFO] [stdout] 4 | |   let mut config = HashMap::new();
[INFO] [stdout] 5 | |   config.insert(String::from("connect"), string::from("127.0.0.1:9000"));
[INFO] [stdout] 6 | |   config.insert(String::from("unix"), string::from("false"));
[INFO] [stdout] 7 | |   config.insert(String::from("tls"), string::from("false"));
[INFO] [stdout] 8 | |   let connection = Connection::from_config(&config).await?;
[INFO] [stdout]   | |                                                          ^ cannot use the `?` operator in an async block that returns `()`
[INFO] [stdout] 9 | | }
[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/connection.rs:91:1
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_connection_rs_90_0() {
[INFO] [stdout]   |                                                                                 - help: try adding a return type: `-> impl Future<Output = ()>`
[INFO] [stdout] 3 | / async {
[INFO] [stdout] 4 | |   let mut config = HashMap::new();
[INFO] [stdout] 5 | |   config.insert(String::from("connect"), string::from("127.0.0.1:9000"));
[INFO] [stdout] 6 | |   config.insert(String::from("unix"), string::from("false"));
[INFO] [stdout] 7 | |   config.insert(String::from("tls"), string::from("false"));
[INFO] [stdout] 8 | |   let connection = Connection::from_config(&config).await?;
[INFO] [stdout] 9 | | }
[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: 9:2}`
[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.12s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "14a65eb7eb1157bf421953638c05b7d3832dd2f2741338c9773eb5ca6333d0f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14a65eb7eb1157bf421953638c05b7d3832dd2f2741338c9773eb5ca6333d0f7", kill_on_drop: false }`
[INFO] [stdout] 14a65eb7eb1157bf421953638c05b7d3832dd2f2741338c9773eb5ca6333d0f7
