[INFO] fetching crate hitbox 0.1.1... [INFO] checking hitbox-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate hitbox 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate hitbox 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 214 packages to latest compatible versions [INFO] [stderr] Adding actix v0.10.0 (available: v0.13.5) [INFO] [stderr] Adding actix-codec v0.3.0 (available: v0.5.2) [INFO] [stderr] Adding actix-http v2.2.2 (available: v3.9.0) [INFO] [stderr] Adding actix-macros v0.1.3 (available: v0.2.4) [INFO] [stderr] Adding actix-router v0.2.7 (available: v0.5.3) [INFO] [stderr] Adding actix-rt v1.1.1 (available: v2.10.0) [INFO] [stderr] Adding actix-server v1.0.4 (available: v2.5.0) [INFO] [stderr] Adding actix-service v1.0.6 (available: v2.0.2) [INFO] [stderr] Adding actix-tls v2.0.0 (available: v3.4.0) [INFO] [stderr] Adding actix-utils v2.0.0 (available: v3.0.1) [INFO] [stderr] Adding actix-web v3.3.3 (available: v4.9.0) [INFO] [stderr] Adding actix-web-codegen v0.4.0 (available: v4.3.0) [INFO] [stderr] Adding actix_derive v0.5.0 (available: v0.6.2) [INFO] [stderr] Adding awc v2.0.3 (available: v3.5.1) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding brotli v3.5.0 (available: v6.0.0) [INFO] [stderr] Adding brotli-decompressor v2.5.1 (available: v4.0.1) [INFO] [stderr] Adding bytes v0.5.6 (available: v1.7.2) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding cookie v0.14.4 (available: v0.18.1) [INFO] [stderr] Adding crossbeam-channel v0.4.4 (available: v0.5.13) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (available: v0.8.20) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding enum-as-inner v0.3.4 (available: v0.6.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding h2 v0.2.7 (available: v0.4.6) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding hostname v0.3.1 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding idna v0.2.3 (available: v1.0.2) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding ipconfig v0.2.2 (available: v0.3.2) [INFO] [stderr] Adding itoa v0.4.8 (available: v1.0.11) [INFO] [stderr] Adding language-tags v0.2.2 (available: v0.3.2) [INFO] [stderr] Adding mio v0.6.23 (available: v1.0.2) [INFO] [stderr] Adding miow v0.2.2 (available: v0.6.0) [INFO] [stderr] Adding parking_lot v0.11.2 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (available: v0.9.10) [INFO] [stderr] Adding pin-project v0.4.30 (available: v1.1.5) [INFO] [stderr] Adding pin-project-internal v0.4.30 (available: v1.1.5) [INFO] [stderr] Adding pin-project-lite v0.1.12 (available: v0.2.14) [INFO] [stderr] Adding prometheus v0.12.0 (available: v0.13.4) [INFO] [stderr] Adding protobuf v2.28.0 (available: v3.5.1) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (available: v0.3.2) [INFO] [stderr] Adding redox_syscall v0.2.16 (available: v0.5.6) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding serde_qs v0.8.5 (available: v0.13.0) [INFO] [stderr] Adding sha-1 v0.9.8 (available: v0.10.1) [INFO] [stderr] Adding sha1 v0.6.1 (available: v0.10.6) [INFO] [stderr] Adding socket2 v0.3.19 (available: v0.5.7) [INFO] [stderr] Adding standback v0.2.17 (available: v0.4.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding time v0.2.27 (available: v0.3.36) [INFO] [stderr] Adding time-macros v0.1.1 (available: v0.2.18) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.40.0) [INFO] [stderr] Adding tokio-util v0.3.1 (available: v0.7.12) [INFO] [stderr] Adding trust-dns-proto v0.19.7 (available: v0.23.2) [INFO] [stderr] Adding trust-dns-resolver v0.19.7 (available: v0.23.2) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding widestring v0.4.3 (available: v1.1.0) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding winreg v0.6.2 (available: v0.52.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hitbox-derive v0.1.1 [INFO] [stderr] Downloaded prometheus v0.12.0 [INFO] [stderr] Downloaded hitbox-backend v0.1.1 [INFO] [stderr] Downloaded awc v2.0.3 [INFO] [stderr] Downloaded actix-testing v1.0.1 [INFO] [stderr] Downloaded actix-server v1.0.4 [INFO] [stderr] Downloaded actix-router v0.2.7 [INFO] [stderr] Downloaded actix-tls v2.0.0 [INFO] [stderr] Downloaded trust-dns-resolver v0.19.7 [INFO] [stderr] Downloaded actix-web-codegen v0.4.0 [INFO] [stderr] Downloaded actix v0.10.0 [INFO] [stderr] Downloaded actix-connect v2.0.0 [INFO] [stderr] Downloaded actix-web v3.3.3 [INFO] [stderr] Downloaded actix-utils v2.0.0 [INFO] [stderr] Downloaded actix-codec v0.3.0 [INFO] [stderr] Downloaded actix-http v2.2.2 [INFO] [stderr] Downloaded trust-dns-proto v0.19.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8753b94c96e033b3286aa86c4d67d0d69427a074565967ffcc7a0ab383fe1da [INFO] running `Command { std: "docker" "start" "-a" "c8753b94c96e033b3286aa86c4d67d0d69427a074565967ffcc7a0ab383fe1da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8753b94c96e033b3286aa86c4d67d0d69427a074565967ffcc7a0ab383fe1da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8753b94c96e033b3286aa86c4d67d0d69427a074565967ffcc7a0ab383fe1da", kill_on_drop: false }` [INFO] [stdout] c8753b94c96e033b3286aa86c4d67d0d69427a074565967ffcc7a0ab383fe1da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd6aa453c3df734c5f7a2fecc56faf5f13a24f4da5bd3ea8fb0ef62fc5256c9c [INFO] running `Command { std: "docker" "start" "-a" "dd6aa453c3df734c5f7a2fecc56faf5f13a24f4da5bd3ea8fb0ef62fc5256c9c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking bytestring v1.3.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [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 pin-project v0.4.30 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking h2 v0.2.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 actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking actix v0.10.0 [INFO] [stderr] Checking hitbox-backend v0.1.1 [INFO] [stderr] Checking hitbox v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking actix-http v2.2.2 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.3 [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 `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 `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: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 `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 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 `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 `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] error: aborting due to 4 previous errors [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 `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] [stderr] error: could not compile `hitbox` (test "cacheable_response_derive") due to 5 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 `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] error: aborting due to 24 previous errors [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 25 previous errors [INFO] running `Command { std: "docker" "inspect" "dd6aa453c3df734c5f7a2fecc56faf5f13a24f4da5bd3ea8fb0ef62fc5256c9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd6aa453c3df734c5f7a2fecc56faf5f13a24f4da5bd3ea8fb0ef62fc5256c9c", kill_on_drop: false }` [INFO] [stdout] dd6aa453c3df734c5f7a2fecc56faf5f13a24f4da5bd3ea8fb0ef62fc5256c9c