[INFO] fetching crate replitdb 0.1.3... [INFO] testing replitdb-0.1.3 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate replitdb 0.1.3 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate replitdb 0.1.3 [INFO] finished tweaking crates.io crate replitdb 0.1.3 [INFO] tweaked toml for crates.io crate replitdb 0.1.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate replitdb 0.1.3 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 159 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded urlencoding v2.1.3 [INFO] [stderr] Downloaded rustls-pemfile v1.0.4 [INFO] [stderr] Downloaded http-body v0.4.6 [INFO] [stderr] Downloaded hyper-tls v0.5.0 [INFO] [stderr] Downloaded reqwest v0.11.27 [INFO] [stderr] Downloaded http v0.2.12 [INFO] [stderr] Downloaded hyper v0.14.32 [INFO] [stderr] Downloaded h2 v0.3.27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae7fdcd232b55aa5220d414fbdcb50e8fb541a4659b68a524c92b8017a5a0bbe [INFO] running `Command { std: "docker" "start" "-a" "ae7fdcd232b55aa5220d414fbdcb50e8fb541a4659b68a524c92b8017a5a0bbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae7fdcd232b55aa5220d414fbdcb50e8fb541a4659b68a524c92b8017a5a0bbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae7fdcd232b55aa5220d414fbdcb50e8fb541a4659b68a524c92b8017a5a0bbe", kill_on_drop: false }` [INFO] [stdout] ae7fdcd232b55aa5220d414fbdcb50e8fb541a4659b68a524c92b8017a5a0bbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7eb41805af8e8f3a31d19baf826f4bc1c7087f997968ff29fcd4e598b48a8012 [INFO] running `Command { std: "docker" "start" "-a" "7eb41805af8e8f3a31d19baf826f4bc1c7087f997968ff29fcd4e598b48a8012", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [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 openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling replitdb v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.37s [INFO] running `Command { std: "docker" "inspect" "7eb41805af8e8f3a31d19baf826f4bc1c7087f997968ff29fcd4e598b48a8012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eb41805af8e8f3a31d19baf826f4bc1c7087f997968ff29fcd4e598b48a8012", kill_on_drop: false }` [INFO] [stdout] 7eb41805af8e8f3a31d19baf826f4bc1c7087f997968ff29fcd4e598b48a8012 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89a1780a581f7682f5c4abbf9ba7b4ed6338e6e883a8062f2bbf500b9085a230 [INFO] running `Command { std: "docker" "start" "-a" "89a1780a581f7682f5c4abbf9ba7b4ed6338e6e883a8062f2bbf500b9085a230", kill_on_drop: false }` [INFO] [stderr] Compiling replitdb v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "89a1780a581f7682f5c4abbf9ba7b4ed6338e6e883a8062f2bbf500b9085a230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89a1780a581f7682f5c4abbf9ba7b4ed6338e6e883a8062f2bbf500b9085a230", kill_on_drop: false }` [INFO] [stdout] 89a1780a581f7682f5c4abbf9ba7b4ed6338e6e883a8062f2bbf500b9085a230 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 96a4e77b02b30d611634b0770cac605f9459fb214f6c5e7518d9491c2fea361b [INFO] running `Command { std: "docker" "start" "-a" "96a4e77b02b30d611634b0770cac605f9459fb214f6c5e7518d9491c2fea361b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/replitdb-8c3f6ec6a3e2b965) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests replitdb [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/sync_client.rs - sync_client::Client (line 14) ... FAILED [INFO] [stdout] test src/async_client.rs - async_client::Client (line 14) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/sync_client.rs - sync_client::Client (line 14) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sync_client.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_client_rs_14_0() { [INFO] [stdout] | ------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 5 | let client = replitdb::SyncClient::new(); [INFO] [stdout] 6 | client.set("greeting", "hello world")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_client_rs_14_0() -> Result<(), Box> { [INFO] [stdout] 5 | let client = replitdb::SyncClient::new(); [INFO] [stdout] 6 | client.set("greeting", "hello world")?; [INFO] [stdout] 7 | println!("{}", client.get("greeting")?); [INFO] [stdout] 8 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/sync_client.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_client_rs_14_0() { [INFO] [stdout] | ------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | println!("{}", client.get("greeting")?); [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_sync_client_rs_14_0() -> Result<(), Box> { [INFO] [stdout] 5 | let client = replitdb::SyncClient::new(); [INFO] [stdout] 6 | client.set("greeting", "hello world")?; [INFO] [stdout] 7 | println!("{}", client.get("greeting")?); [INFO] [stdout] 8 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: `Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/sync_client.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 7 | println!("{}", client.get("greeting")?); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^ `Option` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Option` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/async_client.rs - async_client::Client (line 14) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/async_client.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_async_client_rs_14_0() { [INFO] [stdout] | ------------------------------------------- this is not `async` [INFO] [stdout] 5 | let client = replitdb::AsyncClient::new(); [INFO] [stdout] 6 | client.set("greeting", "hello world").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/async_client.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_async_client_rs_14_0() { [INFO] [stdout] | ------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | println!("{}", client.get("greeting").await?); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/async_client.rs - async_client::Client (line 14) [INFO] [stdout] src/sync_client.rs - sync_client::Client (line 14) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "96a4e77b02b30d611634b0770cac605f9459fb214f6c5e7518d9491c2fea361b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96a4e77b02b30d611634b0770cac605f9459fb214f6c5e7518d9491c2fea361b", kill_on_drop: false }` [INFO] [stdout] 96a4e77b02b30d611634b0770cac605f9459fb214f6c5e7518d9491c2fea361b