[INFO] fetching crate protect-endpoints-proc-macro 0.1.0... [INFO] testing protect-endpoints-proc-macro-0.1.0 against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate protect-endpoints-proc-macro 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate protect-endpoints-proc-macro 0.1.0 on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate protect-endpoints-proc-macro 0.1.0 [INFO] finished tweaking crates.io crate protect-endpoints-proc-macro 0.1.0 [INFO] tweaked toml for crates.io crate protect-endpoints-proc-macro 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rfc7239 v0.1.0 [INFO] [stderr] Downloaded actix-router v0.5.2 [INFO] [stderr] Downloaded devise v0.4.1 [INFO] [stderr] Downloaded poem-derive v1.3.59 [INFO] [stderr] Downloaded ubyte v0.10.4 [INFO] [stderr] Downloaded actix-codec v0.5.2 [INFO] [stderr] Downloaded wildmatch v2.3.0 [INFO] [stderr] Downloaded pear v0.2.8 [INFO] [stderr] Downloaded pear_codegen v0.2.8 [INFO] [stderr] Downloaded atomic v0.6.0 [INFO] [stderr] Downloaded devise_core v0.4.1 [INFO] [stderr] Downloaded poem-openapi-derive v3.0.6 [INFO] [stderr] Downloaded devise_codegen v0.4.1 [INFO] [stderr] Downloaded figment v0.10.14 [INFO] [stderr] Downloaded rocket_http v0.5.0 [INFO] [stderr] Downloaded poem v1.3.59 [INFO] [stderr] Downloaded rocket_codegen v0.5.0 [INFO] [stderr] Downloaded rocket v0.5.0 [INFO] [stderr] Downloaded cookie v0.18.0 [INFO] [stderr] Downloaded actix-http v3.6.0 [INFO] [stderr] Downloaded actix-web v4.5.1 [INFO] [stderr] Downloaded poem-openapi v3.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d1918c7baa0f9204b76cc70ffb3c93e76dccb95d907df2379af1471f3772eb6 [INFO] running `Command { std: "docker" "start" "-a" "4d1918c7baa0f9204b76cc70ffb3c93e76dccb95d907df2379af1471f3772eb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d1918c7baa0f9204b76cc70ffb3c93e76dccb95d907df2379af1471f3772eb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d1918c7baa0f9204b76cc70ffb3c93e76dccb95d907df2379af1471f3772eb6", kill_on_drop: false }` [INFO] [stdout] 4d1918c7baa0f9204b76cc70ffb3c93e76dccb95d907df2379af1471f3772eb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 172b7bf1a9a3919d39ab047c06cf7f2b6ed3b8df2ed0730fd7b18d5769045a68 [INFO] running `Command { std: "docker" "start" "-a" "172b7bf1a9a3919d39ab047c06cf7f2b6ed3b8df2ed0730fd7b18d5769045a68", kill_on_drop: false }` [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling protect-endpoints-proc-macro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/expand.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | 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:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | 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: variant `Fn` is never constructed [INFO] [stdout] --> src/expand.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) enum FnType { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 26 | Fn(ItemFn), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnType` has derived impls for the traits `Clone` and `Debug`, 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:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | Any(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 33 | Any(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | All(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 34 | All(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | Expr(syn::Expr), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 35 | Expr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | Value(syn::LitStr), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 36 | Value(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `ty`, and `error_fn` are never read [INFO] [stdout] --> src/expand.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct ProtectionArgs { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 44 | cond: Condition, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | 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: fields `func` and `args` are never read [INFO] [stdout] --> src/expand.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct ProtectEndpoint { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 50 | framework: Framework, [INFO] [stdout] 51 | func: FnType, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | args: ProtectionArgs, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/expand.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl ProtectEndpoint { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 56 | 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:79:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Condition { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 79 | fn to_tokens(&self, auth_details: &Ident, is_typed: bool) -> TokenStream2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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:275:8 [INFO] [stdout] | [INFO] [stdout] 274 | impl FnType { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 275 | fn sig(&self) -> &syn::Signature { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | fn vis(&self) -> &syn::Visibility { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | fn block(&self) -> &Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | fn attrs(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "172b7bf1a9a3919d39ab047c06cf7f2b6ed3b8df2ed0730fd7b18d5769045a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "172b7bf1a9a3919d39ab047c06cf7f2b6ed3b8df2ed0730fd7b18d5769045a68", kill_on_drop: false }` [INFO] [stdout] 172b7bf1a9a3919d39ab047c06cf7f2b6ed3b8df2ed0730fd7b18d5769045a68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9ef47a7e1e7da126d761952af4f4aa127eba3639e74978d1cf2b80b01a37cc4 [INFO] running `Command { std: "docker" "start" "-a" "f9ef47a7e1e7da126d761952af4f4aa127eba3639e74978d1cf2b80b01a37cc4", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling yansi v1.0.0-rc.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling polyval v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling cookie v0.18.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling ghash v0.5.0 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling ahash v0.8.10 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling figment v0.10.14 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.10 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling zstd v0.13.0 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling wildmatch v2.3.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pear_codegen v0.2.8 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling pear v0.2.8 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling protect-endpoints-proc-macro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/expand.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | 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:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | 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: variant `Fn` is never constructed [INFO] [stdout] --> src/expand.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) enum FnType { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 26 | Fn(ItemFn), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnType` has derived impls for the traits `Clone` and `Debug`, 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:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | Any(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 33 | Any(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | All(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 34 | All(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | Expr(syn::Expr), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 35 | Expr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | Value(syn::LitStr), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 36 | Value(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `ty`, and `error_fn` are never read [INFO] [stdout] --> src/expand.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct ProtectionArgs { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 44 | cond: Condition, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | 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: fields `func` and `args` are never read [INFO] [stdout] --> src/expand.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct ProtectEndpoint { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 50 | framework: Framework, [INFO] [stdout] 51 | func: FnType, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | args: ProtectionArgs, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/expand.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl ProtectEndpoint { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 56 | 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:79:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Condition { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 79 | fn to_tokens(&self, auth_details: &Ident, is_typed: bool) -> TokenStream2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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:275:8 [INFO] [stdout] | [INFO] [stdout] 274 | impl FnType { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 275 | fn sig(&self) -> &syn::Signature { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | fn vis(&self) -> &syn::Visibility { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | fn block(&self) -> &Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | fn attrs(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling indexmap v2.2.4 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling rfc7239 v0.1.0 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling serde_yaml v0.9.32 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling actix-http v3.6.0 [INFO] [stderr] Compiling poem-derive v1.3.59 [INFO] [stderr] Compiling rocket_http v0.5.0 [INFO] [stderr] Compiling poem-openapi-derive v3.0.6 [INFO] [stderr] Compiling actix-web v4.5.1 [INFO] [stderr] Compiling poem v1.3.59 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Compiling poem-openapi v3.0.6 [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/expand.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | 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:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | 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: variant `Fn` is never constructed [INFO] [stdout] --> src/expand.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) enum FnType { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 26 | Fn(ItemFn), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnType` has derived impls for the traits `Clone` and `Debug`, 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:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | Any(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 33 | Any(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | All(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 34 | All(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | Expr(syn::Expr), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 35 | Expr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | Value(syn::LitStr), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 36 | Value(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `ty`, and `error_fn` are never read [INFO] [stdout] --> src/expand.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct ProtectionArgs { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 44 | cond: Condition, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | 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: fields `func` and `args` are never read [INFO] [stdout] --> src/expand.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct ProtectEndpoint { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 50 | framework: Framework, [INFO] [stdout] 51 | func: FnType, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | args: ProtectionArgs, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/expand.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl ProtectEndpoint { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 56 | 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:79:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Condition { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 79 | fn to_tokens(&self, auth_details: &Ident, is_typed: bool) -> TokenStream2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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:275:8 [INFO] [stdout] | [INFO] [stdout] 274 | impl FnType { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 275 | fn sig(&self) -> &syn::Signature { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | fn vis(&self) -> &syn::Visibility { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | fn block(&self) -> &Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | fn attrs(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11m 00s [INFO] running `Command { std: "docker" "inspect" "f9ef47a7e1e7da126d761952af4f4aa127eba3639e74978d1cf2b80b01a37cc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9ef47a7e1e7da126d761952af4f4aa127eba3639e74978d1cf2b80b01a37cc4", kill_on_drop: false }` [INFO] [stdout] f9ef47a7e1e7da126d761952af4f4aa127eba3639e74978d1cf2b80b01a37cc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 784e4c109a73dc57adef8ea158e2aa91cb0143b85cc2b3cbb69d0d7251d28868 [INFO] running `Command { std: "docker" "start" "-a" "784e4c109a73dc57adef8ea158e2aa91cb0143b85cc2b3cbb69d0d7251d28868", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/expand.rs:66:25 [INFO] [stderr] | [INFO] [stderr] 66 | 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:211:4 [INFO] [stderr] | [INFO] [stderr] 211 | 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: variant `Fn` is never constructed [INFO] [stderr] --> src/expand.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub(crate) enum FnType { [INFO] [stderr] | ------ variant in this enum [INFO] [stderr] 26 | Fn(ItemFn), [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `FnType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/expand.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | Any(Conditions), [INFO] [stderr] | --- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [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] 33 | Any(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/expand.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | All(Conditions), [INFO] [stderr] | --- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [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] 34 | All(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/expand.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | Expr(syn::Expr), [INFO] [stderr] | ---- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [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] 35 | Expr(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/expand.rs:36:11 [INFO] [stderr] | [INFO] [stderr] 36 | Value(syn::LitStr), [INFO] [stderr] | ----- ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [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] 36 | Value(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: fields `cond`, `ty`, and `error_fn` are never read [INFO] [stderr] --> src/expand.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 43 | pub(crate) struct ProtectionArgs { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 44 | cond: Condition, [INFO] [stderr] | ^^^^ [INFO] [stderr] 45 | ty: Option, [INFO] [stderr] | ^^ [INFO] [stderr] 46 | 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: fields `func` and `args` are never read [INFO] [stderr] --> src/expand.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 49 | pub(crate) struct ProtectEndpoint { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 50 | framework: Framework, [INFO] [stderr] 51 | func: FnType, [INFO] [stderr] | ^^^^ [INFO] [stderr] 52 | args: ProtectionArgs, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/expand.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 55 | impl ProtectEndpoint { [INFO] [stderr] | -------------------- associated function in this implementation [INFO] [stderr] 56 | 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:79:8 [INFO] [stderr] | [INFO] [stderr] 78 | impl Condition { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] 79 | fn to_tokens(&self, auth_details: &Ident, is_typed: bool) -> TokenStream2 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 141 | 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:275:8 [INFO] [stderr] | [INFO] [stderr] 274 | impl FnType { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] 275 | fn sig(&self) -> &syn::Signature { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 283 | fn vis(&self) -> &syn::Visibility { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 291 | fn block(&self) -> &Block { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 299 | fn attrs(&self) -> &Vec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `protect-endpoints-proc-macro` (lib) generated 12 warnings [INFO] [stderr] warning: `protect-endpoints-proc-macro` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/protect_endpoints_proc_macro-d9f94e10c2d19e3c) [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] [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" "784e4c109a73dc57adef8ea158e2aa91cb0143b85cc2b3cbb69d0d7251d28868", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "784e4c109a73dc57adef8ea158e2aa91cb0143b85cc2b3cbb69d0d7251d28868", kill_on_drop: false }` [INFO] [stdout] 784e4c109a73dc57adef8ea158e2aa91cb0143b85cc2b3cbb69d0d7251d28868 [INFO] testing protect-endpoints-proc-macro-0.1.0 against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate protect-endpoints-proc-macro 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate protect-endpoints-proc-macro 0.1.0 on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate protect-endpoints-proc-macro 0.1.0 [INFO] finished tweaking crates.io crate protect-endpoints-proc-macro 0.1.0 [INFO] tweaked toml for crates.io crate protect-endpoints-proc-macro 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc6b3cbe502aacb13acb413a27c57e815c77e08cc4189f1eebf8ecf29c90d931 [INFO] running `Command { std: "docker" "start" "-a" "dc6b3cbe502aacb13acb413a27c57e815c77e08cc4189f1eebf8ecf29c90d931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc6b3cbe502aacb13acb413a27c57e815c77e08cc4189f1eebf8ecf29c90d931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc6b3cbe502aacb13acb413a27c57e815c77e08cc4189f1eebf8ecf29c90d931", kill_on_drop: false }` [INFO] [stdout] dc6b3cbe502aacb13acb413a27c57e815c77e08cc4189f1eebf8ecf29c90d931 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a3d725c9f20ae7e1e1c02a9f478bde4db0fb7a4043fbc2480dd47a5cfb93318 [INFO] running `Command { std: "docker" "start" "-a" "4a3d725c9f20ae7e1e1c02a9f478bde4db0fb7a4043fbc2480dd47a5cfb93318", kill_on_drop: false }` [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling protect-endpoints-proc-macro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/expand.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | 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:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | 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: variant `Fn` is never constructed [INFO] [stdout] --> src/expand.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) enum FnType { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 26 | Fn(ItemFn), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnType` has derived impls for the traits `Clone` and `Debug`, 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:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | Any(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 33 | Any(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | All(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 34 | All(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | Expr(syn::Expr), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 35 | Expr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | Value(syn::LitStr), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 36 | Value(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `ty`, and `error_fn` are never read [INFO] [stdout] --> src/expand.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct ProtectionArgs { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 44 | cond: Condition, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | 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: fields `func` and `args` are never read [INFO] [stdout] --> src/expand.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct ProtectEndpoint { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 50 | framework: Framework, [INFO] [stdout] 51 | func: FnType, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | args: ProtectionArgs, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/expand.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl ProtectEndpoint { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 56 | 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:79:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Condition { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 79 | fn to_tokens(&self, auth_details: &Ident, is_typed: bool) -> TokenStream2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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:275:8 [INFO] [stdout] | [INFO] [stdout] 274 | impl FnType { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 275 | fn sig(&self) -> &syn::Signature { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | fn vis(&self) -> &syn::Visibility { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | fn block(&self) -> &Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | fn attrs(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.61s [INFO] running `Command { std: "docker" "inspect" "4a3d725c9f20ae7e1e1c02a9f478bde4db0fb7a4043fbc2480dd47a5cfb93318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a3d725c9f20ae7e1e1c02a9f478bde4db0fb7a4043fbc2480dd47a5cfb93318", kill_on_drop: false }` [INFO] [stdout] 4a3d725c9f20ae7e1e1c02a9f478bde4db0fb7a4043fbc2480dd47a5cfb93318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf124723f9c2a33dc2ebc1ed8d4ba869f5a38fdf95ebff8c7d7aa3bbdd118dde [INFO] running `Command { std: "docker" "start" "-a" "cf124723f9c2a33dc2ebc1ed8d4ba869f5a38fdf95ebff8c7d7aa3bbdd118dde", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling yansi v1.0.0-rc.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling polyval v0.6.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling cookie v0.18.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling ghash v0.5.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling ahash v0.8.10 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling figment v0.10.14 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling unsafe-libyaml v0.2.10 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling zstd v0.13.0 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling wildmatch v2.3.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pear_codegen v0.2.8 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling pear v0.2.8 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling protect-endpoints-proc-macro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/expand.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | 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:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | 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: variant `Fn` is never constructed [INFO] [stdout] --> src/expand.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) enum FnType { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 26 | Fn(ItemFn), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnType` has derived impls for the traits `Clone` and `Debug`, 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:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | Any(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 33 | Any(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | All(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 34 | All(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | Expr(syn::Expr), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 35 | Expr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | Value(syn::LitStr), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 36 | Value(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `ty`, and `error_fn` are never read [INFO] [stdout] --> src/expand.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct ProtectionArgs { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 44 | cond: Condition, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | 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: fields `func` and `args` are never read [INFO] [stdout] --> src/expand.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct ProtectEndpoint { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 50 | framework: Framework, [INFO] [stdout] 51 | func: FnType, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | args: ProtectionArgs, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/expand.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl ProtectEndpoint { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 56 | 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:79:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Condition { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 79 | fn to_tokens(&self, auth_details: &Ident, is_typed: bool) -> TokenStream2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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:275:8 [INFO] [stdout] | [INFO] [stdout] 274 | impl FnType { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 275 | fn sig(&self) -> &syn::Signature { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | fn vis(&self) -> &syn::Visibility { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | fn block(&self) -> &Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | fn attrs(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling indexmap v2.2.4 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling rfc7239 v0.1.0 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling serde_yaml v0.9.32 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling actix-http v3.6.0 [INFO] [stderr] Compiling poem-derive v1.3.59 [INFO] [stderr] Compiling poem-openapi-derive v3.0.6 [INFO] [stderr] Compiling rocket_http v0.5.0 [INFO] [stderr] Compiling actix-web v4.5.1 [INFO] [stderr] Compiling poem v1.3.59 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Compiling poem-openapi v3.0.6 [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/expand.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | 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:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | 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: variant `Fn` is never constructed [INFO] [stdout] --> src/expand.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) enum FnType { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 26 | Fn(ItemFn), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnType` has derived impls for the traits `Clone` and `Debug`, 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:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | Any(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 33 | Any(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | All(Conditions), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 34 | All(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | Expr(syn::Expr), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 35 | Expr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expand.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | Value(syn::LitStr), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 36 | Value(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cond`, `ty`, and `error_fn` are never read [INFO] [stdout] --> src/expand.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) struct ProtectionArgs { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 44 | cond: Condition, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | ty: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 46 | 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: fields `func` and `args` are never read [INFO] [stdout] --> src/expand.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct ProtectEndpoint { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 50 | framework: Framework, [INFO] [stdout] 51 | func: FnType, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | args: ProtectionArgs, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/expand.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl ProtectEndpoint { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 56 | 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:79:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Condition { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 79 | fn to_tokens(&self, auth_details: &Ident, is_typed: bool) -> TokenStream2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | 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:275:8 [INFO] [stdout] | [INFO] [stdout] 274 | impl FnType { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 275 | fn sig(&self) -> &syn::Signature { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | fn vis(&self) -> &syn::Visibility { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | fn block(&self) -> &Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | fn attrs(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9m 41s [INFO] running `Command { std: "docker" "inspect" "cf124723f9c2a33dc2ebc1ed8d4ba869f5a38fdf95ebff8c7d7aa3bbdd118dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf124723f9c2a33dc2ebc1ed8d4ba869f5a38fdf95ebff8c7d7aa3bbdd118dde", kill_on_drop: false }` [INFO] [stdout] cf124723f9c2a33dc2ebc1ed8d4ba869f5a38fdf95ebff8c7d7aa3bbdd118dde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fa5f2ae2945a6a7a7b9aa08a69325e0efc411a0a030b968ee3594cce7d26af09 [INFO] running `Command { std: "docker" "start" "-a" "fa5f2ae2945a6a7a7b9aa08a69325e0efc411a0a030b968ee3594cce7d26af09", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/expand.rs:66:25 [INFO] [stderr] | [INFO] [stderr] 66 | 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:211:4 [INFO] [stderr] | [INFO] [stderr] 211 | 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: variant `Fn` is never constructed [INFO] [stderr] --> src/expand.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub(crate) enum FnType { [INFO] [stderr] | ------ variant in this enum [INFO] [stderr] 26 | Fn(ItemFn), [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `FnType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/expand.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | Any(Conditions), [INFO] [stderr] | --- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [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] 33 | Any(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/expand.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | All(Conditions), [INFO] [stderr] | --- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [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] 34 | All(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/expand.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | Expr(syn::Expr), [INFO] [stderr] | ---- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [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] 35 | Expr(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/expand.rs:36:11 [INFO] [stderr] | [INFO] [stderr] 36 | Value(syn::LitStr), [INFO] [stderr] | ----- ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [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] 36 | Value(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: fields `cond`, `ty`, and `error_fn` are never read [INFO] [stderr] --> src/expand.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 43 | pub(crate) struct ProtectionArgs { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 44 | cond: Condition, [INFO] [stderr] | ^^^^ [INFO] [stderr] 45 | ty: Option, [INFO] [stderr] | ^^ [INFO] [stderr] 46 | 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: fields `func` and `args` are never read [INFO] [stderr] --> src/expand.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 49 | pub(crate) struct ProtectEndpoint { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 50 | framework: Framework, [INFO] [stderr] 51 | func: FnType, [INFO] [stderr] | ^^^^ [INFO] [stderr] 52 | args: ProtectionArgs, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/expand.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 55 | impl ProtectEndpoint { [INFO] [stderr] | -------------------- associated function in this implementation [INFO] [stderr] 56 | 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:79:8 [INFO] [stderr] | [INFO] [stderr] 78 | impl Condition { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] 79 | fn to_tokens(&self, auth_details: &Ident, is_typed: bool) -> TokenStream2 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 141 | 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:275:8 [INFO] [stderr] | [INFO] [stderr] 274 | impl FnType { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] 275 | fn sig(&self) -> &syn::Signature { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 283 | fn vis(&self) -> &syn::Visibility { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 291 | fn block(&self) -> &Block { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 299 | fn attrs(&self) -> &Vec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `protect-endpoints-proc-macro` (lib) generated 12 warnings [INFO] [stderr] warning: `protect-endpoints-proc-macro` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/protect_endpoints_proc_macro-d9f94e10c2d19e3c) [INFO] [stdout] [INFO] [stderr] Doc-tests protect-endpoints-proc-macro [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] [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" "fa5f2ae2945a6a7a7b9aa08a69325e0efc411a0a030b968ee3594cce7d26af09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa5f2ae2945a6a7a7b9aa08a69325e0efc411a0a030b968ee3594cce7d26af09", kill_on_drop: false }` [INFO] [stdout] fa5f2ae2945a6a7a7b9aa08a69325e0efc411a0a030b968ee3594cce7d26af09