[INFO] fetching crate ixc_core_macros 0.0.4... [INFO] checking ixc_core_macros-0.0.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate ixc_core_macros 0.0.4 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate ixc_core_macros 0.0.4 [INFO] finished tweaking crates.io crate ixc_core_macros 0.0.4 [INFO] tweaked toml for crates.io crate ixc_core_macros 0.0.4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ixc_core_macros 0.0.4 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deluxe v0.5.0 [INFO] [stderr] Downloaded deluxe-macros v0.5.0 [INFO] [stderr] Downloaded deluxe-core v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bd0a6cc4e3792888ff0fa4f34885f79357906807bf5f5a6e621b2288e09b2c5 [INFO] running `Command { std: "docker" "start" "-a" "7bd0a6cc4e3792888ff0fa4f34885f79357906807bf5f5a6e621b2288e09b2c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bd0a6cc4e3792888ff0fa4f34885f79357906807bf5f5a6e621b2288e09b2c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bd0a6cc4e3792888ff0fa4f34885f79357906807bf5f5a6e621b2288e09b2c5", kill_on_drop: false }` [INFO] [stdout] 7bd0a6cc4e3792888ff0fa4f34885f79357906807bf5f5a6e621b2288e09b2c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3488b04150875ce2bb50458875f5397bc646099bd83abe2d1a287dfd337a2de1 [INFO] running `Command { std: "docker" "start" "-a" "3488b04150875ce2bb50458875f5397bc646099bd83abe2d1a287dfd337a2de1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.106 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling manyhow-macros v0.11.4 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking deluxe-core v0.5.0 [INFO] [stderr] Checking manyhow v0.11.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling deluxe-macros v0.5.0 [INFO] [stderr] Checking deluxe v0.5.0 [INFO] [stderr] Checking ixc_core_macros v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ToTokens` [INFO] [stdout] --> src/lib.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use quote::{format_ident, quote, ToTokens}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Visibility` [INFO] [stdout] --> src/lib.rs:9:155 [INFO] [stdout] | [INFO] [stdout] 9 | ...d, ItemTrait, LitStr, ReturnType, Signature, TraitItem, Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToTokens` [INFO] [stdout] --> src/lib.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use quote::{format_ident, quote, ToTokens}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Visibility` [INFO] [stdout] --> src/lib.rs:9:155 [INFO] [stdout] | [INFO] [stdout] 9 | ...d, ItemTrait, LitStr, ReturnType, Signature, TraitItem, Type, Visibility}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `deluxe::ExtractAttributes` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use deluxe::ExtractAttributes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `deluxe::ExtractAttributes` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use deluxe::ExtractAttributes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:214:37 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn publish(_attr: TokenStream2, item: TokenStream2) -> manyhow::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:214:37 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn publish(_attr: TokenStream2, item: TokenStream2) -> manyhow::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attr` [INFO] [stdout] --> src/lib.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn handler_api(attr: TokenStream2, mut item_trait: ItemTrait) -> manyhow::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_attr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attr` [INFO] [stdout] --> src/lib.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn handler_api(attr: TokenStream2, mut item_trait: ItemTrait) -> manyhow::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_attr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:221:40 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn handler_api(attr: TokenStream2, mut item_trait: ItemTrait) -> manyhow::Result { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:221:40 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn handler_api(attr: TokenStream2, mut item_trait: ItemTrait) -> manyhow::Result { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 337 | syn::FnArg::Receiver(r) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 342 | syn::FnArg::Typed(pat_type) => { [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 398 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 337 | syn::FnArg::Receiver(r) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 342 | syn::FnArg::Typed(pat_type) => { [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 398 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler_ty` [INFO] [stdout] --> src/lib.rs:322:45 [INFO] [stdout] | [INFO] [stdout] 322 | fn derive_api_method(handler_ident: &Ident, handler_ty: &TokenStream2, publish_target: &PublishFn, builder: &mut APIBuilder) -> manyhow::... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler_ty` [INFO] [stdout] --> src/lib.rs:322:45 [INFO] [stdout] | [INFO] [stdout] 322 | fn derive_api_method(handler_ident: &Ident, handler_ty: &TokenStream2, publish_target: &PublishFn, builder: &mut APIBuilder) -> manyhow::... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:487:39 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn on_create(_attr: TokenStream2, item: TokenStream2) -> manyhow::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:487:39 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn on_create(_attr: TokenStream2, item: TokenStream2) -> manyhow::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `package` and `name` are never read [INFO] [stdout] --> src/lib.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 170 | struct Publish { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 171 | package: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 172 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Publish` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `package` and `name` are never read [INFO] [stdout] --> src/lib.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 170 | struct Publish { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 171 | package: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 172 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Publish` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message_name` is never read [INFO] [stdout] --> src/lib.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 177 | struct OnCreate { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 178 | message_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnCreate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message_name` is never read [INFO] [stdout] --> src/lib.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 177 | struct OnCreate { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 178 | message_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnCreate` 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 `publish` and `attrs` are never read [INFO] [stdout] --> src/lib.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 199 | struct PublishFn { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 202 | publish: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 203 | attrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PublishFn` 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 `publish` and `attrs` are never read [INFO] [stdout] --> src/lib.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 199 | struct PublishFn { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 202 | publish: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 203 | attrs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PublishFn` 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 `key` and `value` are never read [INFO] [stdout] --> src/lib.rs:537:5 [INFO] [stdout] | [INFO] [stdout] 534 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 537 | key: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 538 | #[deluxe(default)] [INFO] [stdout] 539 | value: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` 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 `key` and `value` are never read [INFO] [stdout] --> src/lib.rs:537:5 [INFO] [stdout] | [INFO] [stdout] 534 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 537 | key: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 538 | #[deluxe(default)] [INFO] [stdout] 539 | value: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.49s [INFO] running `Command { std: "docker" "inspect" "3488b04150875ce2bb50458875f5397bc646099bd83abe2d1a287dfd337a2de1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3488b04150875ce2bb50458875f5397bc646099bd83abe2d1a287dfd337a2de1", kill_on_drop: false }` [INFO] [stdout] 3488b04150875ce2bb50458875f5397bc646099bd83abe2d1a287dfd337a2de1