[INFO] fetching crate hitbox 0.1.1... [INFO] testing hitbox-0.1.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate hitbox 0.1.1 into /workspace/builds/worker-7-tc1/source [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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hitbox 0.1.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 232 packages to latest compatible versions [INFO] [stderr] Adding actix v0.10.0 (available: v0.13.5) [INFO] [stderr] Adding actix-rt v1.1.1 (available: v2.11.0) [INFO] [stderr] Adding actix-web v3.3.3 (available: v4.11.0) [INFO] [stderr] Adding actix_derive v0.5.0 (available: v0.6.2) [INFO] [stderr] Adding prometheus v0.12.0 (available: v0.14.0) [INFO] [stderr] Adding serde_qs v0.8.5 (available: v0.15.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hitbox-backend v0.1.1 [INFO] [stderr] Downloaded actix_derive v0.5.0 [INFO] [stderr] Downloaded actix v0.10.0 [INFO] [stderr] Downloaded crossbeam-channel v0.4.4 [INFO] [stderr] Downloaded prometheus v0.12.0 [INFO] [stderr] Downloaded hitbox-derive v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7b23efa6c7c9ff6f340cf945d5e41d36c9b8a92d6ff9e464be4f069bb9a3f29 [INFO] running `Command { std: "docker" "start" "-a" "d7b23efa6c7c9ff6f340cf945d5e41d36c9b8a92d6ff9e464be4f069bb9a3f29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7b23efa6c7c9ff6f340cf945d5e41d36c9b8a92d6ff9e464be4f069bb9a3f29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7b23efa6c7c9ff6f340cf945d5e41d36c9b8a92d6ff9e464be4f069bb9a3f29", kill_on_drop: false }` [INFO] [stdout] d7b23efa6c7c9ff6f340cf945d5e41d36c9b8a92d6ff9e464be4f069bb9a3f29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3480c2571b95a84d05cbc467d092cba7aac9951dd0964de1b4e54f0ad2d5be13 [INFO] running `Command { std: "docker" "start" "-a" "3480c2571b95a84d05cbc467d092cba7aac9951dd0964de1b4e54f0ad2d5be13", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling resolv-conf v0.7.5 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix v0.10.0 [INFO] [stderr] Compiling hitbox-backend v0.1.1 [INFO] [stderr] Compiling hitbox v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.30s [INFO] running `Command { std: "docker" "inspect" "3480c2571b95a84d05cbc467d092cba7aac9951dd0964de1b4e54f0ad2d5be13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3480c2571b95a84d05cbc467d092cba7aac9951dd0964de1b4e54f0ad2d5be13", kill_on_drop: false }` [INFO] [stdout] 3480c2571b95a84d05cbc467d092cba7aac9951dd0964de1b4e54f0ad2d5be13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac4d971fa58958db439550def61a7bbb677c159e0077b62829aa496ab485e1ba [INFO] running `Command { std: "docker" "start" "-a" "ac4d971fa58958db439550def61a7bbb677c159e0077b62829aa496ab485e1ba", kill_on_drop: false }` [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling actix-http v2.2.2 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.3 [INFO] [stderr] Compiling hitbox v0.1.1 (/opt/rustwide/workdir) [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] note: `Cacheable` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/cacheable_derive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hitbox::prelude::*; [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] note: `CacheableResponse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/cacheable_response_derive.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use hitbox::{CachePolicy, CacheableResponse}; [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] note: `CacheableResponse` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/cacheable_response_derive.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use hitbox::{CachePolicy, CacheableResponse}; [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] note: `Cacheable` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/cacheable_derive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hitbox::prelude::*; [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] note: `Cacheable` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/cacheable_derive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hitbox::prelude::*; [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] note: `Cacheable` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/cacheable_derive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hitbox::prelude::*; [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] note: `Cacheable` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/cacheable_derive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hitbox::prelude::*; [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] note: `Cacheable` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/cacheable_derive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hitbox::prelude::*; [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] note: `Cacheable` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/cacheable_derive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hitbox::prelude::*; [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] note: `Cacheable` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> tests/cacheable_derive.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hitbox::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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 struct [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] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 16 | let policy = message.clone().alias.into_cache_policy(); [INFO] [stdout] | ++++++ [INFO] [stdout] 16 | let policy = message.clone().id.into_cache_policy(); [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 struct [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 `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 enum [INFO] [stdout] ... [INFO] [stdout] 31 | let policy = message.clone().into_cache_policy(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `EnumMessage` [INFO] [stdout] | [INFO] [stdout] note: the method `into_cache_policy` exists on the type `i32` [INFO] [stdout] --> /opt/rustwide/workdir/src/response.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | fn into_cache_policy(self) -> CachePolicy; [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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hitbox` (test "cacheable_response_derive") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 struct [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 struct [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 struct [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 struct [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 struct [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 struct [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 struct [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 `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 struct [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 `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 struct [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] [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 struct [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 struct [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 struct [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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hitbox` (test "cacheable_derive") due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "ac4d971fa58958db439550def61a7bbb677c159e0077b62829aa496ab485e1ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac4d971fa58958db439550def61a7bbb677c159e0077b62829aa496ab485e1ba", kill_on_drop: false }` [INFO] [stdout] ac4d971fa58958db439550def61a7bbb677c159e0077b62829aa496ab485e1ba