[INFO] fetching crate protect-endpoints-proc-macro 0.4.0... [INFO] testing protect-endpoints-proc-macro-0.4.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate protect-endpoints-proc-macro 0.4.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate protect-endpoints-proc-macro 0.4.0 [INFO] finished tweaking crates.io crate protect-endpoints-proc-macro 0.4.0 [INFO] tweaked toml for crates.io crate protect-endpoints-proc-macro 0.4.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate protect-endpoints-proc-macro 0.4.0 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 369 packages to latest compatible versions [INFO] [stderr] Adding salvo v0.75.0 (available: v0.79.0) [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 salvo-serde-util v0.75.0 [INFO] [stderr] Downloaded salvo_macros v0.75.0 [INFO] [stderr] Downloaded salvo v0.75.0 [INFO] [stderr] Downloaded salvo-jwt-auth v0.75.0 [INFO] [stderr] Downloaded salvo-proxy v0.75.0 [INFO] [stderr] Downloaded salvo_core v0.75.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a14c1f505c6ef69c046a6db8afcb0e3d53b13852f056d8f71f1415a0dd0de0b [INFO] running `Command { std: "docker" "start" "-a" "5a14c1f505c6ef69c046a6db8afcb0e3d53b13852f056d8f71f1415a0dd0de0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a14c1f505c6ef69c046a6db8afcb0e3d53b13852f056d8f71f1415a0dd0de0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a14c1f505c6ef69c046a6db8afcb0e3d53b13852f056d8f71f1415a0dd0de0b", kill_on_drop: false }` [INFO] [stdout] 5a14c1f505c6ef69c046a6db8afcb0e3d53b13852f056d8f71f1415a0dd0de0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] b0240dccb2a5c8afdf68614a33fb12b70e6364e7be3b8c7dd7dab0f2f5f85a76 [INFO] running `Command { std: "docker" "start" "-a" "b0240dccb2a5c8afdf68614a33fb12b70e6364e7be3b8c7dd7dab0f2f5f85a76", kill_on_drop: false }` [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling protect-endpoints-proc-macro v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/expand.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | fn to_tokens(&self, output: &mut TokenStream2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `protect_endpoint` is never used [INFO] [stdout] --> src/lib.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn protect_endpoint(framework: Framework, args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Framework` is never used [INFO] [stdout] --> src/expand.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) enum Framework { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Framework` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FnType` is never used [INFO] [stdout] --> src/expand.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) enum FnType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Any(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 - Any(Conditions), [INFO] [stdout] 41 + Any(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | All(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 - All(Conditions), [INFO] [stdout] 42 + All(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | Expr(syn::Expr), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 43 - Expr(syn::Expr), [INFO] [stdout] 43 + Expr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | Value(syn::LitStr), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 - Value(syn::LitStr), [INFO] [stdout] 44 + Value(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `ty`, and `error_fn` are never read [INFO] [stdout] --> src/expand.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct ProtectionArgs { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 52 | cond: Condition, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 54 | error_fn: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtectionArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProtectEndpoint` is never constructed [INFO] [stdout] --> src/expand.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) struct ProtectEndpoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/expand.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl ProtectEndpoint { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 64 | pub fn new(framework: Framework, args: ProtectionArgs, func: FnType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_tokens` and `is_value` are never used [INFO] [stdout] --> src/expand.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl Condition { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 91 | fn to_tokens(&self, auth_details: &Ident, is_typed: bool) -> TokenStream2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn is_value(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sig`, `vis`, `block`, and `attrs` are never used [INFO] [stdout] --> src/expand.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 286 | impl FnType { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 287 | fn sig(&self) -> &syn::Signature { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | fn vis(&self) -> &syn::Visibility { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | fn block(&self) -> &Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | fn attrs(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.68s [INFO] running `Command { std: "docker" "inspect" "b0240dccb2a5c8afdf68614a33fb12b70e6364e7be3b8c7dd7dab0f2f5f85a76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0240dccb2a5c8afdf68614a33fb12b70e6364e7be3b8c7dd7dab0f2f5f85a76", kill_on_drop: false }` [INFO] [stdout] b0240dccb2a5c8afdf68614a33fb12b70e6364e7be3b8c7dd7dab0f2f5f85a76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] e81e1dc5a974507195257a90022d00e78cc727c52dea882ab2df9c3a414dd728 [INFO] running `Command { std: "docker" "start" "-a" "e81e1dc5a974507195257a90022d00e78cc727c52dea882ab2df9c3a414dd728", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling mime-infer v3.0.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling wildmatch v2.4.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling salvo-serde-util v0.75.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [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 tokio v1.45.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling protect-endpoints-proc-macro v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/expand.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | fn to_tokens(&self, output: &mut TokenStream2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `protect_endpoint` is never used [INFO] [stdout] --> src/lib.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn protect_endpoint(framework: Framework, args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Framework` is never used [INFO] [stdout] --> src/expand.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) enum Framework { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Framework` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FnType` is never used [INFO] [stdout] --> src/expand.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) enum FnType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Any(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 - Any(Conditions), [INFO] [stdout] 41 + Any(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | All(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 - All(Conditions), [INFO] [stdout] 42 + All(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | Expr(syn::Expr), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 43 - Expr(syn::Expr), [INFO] [stdout] 43 + Expr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | Value(syn::LitStr), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 - Value(syn::LitStr), [INFO] [stdout] 44 + Value(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `ty`, and `error_fn` are never read [INFO] [stdout] --> src/expand.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct ProtectionArgs { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 52 | cond: Condition, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 54 | error_fn: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtectionArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProtectEndpoint` is never constructed [INFO] [stdout] --> src/expand.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) struct ProtectEndpoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/expand.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl ProtectEndpoint { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 64 | pub fn new(framework: Framework, args: ProtectionArgs, func: FnType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_tokens` and `is_value` are never used [INFO] [stdout] --> src/expand.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl Condition { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 91 | fn to_tokens(&self, auth_details: &Ident, is_typed: bool) -> TokenStream2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn is_value(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sig`, `vis`, `block`, and `attrs` are never used [INFO] [stdout] --> src/expand.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 286 | impl FnType { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 287 | fn sig(&self) -> &syn::Signature { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | fn vis(&self) -> &syn::Visibility { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | fn block(&self) -> &Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | fn attrs(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [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 indexmap v2.10.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling serde-xml-rs v0.6.0 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling rfc7239 v0.1.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling salvo_macros v0.75.0 [INFO] [stderr] Compiling poem-derive v3.1.11 [INFO] [stderr] Compiling poem-openapi-derive v5.1.15 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling poem v3.1.11 [INFO] [stderr] Compiling salvo_core v0.75.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling poem-openapi v5.1.15 [INFO] [stderr] Compiling salvo v0.75.0 [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/expand.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | fn to_tokens(&self, output: &mut TokenStream2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `protect_endpoint` is never used [INFO] [stdout] --> src/lib.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn protect_endpoint(framework: Framework, args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Framework` is never used [INFO] [stdout] --> src/expand.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) enum Framework { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Framework` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FnType` is never used [INFO] [stdout] --> src/expand.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) enum FnType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Any(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 - Any(Conditions), [INFO] [stdout] 41 + Any(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | All(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 - All(Conditions), [INFO] [stdout] 42 + All(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | Expr(syn::Expr), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 43 - Expr(syn::Expr), [INFO] [stdout] 43 + Expr(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | Value(syn::LitStr), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 - Value(syn::LitStr), [INFO] [stdout] 44 + Value(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `ty`, and `error_fn` are never read [INFO] [stdout] --> src/expand.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct ProtectionArgs { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 52 | cond: Condition, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 54 | error_fn: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtectionArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProtectEndpoint` is never constructed [INFO] [stdout] --> src/expand.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) struct ProtectEndpoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/expand.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl ProtectEndpoint { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 64 | pub fn new(framework: Framework, args: ProtectionArgs, func: FnType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_tokens` and `is_value` are never used [INFO] [stdout] --> src/expand.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl Condition { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 91 | fn to_tokens(&self, auth_details: &Ident, is_typed: bool) -> TokenStream2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn is_value(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sig`, `vis`, `block`, and `attrs` are never used [INFO] [stdout] --> src/expand.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 286 | impl FnType { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 287 | fn sig(&self) -> &syn::Signature { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | fn vis(&self) -> &syn::Visibility { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | fn block(&self) -> &Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | fn attrs(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "e81e1dc5a974507195257a90022d00e78cc727c52dea882ab2df9c3a414dd728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e81e1dc5a974507195257a90022d00e78cc727c52dea882ab2df9c3a414dd728", kill_on_drop: false }` [INFO] [stdout] e81e1dc5a974507195257a90022d00e78cc727c52dea882ab2df9c3a414dd728 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 30daaa1af07e82feff46a1f0e8c4492ec090766ad5092eb7e4d9fbd759b1b7bd [INFO] running `Command { std: "docker" "start" "-a" "30daaa1af07e82feff46a1f0e8c4492ec090766ad5092eb7e4d9fbd759b1b7bd", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/expand.rs:74:25 [INFO] [stderr] | [INFO] [stderr] 74 | fn to_tokens(&self, output: &mut TokenStream2) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `protect_endpoint` is never used [INFO] [stderr] --> src/lib.rs:271:4 [INFO] [stderr] | [INFO] [stderr] 271 | fn protect_endpoint(framework: Framework, args: TokenStream, input: TokenStream) -> TokenStream { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: enum `Framework` is never used [INFO] [stderr] --> src/expand.rs:19:17 [INFO] [stderr] | [INFO] [stderr] 19 | pub(crate) enum Framework { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Framework` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `FnType` is never used [INFO] [stderr] --> src/expand.rs:33:17 [INFO] [stderr] | [INFO] [stderr] 33 | pub(crate) enum FnType { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FnType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/expand.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | Any(Conditions), [INFO] [stderr] | --- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 41 - Any(Conditions), [INFO] [stderr] 41 + Any(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/expand.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | All(Conditions), [INFO] [stderr] | --- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 42 - All(Conditions), [INFO] [stderr] 42 + All(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/expand.rs:43:10 [INFO] [stderr] | [INFO] [stderr] 43 | Expr(syn::Expr), [INFO] [stderr] | ---- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 43 - Expr(syn::Expr), [INFO] [stderr] 43 + Expr(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/expand.rs:44:11 [INFO] [stderr] | [INFO] [stderr] 44 | Value(syn::LitStr), [INFO] [stderr] | ----- ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Condition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 44 - Value(syn::LitStr), [INFO] [stderr] 44 + Value(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `cond`, `ty`, and `error_fn` are never read [INFO] [stderr] --> src/expand.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 51 | pub(crate) struct ProtectionArgs { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 52 | cond: Condition, [INFO] [stderr] | ^^^^ [INFO] [stderr] 53 | ty: Option, [INFO] [stderr] | ^^ [INFO] [stderr] 54 | error_fn: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProtectionArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ProtectEndpoint` is never constructed [INFO] [stderr] --> src/expand.rs:57:19 [INFO] [stderr] | [INFO] [stderr] 57 | pub(crate) struct ProtectEndpoint { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/expand.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 63 | impl ProtectEndpoint { [INFO] [stderr] | -------------------- associated function in this implementation [INFO] [stderr] 64 | pub fn new(framework: Framework, args: ProtectionArgs, func: FnType) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `to_tokens` and `is_value` are never used [INFO] [stderr] --> src/expand.rs:91:8 [INFO] [stderr] | [INFO] [stderr] 90 | impl Condition { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] 91 | fn to_tokens(&self, auth_details: &Ident, is_typed: bool) -> TokenStream2 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 153 | fn is_value(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `sig`, `vis`, `block`, and `attrs` are never used [INFO] [stderr] --> src/expand.rs:287:8 [INFO] [stderr] | [INFO] [stderr] 286 | impl FnType { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] 287 | fn sig(&self) -> &syn::Signature { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 295 | fn vis(&self) -> &syn::Visibility { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 303 | fn block(&self) -> &Block { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 311 | fn attrs(&self) -> &Vec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `protect-endpoints-proc-macro` (lib) generated 13 warnings [INFO] [stderr] warning: `protect-endpoints-proc-macro` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/protect_endpoints_proc_macro-48f67b0a01fd4e5b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests protect_endpoints_proc_macro [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "30daaa1af07e82feff46a1f0e8c4492ec090766ad5092eb7e4d9fbd759b1b7bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30daaa1af07e82feff46a1f0e8c4492ec090766ad5092eb7e4d9fbd759b1b7bd", kill_on_drop: false }` [INFO] [stdout] 30daaa1af07e82feff46a1f0e8c4492ec090766ad5092eb7e4d9fbd759b1b7bd