[INFO] fetching crate hitbox 0.1.1... [INFO] checking hitbox-0.1.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate hitbox 0.1.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate hitbox 0.1.1 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hitbox 0.1.1 [INFO] finished tweaking crates.io crate hitbox 0.1.1 [INFO] tweaked toml for crates.io crate hitbox 0.1.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0313238c49aeeedcbb553c1535bedd6dde21faf4b03dbe744813aaf605438bb0 [INFO] running `Command { std: "docker" "start" "-a" "0313238c49aeeedcbb553c1535bedd6dde21faf4b03dbe744813aaf605438bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0313238c49aeeedcbb553c1535bedd6dde21faf4b03dbe744813aaf605438bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0313238c49aeeedcbb553c1535bedd6dde21faf4b03dbe744813aaf605438bb0", kill_on_drop: false }` [INFO] [stdout] 0313238c49aeeedcbb553c1535bedd6dde21faf4b03dbe744813aaf605438bb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cedb2d3fde93da63326ad351ab17d55eaeef54d5623a9be550604c3261a2a03f [INFO] running `Command { std: "docker" "start" "-a" "cedb2d3fde93da63326ad351ab17d55eaeef54d5623a9be550604c3261a2a03f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking actix v0.10.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking hitbox-backend v0.1.1 [INFO] [stderr] Checking actix-http v2.2.0 [INFO] [stderr] Checking hitbox v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.2 [INFO] [stdout] error: cannot find derive macro `Cacheable` in this scope [INFO] [stdout] --> tests/cacheable_derive.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Cacheable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Cacheable` in this scope [INFO] [stdout] --> tests/cacheable_derive.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Cacheable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Cacheable` in this scope [INFO] [stdout] --> tests/cacheable_derive.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Cacheable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Cacheable` in this scope [INFO] [stdout] --> tests/cacheable_derive.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Cacheable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Cacheable` in this scope [INFO] [stdout] --> tests/cacheable_derive.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Cacheable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Cacheable` in this scope [INFO] [stdout] --> tests/cacheable_derive.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | #[derive(Cacheable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Cacheable` in this scope [INFO] [stdout] --> tests/cacheable_derive.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Cacheable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cache_ttl` in this scope [INFO] [stdout] --> tests/cacheable_derive.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | #[cache_ttl(42)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cache_stale_ttl` in this scope [INFO] [stdout] --> tests/cacheable_derive.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | #[cache_stale_ttl(30)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cache_version` in this scope [INFO] [stdout] --> tests/cacheable_derive.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | #[cache_version(1)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Cacheable` in this scope [INFO] [stdout] --> tests/cacheable_derive.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | #[derive(Cacheable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `CacheableResponse` in this scope [INFO] [stdout] --> tests/cacheable_response_derive.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(CacheableResponse, Serialize, Clone, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `CacheableResponse` in this scope [INFO] [stdout] --> tests/cacheable_response_derive.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(CacheableResponse, Serialize, Clone, Debug, Eq, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cache_key` found for struct `Message` in the current scope [INFO] [stdout] --> tests/cacheable_derive.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Message { [INFO] [stdout] | -------------- method `cache_key` not found for this [INFO] [stdout] ... [INFO] [stdout] 17 | message.cache_key().unwrap(), [INFO] [stdout] | ^^^^^^^^^ method not found in `Message` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cache_key`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `hitbox::Cacheable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cache_key` found for struct `PartialSerializeMessage` in the current scope [INFO] [stdout] --> tests/cacheable_derive.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 24 | struct PartialSerializeMessage { [INFO] [stdout] | ------------------------------ method `cache_key` not found for this [INFO] [stdout] ... [INFO] [stdout] 37 | message.cache_key().unwrap(), [INFO] [stdout] | ^^^^^^^^^ method not found in `PartialSerializeMessage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cache_key`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `hitbox::Cacheable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cache_key` found for struct `VecMessage` in the current scope [INFO] [stdout] --> tests/cacheable_derive.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 43 | struct VecMessage { [INFO] [stdout] | ----------------- method `cache_key` not found for this [INFO] [stdout] ... [INFO] [stdout] 51 | message.cache_key().unwrap(), [INFO] [stdout] | ^^^^^^^^^ method not found in `VecMessage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cache_key`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `hitbox::Cacheable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cache_key` found for struct `EnumMessage` in the current scope [INFO] [stdout] --> tests/cacheable_derive.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 62 | struct EnumMessage { [INFO] [stdout] | ------------------ method `cache_key` not found for this [INFO] [stdout] ... [INFO] [stdout] 72 | message.cache_key().unwrap(), [INFO] [stdout] | ^^^^^^^^^ method not found in `EnumMessage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cache_key`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `hitbox::Cacheable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cache_key` found for struct `TupleEnumMessage` in the current scope [INFO] [stdout] --> tests/cacheable_derive.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 83 | struct TupleEnumMessage { [INFO] [stdout] | ----------------------- method `cache_key` not found for this [INFO] [stdout] ... [INFO] [stdout] 93 | message.cache_key().unwrap(), [INFO] [stdout] | ^^^^^^^^^ method not found in `TupleEnumMessage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cache_key`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `hitbox::Cacheable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cache_key` found for struct `TupleMessage` in the current scope [INFO] [stdout] --> tests/cacheable_derive.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 100 | struct TupleMessage(i32); [INFO] [stdout] | ------------------------- method `cache_key` not found for this [INFO] [stdout] ... [INFO] [stdout] 105 | assert!(message.cache_key().is_err()); [INFO] [stdout] | ^^^^^^^^^ method not found in `TupleMessage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cache_key`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `hitbox::Cacheable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cache_ttl` found for struct `MacroHelpersMessage` in the current scope [INFO] [stdout] --> tests/cacheable_derive.rs:119:24 [INFO] [stdout] | [INFO] [stdout] 112 | struct MacroHelpersMessage { [INFO] [stdout] | -------------------------- method `cache_ttl` not found for this [INFO] [stdout] ... [INFO] [stdout] 119 | assert_eq!(message.cache_ttl(), 42); [INFO] [stdout] | ^^^^^^^^^ method not found in `MacroHelpersMessage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cache_ttl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `hitbox::Cacheable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cache_stale_ttl` found for struct `MacroHelpersMessage` in the current scope [INFO] [stdout] --> tests/cacheable_derive.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 112 | struct MacroHelpersMessage { [INFO] [stdout] | -------------------------- method `cache_stale_ttl` not found for this [INFO] [stdout] ... [INFO] [stdout] 120 | assert_eq!(message.cache_stale_ttl(), 30); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `MacroHelpersMessage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cache_stale_ttl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `hitbox::Cacheable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_cache_policy` found for struct `Message` in the current scope [INFO] [stdout] --> tests/cacheable_response_derive.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 5 | struct Message { [INFO] [stdout] | -------------- method `into_cache_policy` not found for this [INFO] [stdout] ... [INFO] [stdout] 16 | let policy = message.clone().into_cache_policy(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Message` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `into_cache_policy`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CacheableResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cache_version` found for struct `MacroHelpersMessage` in the current scope [INFO] [stdout] --> tests/cacheable_derive.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 112 | struct MacroHelpersMessage { [INFO] [stdout] | -------------------------- method `cache_version` not found for this [INFO] [stdout] ... [INFO] [stdout] 121 | assert_eq!(message.cache_version(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `MacroHelpersMessage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cache_version`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `hitbox::Cacheable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_cache_policy` found for enum `EnumMessage` in the current scope [INFO] [stdout] --> tests/cacheable_response_derive.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 24 | enum EnumMessage { [INFO] [stdout] | ---------------- method `into_cache_policy` not found for this [INFO] [stdout] ... [INFO] [stdout] 31 | let policy = message.clone().into_cache_policy(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `EnumMessage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `into_cache_policy`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `CacheableResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CacheableResponse` [INFO] [stdout] --> tests/cacheable_response_derive.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use hitbox::{CachePolicy, CacheableResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cache_key` found for struct `MacroHelpersMessage` in the current scope [INFO] [stdout] --> tests/cacheable_derive.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 112 | struct MacroHelpersMessage { [INFO] [stdout] | -------------------------- method `cache_key` not found for this [INFO] [stdout] ... [INFO] [stdout] 123 | message.cache_key().unwrap(), [INFO] [stdout] | ^^^^^^^^^ method not found in `MacroHelpersMessage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cache_key`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `hitbox::Cacheable` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hitbox` due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `cache_ttl` found for struct `DefaultMessage` in the current scope [INFO] [stdout] --> tests/cacheable_derive.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 129 | struct DefaultMessage { [INFO] [stdout] | --------------------- method `cache_ttl` not found for this [INFO] [stdout] ... [INFO] [stdout] 136 | assert_eq!(message.cache_ttl(), 60); [INFO] [stdout] | ^^^^^^^^^ method not found in `DefaultMessage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cache_ttl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `hitbox::Cacheable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cache_stale_ttl` found for struct `DefaultMessage` in the current scope [INFO] [stdout] --> tests/cacheable_derive.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 129 | struct DefaultMessage { [INFO] [stdout] | --------------------- method `cache_stale_ttl` not found for this [INFO] [stdout] ... [INFO] [stdout] 137 | assert_eq!(message.cache_stale_ttl(), 55); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `DefaultMessage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cache_stale_ttl`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `hitbox::Cacheable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cache_version` found for struct `DefaultMessage` in the current scope [INFO] [stdout] --> tests/cacheable_derive.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 129 | struct DefaultMessage { [INFO] [stdout] | --------------------- method `cache_version` not found for this [INFO] [stdout] ... [INFO] [stdout] 138 | assert_eq!(message.cache_version(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `DefaultMessage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `cache_version`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `hitbox::Cacheable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hitbox::prelude` [INFO] [stdout] --> tests/cacheable_derive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hitbox::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cedb2d3fde93da63326ad351ab17d55eaeef54d5623a9be550604c3261a2a03f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cedb2d3fde93da63326ad351ab17d55eaeef54d5623a9be550604c3261a2a03f", kill_on_drop: false }` [INFO] [stdout] cedb2d3fde93da63326ad351ab17d55eaeef54d5623a9be550604c3261a2a03f