[INFO] fetching crate hitbox 0.1.1... [INFO] testing hitbox-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate hitbox 0.1.1 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hitbox 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 231 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.10.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.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hitbox-derive v0.1.1 [INFO] [stderr] Downloaded hitbox-backend v0.1.1 [INFO] [stderr] Downloaded prometheus v0.12.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e6097867ce30da319c71347f310c98c731d61810eeeebf1234ffec8bb232be1 [INFO] running `Command { std: "docker" "start" "-a" "5e6097867ce30da319c71347f310c98c731d61810eeeebf1234ffec8bb232be1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e6097867ce30da319c71347f310c98c731d61810eeeebf1234ffec8bb232be1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e6097867ce30da319c71347f310c98c731d61810eeeebf1234ffec8bb232be1", kill_on_drop: false }` [INFO] [stdout] 5e6097867ce30da319c71347f310c98c731d61810eeeebf1234ffec8bb232be1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] dab9684e64654737dabb5f5b77e1e86b42fe9da774be5c7c2318075a6992dbec [INFO] running `Command { std: "docker" "start" "-a" "dab9684e64654737dabb5f5b77e1e86b42fe9da774be5c7c2318075a6992dbec", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling resolv-conf v0.7.4 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling rand v0.7.3 [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 synstructure v0.13.2 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [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 41.54s [INFO] running `Command { std: "docker" "inspect" "dab9684e64654737dabb5f5b77e1e86b42fe9da774be5c7c2318075a6992dbec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dab9684e64654737dabb5f5b77e1e86b42fe9da774be5c7c2318075a6992dbec", kill_on_drop: false }` [INFO] [stdout] dab9684e64654737dabb5f5b77e1e86b42fe9da774be5c7c2318075a6992dbec [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a75d1bfc9497a07543c54472ec7329e0a15d42b6ff46da899ca3009d5d0eabc5 [INFO] running `Command { std: "docker" "start" "-a" "a75d1bfc9497a07543c54472ec7329e0a15d42b6ff46da899ca3009d5d0eabc5", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling either v1.15.0 [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 aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling time-macros v0.1.1 [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 block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling actix-router v0.2.7 [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 `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: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: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 `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[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] 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" "a75d1bfc9497a07543c54472ec7329e0a15d42b6ff46da899ca3009d5d0eabc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a75d1bfc9497a07543c54472ec7329e0a15d42b6ff46da899ca3009d5d0eabc5", kill_on_drop: false }` [INFO] [stdout] a75d1bfc9497a07543c54472ec7329e0a15d42b6ff46da899ca3009d5d0eabc5