[INFO] cloning repository https://github.com/dierbei/http-distributed-kv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dierbei/http-distributed-kv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdierbei%2Fhttp-distributed-kv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdierbei%2Fhttp-distributed-kv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdd5aeb85fcc7c18ef543f0f9e91d252e4d4fc30 [INFO] testing dierbei/http-distributed-kv against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdierbei%2Fhttp-distributed-kv" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dierbei/http-distributed-kv on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dierbei/http-distributed-kv [INFO] finished tweaking git repo https://github.com/dierbei/http-distributed-kv [INFO] tweaked toml for git repo https://github.com/dierbei/http-distributed-kv written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dierbei/http-distributed-kv 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/TheDhejavu/gossipod` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded metrics v0.23.0 [INFO] [stderr] Downloaded madsim-macros v0.2.12 [INFO] [stderr] Downloaded panic-message v0.3.0 [INFO] [stderr] Downloaded madsim-tokio v0.2.30 [INFO] [stderr] Downloaded naive-timer v0.2.0 [INFO] [stderr] Downloaded cmsketch v0.2.1 [INFO] [stderr] Downloaded foyer v0.12.0 [INFO] [stderr] Downloaded foyer-intrusive v0.12.0 [INFO] [stderr] Downloaded array-util v1.0.2 [INFO] [stderr] Downloaded rtrb v0.3.1 [INFO] [stderr] Downloaded foyer-memory v0.12.0 [INFO] [stderr] Downloaded foyer-storage v0.12.0 [INFO] [stderr] Downloaded madsim v0.2.30 [INFO] [stderr] Downloaded minstant v0.1.7 [INFO] [stderr] Downloaded fastrace v0.7.3 [INFO] [stderr] Downloaded ordered_hash_map v0.4.0 [INFO] [stderr] Downloaded fastrace-macro v0.7.3 [INFO] [stderr] Downloaded foyer-common v0.12.0 [INFO] [stderr] Downloaded web-sys v0.3.71 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06f39a58705f319d7f81a70fd4c0f18ce7518938fae32b0c1eaa80530a623327 [INFO] running `Command { std: "docker" "start" "-a" "06f39a58705f319d7f81a70fd4c0f18ce7518938fae32b0c1eaa80530a623327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06f39a58705f319d7f81a70fd4c0f18ce7518938fae32b0c1eaa80530a623327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06f39a58705f319d7f81a70fd4c0f18ce7518938fae32b0c1eaa80530a623327", kill_on_drop: false }` [INFO] [stdout] 06f39a58705f319d7f81a70fd4c0f18ce7518938fae32b0c1eaa80530a623327 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed72b1c7168a3e6cb0135ef54a361f1bd3ce95558a6ea51c010d3c5f928fe871 [INFO] running `Command { std: "docker" "start" "-a" "ed72b1c7168a3e6cb0135ef54a361f1bd3ce95558a6ea51c010d3c5f928fe871", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling cc v1.1.28 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rtrb v0.3.1 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling cmsketch v0.2.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Compiling array-util v1.0.2 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling fs4 v0.9.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling raw-cpuid v11.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling moka v0.12.8 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling sysinfo v0.31.4 [INFO] [stderr] Compiling gethostname v0.5.0 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling derive_utils v0.14.2 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling triomphe v0.1.11 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling minstant v0.1.7 [INFO] [stderr] Compiling quanta v0.12.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.6 [INFO] [stderr] Compiling fastrace-macro v0.7.3 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling auto_enums v0.8.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project v1.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling metrics v0.23.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling ordered_hash_map v0.4.0 [INFO] [stderr] Compiling fastrace v0.7.3 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling madsim-tokio v0.2.30 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling gossipod-runtime v0.1.0 (https://github.com/TheDhejavu/gossipod#4a3c5159) [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling foyer-common v0.12.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling axum v0.7.7 [INFO] [stderr] Compiling foyer-intrusive v0.12.0 [INFO] [stderr] Compiling gossipod v0.1.0 (https://github.com/TheDhejavu/gossipod#4a3c5159) [INFO] [stderr] Compiling foyer-memory v0.12.0 [INFO] [stderr] Compiling lz4 v1.28.0 [INFO] [stderr] Compiling foyer-storage v0.12.0 [INFO] [stderr] Compiling foyer v0.12.0 [INFO] [stderr] Compiling untitled v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "ed72b1c7168a3e6cb0135ef54a361f1bd3ce95558a6ea51c010d3c5f928fe871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed72b1c7168a3e6cb0135ef54a361f1bd3ce95558a6ea51c010d3c5f928fe871", kill_on_drop: false }` [INFO] [stdout] ed72b1c7168a3e6cb0135ef54a361f1bd3ce95558a6ea51c010d3c5f928fe871 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba140baba36ea16abdbac5f77323a71125d3b918fb626d007264ea2de5328813 [INFO] running `Command { std: "docker" "start" "-a" "ba140baba36ea16abdbac5f77323a71125d3b918fb626d007264ea2de5328813", kill_on_drop: false }` [INFO] [stderr] Compiling untitled v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.68s [INFO] running `Command { std: "docker" "inspect" "ba140baba36ea16abdbac5f77323a71125d3b918fb626d007264ea2de5328813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba140baba36ea16abdbac5f77323a71125d3b918fb626d007264ea2de5328813", kill_on_drop: false }` [INFO] [stdout] ba140baba36ea16abdbac5f77323a71125d3b918fb626d007264ea2de5328813 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3914ef661ebe3f27dca5854ed3fd23dd4cb558208198e8891c81d14d7768cec7 [INFO] running `Command { std: "docker" "start" "-a" "3914ef661ebe3f27dca5854ed3fd23dd4cb558208198e8891c81d14d7768cec7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/untitled-e57f342b025b5618) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test foyer_cache::tests::test_foyer_cache ... ok [INFO] [stdout] test moka_cache::tests::test_moka_cache ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/untitled-e6d8518421f464f1) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test foyer_cache::tests::test_foyer_cache ... 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] Doc-tests untitled [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/moka_cache.rs - moka_cache::MokaCache::new (line 39) ... FAILED [INFO] [stdout] test src/foyer_cache.rs - foyer_cache::FoyerCache::new (line 38) ... FAILED [INFO] [stdout] test src/moka_cache.rs - moka_cache::MokaCache::remove (line 106) ... FAILED [INFO] [stdout] test src/http_server.rs - http_server::start (line 34) ... FAILED [INFO] [stdout] test src/utils.rs - utils::parse_address (line 30) ... FAILED [INFO] [stdout] test src/cache_trait.rs - cache_trait::BCache (line 23) ... FAILED [INFO] [stdout] test src/foyer_cache.rs - foyer_cache::FoyerCache::insert (line 59) ... FAILED [INFO] [stdout] test src/foyer_cache.rs - foyer_cache::FoyerCache::get (line 82) ... FAILED [INFO] [stdout] test src/foyer_cache.rs - foyer_cache::FoyerCache (line 14) ... FAILED [INFO] [stdout] test src/log.rs - log::setup_tracing (line 30) ... FAILED [INFO] [stdout] test src/moka_cache.rs - moka_cache::MokaCache::get (line 83) ... FAILED [INFO] [stdout] test src/moka_cache.rs - moka_cache::MokaCache::insert (line 60) ... FAILED [INFO] [stdout] test src/moka_cache.rs - moka_cache::MokaCache (line 14) ... FAILED [INFO] [stdout] test src/cache_trait.rs - cache_trait::sync_data (line 110) ... FAILED [INFO] [stdout] test src/foyer_cache.rs - foyer_cache::FoyerCache::remove (line 105) ... FAILED [INFO] [stdout] test src/utils.rs - utils::parse_address (line 37) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/moka_cache.rs - moka_cache::MokaCache::new (line 39) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MokaCache` [INFO] [stdout] --> src/moka_cache.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 3 | let cache = MokaCache::new(10).await; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MokaCache` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use untitled::moka_cache::MokaCache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/moka_cache.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_moka_cache_rs_39_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | let cache = MokaCache::new(10).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] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/foyer_cache.rs - foyer_cache::FoyerCache::new (line 38) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FoyerCache` [INFO] [stdout] --> src/foyer_cache.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 3 | let cache = FoyerCache::new(10).await; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FoyerCache` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use untitled::foyer_cache::FoyerCache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/foyer_cache.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_foyer_cache_rs_38_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] 3 | let cache = FoyerCache::new(10).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] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/moka_cache.rs - moka_cache::MokaCache::remove (line 106) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `cache` in this scope [INFO] [stdout] --> src/moka_cache.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 3 | cache.remove("key".to_string()).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/moka_cache.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_moka_cache_rs_106_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] 3 | cache.remove("key".to_string()).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] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_server.rs - http_server::start (line 34) stdout ---- [INFO] [stdout] error[E0423]: expected function, found built-in attribute `start` [INFO] [stdout] --> src/http_server.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 3 | let receiver = start("127.0.0.1:8080".to_string(), bcache).await?; [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use untitled::http_server::start; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `bcache` in this scope [INFO] [stdout] --> src/http_server.rs:35:52 [INFO] [stdout] | [INFO] [stdout] 3 | let receiver = start("127.0.0.1:8080".to_string(), bcache).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/http_server.rs:35:60 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_http_server_rs_34_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] 3 | let receiver = start("127.0.0.1:8080".to_string(), bcache).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::parse_address (line 30) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `parse_address` in this scope [INFO] [stdout] --> src/utils.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 3 | let addr = parse_address(Some("127.0.0.1:8080".to_string())).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use untitled::utils::parse_address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cache_trait.rs - cache_trait::BCache (line 23) stdout ---- [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> src/cache_trait.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 2 + use async_trait::async_trait; [INFO] [stdout] | [INFO] [stdout] 2 + use axum::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BCache` in this scope [INFO] [stdout] --> src/cache_trait.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl BCache for MyCache { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use untitled::cache_trait::BCache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/foyer_cache.rs - foyer_cache::FoyerCache::insert (line 59) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `cache` in this scope [INFO] [stdout] --> src/foyer_cache.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 3 | cache.insert("key".to_string(), "value".to_string()).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/foyer_cache.rs:60:54 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_foyer_cache_rs_59_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] 3 | cache.insert("key".to_string(), "value".to_string()).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] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/foyer_cache.rs - foyer_cache::FoyerCache::get (line 82) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `cache` in this scope [INFO] [stdout] --> src/foyer_cache.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 3 | let value = cache.get("key".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/foyer_cache.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_foyer_cache_rs_82_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] 3 | let value = cache.get("key".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/foyer_cache.rs - foyer_cache::FoyerCache (line 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FoyerCache` [INFO] [stdout] --> src/foyer_cache.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut cache = FoyerCache::new(2).await; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FoyerCache` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use untitled::foyer_cache::FoyerCache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/foyer_cache.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_foyer_cache_rs_14_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] 3 | let mut cache = FoyerCache::new(2).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/foyer_cache.rs:16:54 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_foyer_cache_rs_14_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] 3 | let mut cache = FoyerCache::new(2).await; [INFO] [stdout] 4 | cache.insert("key".to_string(), "value".to_string()).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/foyer_cache.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_foyer_cache_rs_14_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | assert_eq!(cache.get("key".to_string()).await.unwrap(), "value"); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/log.rs - log::setup_tracing (line 30) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `setup_tracing` in this scope [INFO] [stdout] --> src/log.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 3 | setup_tracing(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use untitled::log::setup_tracing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/moka_cache.rs - moka_cache::MokaCache::get (line 83) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `cache` in this scope [INFO] [stdout] --> src/moka_cache.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 3 | let value = cache.get("key".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/moka_cache.rs:84:42 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_moka_cache_rs_83_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | let value = cache.get("key".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/moka_cache.rs - moka_cache::MokaCache::insert (line 60) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `cache` in this scope [INFO] [stdout] --> src/moka_cache.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 3 | cache.insert("key".to_string(), "value".to_string()).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/moka_cache.rs:61:54 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_moka_cache_rs_60_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | cache.insert("key".to_string(), "value".to_string()).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] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/moka_cache.rs - moka_cache::MokaCache (line 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MokaCache` [INFO] [stdout] --> src/moka_cache.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 3 | let mut cache = MokaCache::new(100).await; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MokaCache` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use untitled::moka_cache::MokaCache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/moka_cache.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_moka_cache_rs_14_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | let mut cache = MokaCache::new(100).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/moka_cache.rs:16:54 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_moka_cache_rs_14_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | let mut cache = MokaCache::new(100).await; [INFO] [stdout] 4 | cache.insert("key".to_string(), "value".to_string()).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/moka_cache.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_moka_cache_rs_14_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | let value = cache.get("key".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cache_trait.rs - cache_trait::sync_data (line 110) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `sync_data` in this scope [INFO] [stdout] --> src/cache_trait.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 3 | sync_data(bcache, gossip, gossip_receiver, http_receiver).await?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use untitled::cache_trait::sync_data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `bcache` in this scope [INFO] [stdout] --> src/cache_trait.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 3 | sync_data(bcache, gossip, gossip_receiver, http_receiver).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gossip` in this scope [INFO] [stdout] --> src/cache_trait.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 3 | sync_data(bcache, gossip, gossip_receiver, http_receiver).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gossip_receiver` in this scope [INFO] [stdout] --> src/cache_trait.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 3 | sync_data(bcache, gossip, gossip_receiver, http_receiver).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `http_receiver` in this scope [INFO] [stdout] --> src/cache_trait.rs:111:44 [INFO] [stdout] | [INFO] [stdout] 3 | sync_data(bcache, gossip, gossip_receiver, http_receiver).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/cache_trait.rs:111:59 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_cache_trait_rs_110_0() { [INFO] [stdout] | ------------------------------------------- this is not `async` [INFO] [stdout] 3 | sync_data(bcache, gossip, gossip_receiver, http_receiver).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/foyer_cache.rs - foyer_cache::FoyerCache::remove (line 105) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `cache` in this scope [INFO] [stdout] --> src/foyer_cache.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 3 | cache.remove("key".to_string()).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/foyer_cache.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_foyer_cache_rs_105_0() { [INFO] [stdout] | ------------------------------------------- this is not `async` [INFO] [stdout] 3 | cache.remove("key".to_string()).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] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils.rs - utils::parse_address (line 37) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `parse_address` in this scope [INFO] [stdout] --> src/utils.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 3 | let result = parse_address(Some("invalid_address".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use untitled::utils::parse_address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/cache_trait.rs - cache_trait::BCache (line 23) [INFO] [stdout] src/cache_trait.rs - cache_trait::sync_data (line 110) [INFO] [stdout] src/foyer_cache.rs - foyer_cache::FoyerCache (line 14) [INFO] [stdout] src/foyer_cache.rs - foyer_cache::FoyerCache::get (line 82) [INFO] [stdout] src/foyer_cache.rs - foyer_cache::FoyerCache::insert (line 59) [INFO] [stdout] src/foyer_cache.rs - foyer_cache::FoyerCache::new (line 38) [INFO] [stdout] src/foyer_cache.rs - foyer_cache::FoyerCache::remove (line 105) [INFO] [stdout] src/http_server.rs - http_server::start (line 34) [INFO] [stdout] src/log.rs - log::setup_tracing (line 30) [INFO] [stdout] src/moka_cache.rs - moka_cache::MokaCache (line 14) [INFO] [stdout] src/moka_cache.rs - moka_cache::MokaCache::get (line 83) [INFO] [stdout] src/moka_cache.rs - moka_cache::MokaCache::insert (line 60) [INFO] [stdout] src/moka_cache.rs - moka_cache::MokaCache::new (line 39) [INFO] [stdout] src/moka_cache.rs - moka_cache::MokaCache::remove (line 106) [INFO] [stdout] src/utils.rs - utils::parse_address (line 30) [INFO] [stdout] src/utils.rs - utils::parse_address (line 37) [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test result: FAILED. 0 passed; 16 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.95s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3914ef661ebe3f27dca5854ed3fd23dd4cb558208198e8891c81d14d7768cec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3914ef661ebe3f27dca5854ed3fd23dd4cb558208198e8891c81d14d7768cec7", kill_on_drop: false }` [INFO] [stdout] 3914ef661ebe3f27dca5854ed3fd23dd4cb558208198e8891c81d14d7768cec7