[INFO] fetching crate groupcache 0.2.1... [INFO] testing groupcache-0.2.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate groupcache 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate groupcache 0.2.1 [INFO] finished tweaking crates.io crate groupcache 0.2.1 [INFO] tweaked toml for crates.io crate groupcache 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate groupcache 0.2.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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 183 packages to latest compatible versions [INFO] [stderr] Adding axum v0.6.20 (available: v0.8.6) [INFO] [stderr] Adding metrics v0.22.4 (available: v0.24.2) [INFO] [stderr] Adding rstest v0.18.2 (available: v0.26.1) [INFO] [stderr] Adding singleflight-async v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tonic v0.10.2 (available: v0.14.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_path_to_error v0.1.20 [INFO] [stderr] Downloaded hashring v0.3.6 [INFO] [stderr] Downloaded groupcache-pb v0.1.0 [INFO] [stderr] Downloaded metrics v0.22.4 [INFO] [stderr] Downloaded rstest v0.18.2 [INFO] [stderr] Downloaded rstest_macros v0.18.2 [INFO] [stderr] Downloaded singleflight-async v0.1.3 [INFO] [stderr] Downloaded moka v0.12.11 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] accbce1fd1797893d94631e07d03736a55b017a196ea95276cd3cd8903338c83 [INFO] running `Command { std: "docker" "start" "-a" "accbce1fd1797893d94631e07d03736a55b017a196ea95276cd3cd8903338c83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "accbce1fd1797893d94631e07d03736a55b017a196ea95276cd3cd8903338c83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "accbce1fd1797893d94631e07d03736a55b017a196ea95276cd3cd8903338c83", kill_on_drop: false }` [INFO] [stdout] accbce1fd1797893d94631e07d03736a55b017a196ea95276cd3cd8903338c83 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 647740ae47d44a40c8e4c60002c7316a5d3f73eba61301ab91f5285b767a2fcc [INFO] running `Command { std: "docker" "start" "-a" "647740ae47d44a40c8e4c60002c7316a5d3f73eba61301ab91f5285b767a2fcc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling moka v0.12.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling hashring v0.3.6 [INFO] [stderr] Compiling metrics v0.22.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling singleflight-async v0.1.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling tonic-build v0.10.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.10.2 [INFO] [stderr] Compiling groupcache-pb v0.1.0 [INFO] [stderr] Compiling groupcache v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "647740ae47d44a40c8e4c60002c7316a5d3f73eba61301ab91f5285b767a2fcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "647740ae47d44a40c8e4c60002c7316a5d3f73eba61301ab91f5285b767a2fcc", kill_on_drop: false }` [INFO] [stdout] 647740ae47d44a40c8e4c60002c7316a5d3f73eba61301ab91f5285b767a2fcc [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8e7d3f94dbd78027bc4e5831a207c4bbc9b1cebcc335ff68d0d82f8d6344289 [INFO] running `Command { std: "docker" "start" "-a" "f8e7d3f94dbd78027bc4e5831a207c4bbc9b1cebcc335ff68d0d82f8d6344289", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling moka v0.12.11 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rstest v0.18.2 [INFO] [stderr] Compiling tonic-build v0.10.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling singleflight-async v0.1.3 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling tonic v0.10.2 [INFO] [stderr] Compiling groupcache-pb v0.1.0 [INFO] [stderr] Compiling groupcache v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "f8e7d3f94dbd78027bc4e5831a207c4bbc9b1cebcc335ff68d0d82f8d6344289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8e7d3f94dbd78027bc4e5831a207c4bbc9b1cebcc335ff68d0d82f8d6344289", kill_on_drop: false }` [INFO] [stdout] f8e7d3f94dbd78027bc4e5831a207c4bbc9b1cebcc335ff68d0d82f8d6344289 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 79d77d8f1c531262e17edc796533fb77053deda92ffb82a1f4c812f42772d3cd [INFO] running `Command { std: "docker" "start" "-a" "79d77d8f1c531262e17edc796533fb77053deda92ffb82a1f4c812f42772d3cd", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/groupcache-24654e6d4de9c19f) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/groupcache_test.rs (/opt/rustwide/target/debug/deps/groupcache_test-293cc4f87cba88b0) [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test builder_api_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-67dfcbdcac02d40d) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test test_when_remote_get_fails_during_load_then_load_locally ... ok [INFO] [stdout] test test_when_there_is_only_one_peer_it_should_handle_entire_key_space ... ok [INFO] [stdout] test test_when_peers_are_healthy_they_should_respond_to_queries ... ok [INFO] [stdout] test when_kv_is_loaded_it_should_be_cached_by_the_owner ... ok [INFO] [stdout] test test_when_peer_is_removed_traffic_is_no_longer_routed_to_it ... ok [INFO] [stdout] test test_when_peer_disconnects_requests_should_fail_with_transport_error ... ok [INFO] [stdout] test when_key_is_removed_then_it_should_be_removed_from_owner ... ok [INFO] [stdout] test test_when_peer_reconnects_it_should_respond_to_queries ... ok [INFO] [stdout] test when_kv_is_loaded_it_should_be_cached_in_hot_cache ... ok [INFO] [stdout] test when_new_peer_joins_it_should_receive_requests ... ok [INFO] [stdout] test test_healthy_peers_added_despite_one_unhealthy ... ok [INFO] [stdout] test test_set_peers_updates_routing_table ... ok [INFO] [stdout] test test_when_there_are_multiple_instances_each_should_own_portion_of_key_space ... ok [INFO] [stdout] test when_kv_is_saved_in_hot_cache_it_should_expire_according_to_ttl ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] Running tests/metrics_test.rs (/opt/rustwide/target/debug/deps/metrics_test-3f7a8c124ac872ea) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test metrics_on_cached_local_load::case_1_get ... ok [INFO] [stdout] test metrics_on_cached_local_load::case_3_cache_hit ... ok [INFO] [stdout] test metrics_on_fresh_local_load::case_1_get ... ok [INFO] [stdout] test metrics_on_cached_local_load::case_2_local_load ... ok [INFO] [stdout] test metrics_on_load_failure::case_2_load_error ... ok [INFO] [stdout] test metrics_on_load_failure::case_1_load_error ... ok [INFO] [stdout] test metrics_on_fresh_local_load::case_2_local_load ... ok [INFO] [stdout] test metrics_on_remote_load_failure::case_4_remote_load_errors ... ok [INFO] [stdout] test metrics_on_remote_load_test::case_3_remote_loads ... ok [INFO] [stdout] test metrics_on_remote_load_failure::case_1_get ... ok [INFO] [stdout] test metrics_on_remote_load_failure::case_3_remote_loads ... ok [INFO] [stdout] test metrics_on_remote_load_test::case_2_get_server_reqs ... ok [INFO] [stdout] test metrics_on_remote_load_failure::case_2_get_server_reqs ... ok [INFO] [stdout] test metrics_on_remote_load_test::case_1_get ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] Doc-tests groupcache [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/groupcache.rs - groupcache::ValueBounds (line 205) ... FAILED [INFO] [stdout] test src/groupcache.rs - groupcache::ValueBounds (line 192) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/groupcache.rs - groupcache::ValueBounds (line 205) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `Arc: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/groupcache.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 7 | struct Wrapped (Arc); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Arc` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Arc` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 141 others [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Arc: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/groupcache.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 7 | struct Wrapped (Arc); [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Arc` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Arc` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 141 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1771:12 [INFO] [stdout] | [INFO] [stdout] 1769 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1770 | where [INFO] [stdout] 1771 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Arc: serde::Serialize` is not satisfied [INFO] [stdout] --> src/groupcache.rs:209:34 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `Arc` [INFO] [stdout] 7 | struct Wrapped (Arc); [INFO] [stdout] | ----------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Arc` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 128 others [INFO] [stdout] note: required by a bound in `serialize_newtype_struct` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:922:21 [INFO] [stdout] | [INFO] [stdout] 916 | fn serialize_newtype_struct( [INFO] [stdout] | ------------------------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 922 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Serializer::serialize_newtype_struct` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (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] [INFO] [stdout] failures: [INFO] [stdout] src/groupcache.rs - groupcache::ValueBounds (line 205) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "79d77d8f1c531262e17edc796533fb77053deda92ffb82a1f4c812f42772d3cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79d77d8f1c531262e17edc796533fb77053deda92ffb82a1f4c812f42772d3cd", kill_on_drop: false }` [INFO] [stdout] 79d77d8f1c531262e17edc796533fb77053deda92ffb82a1f4c812f42772d3cd