[INFO] cloning repository https://github.com/Fish-o/SearchCuts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fish-o/SearchCuts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFish-o%2FSearchCuts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFish-o%2FSearchCuts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 402bb4d2a8a3192849afe53dbd1f44713dd9c2f9 [INFO] checking Fish-o/SearchCuts against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFish-o%2FSearchCuts" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Fish-o/SearchCuts [INFO] finished tweaking git repo https://github.com/Fish-o/SearchCuts [INFO] tweaked toml for git repo https://github.com/Fish-o/SearchCuts written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Fish-o/SearchCuts on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Fish-o/SearchCuts already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 131bbcb2b5e71cccc9ad8a1508a030685c6d96aa719bf5e1cf7465551086c666 [INFO] running `Command { std: "docker" "start" "131bbcb2b5e71cccc9ad8a1508a030685c6d96aa719bf5e1cf7465551086c666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "131bbcb2b5e71cccc9ad8a1508a030685c6d96aa719bf5e1cf7465551086c666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "131bbcb2b5e71cccc9ad8a1508a030685c6d96aa719bf5e1cf7465551086c666" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "131bbcb2b5e71cccc9ad8a1508a030685c6d96aa719bf5e1cf7465551086c666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "131bbcb2b5e71cccc9ad8a1508a030685c6d96aa719bf5e1cf7465551086c666" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking ioctl-sys v0.5.2 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Checking xkbcommon v0.8.0 [INFO] [stderr] Checking uinput-sys v0.1.7 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling deluxe-core v0.5.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking enum_derive v0.1.7 [INFO] [stderr] Checking uinput v0.1.3 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.44.0 [INFO] [stderr] Compiling deluxe-macros v0.5.0 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking arboard v3.4.1 [INFO] [stderr] Checking dbus v0.6.5 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking enigo v0.3.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling deluxe v0.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling sc-macros v0.1.0 (/opt/rustwide/workdir/sc-macros) [INFO] [stderr] Checking futures v0.3.31 [INFO] [stdout] warning: unused import: `darling::FromMeta` [INFO] [stdout] --> sc-macros/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use darling::FromMeta; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Group` and `ItemFn` [INFO] [stdout] --> sc-macros/src/lib.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | token::{Brace, Group}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Block, Ident, ItemFn, LitStr, Token, TypePath, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro::token_stream::IntoIter` [INFO] [stdout] --> sc-macros/src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | use proc_macro::token_stream::IntoIter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> sc-macros/src/lib.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 128 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 129 | / result.push(quote! { [INFO] [stdout] 130 | | fn #layer(path: String, input: &str) -> Vec { [INFO] [stdout] 131 | | vec![MetaResult { [INFO] [stdout] 132 | | name: format!("{} {n}", path.trim()), [INFO] [stdout] ... | [INFO] [stdout] 138 | | }); [INFO] [stdout] | |___________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> sc-macros/src/lib.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | Some((_, res)) =>{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Type` is never constructed [INFO] [stdout] --> sc-macros/src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum ArgType { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 20 | Const(String), [INFO] [stdout] 21 | Type(TypePath), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArgType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `proc_macro2::TokenStream` [INFO] [stdout] --> sc-macros/src/lib.rs:87:47 [INFO] [stdout] | [INFO] [stdout] 87 | MacroRuleResult::Fn(block) => quote! { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 88 | | #block [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | .into(), [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `proc_macro2::TokenStream` [INFO] [stdout] --> sc-macros/src/lib.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | / quote! { [INFO] [stdout] 110 | | (#c.to_owned(), Box::new(|path, input| #res)) [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | .into(), [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sc-macros` (lib) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `darling::FromMeta` [INFO] [stdout] --> sc-macros/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use darling::FromMeta; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Group` and `ItemFn` [INFO] [stdout] --> sc-macros/src/lib.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | token::{Brace, Group}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Block, Ident, ItemFn, LitStr, Token, TypePath, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro::token_stream::IntoIter` [INFO] [stdout] --> sc-macros/src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | use proc_macro::token_stream::IntoIter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> sc-macros/src/lib.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 128 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 129 | / result.push(quote! { [INFO] [stdout] 130 | | fn #layer(path: String, input: &str) -> Vec { [INFO] [stdout] 131 | | vec![MetaResult { [INFO] [stdout] 132 | | name: format!("{} {n}", path.trim()), [INFO] [stdout] ... | [INFO] [stdout] 138 | | }); [INFO] [stdout] | |___________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `darling::FromMeta` [INFO] [stdout] --> sc-macros/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use darling::FromMeta; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Group` and `ItemFn` [INFO] [stdout] --> sc-macros/src/lib.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | token::{Brace, Group}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Block, Ident, ItemFn, LitStr, Token, TypePath, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro::token_stream::IntoIter` [INFO] [stdout] --> sc-macros/src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | use proc_macro::token_stream::IntoIter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> sc-macros/src/lib.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 128 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 129 | / result.push(quote! { [INFO] [stdout] 130 | | fn #layer(path: String, input: &str) -> Vec { [INFO] [stdout] 131 | | vec![MetaResult { [INFO] [stdout] 132 | | name: format!("{} {n}", path.trim()), [INFO] [stdout] ... | [INFO] [stdout] 138 | | }); [INFO] [stdout] | |___________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> sc-macros/src/lib.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | Some((_, res)) =>{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Type` is never constructed [INFO] [stdout] --> sc-macros/src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum ArgType { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 20 | Const(String), [INFO] [stdout] 21 | Type(TypePath), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArgType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `proc_macro2::TokenStream` [INFO] [stdout] --> sc-macros/src/lib.rs:87:47 [INFO] [stdout] | [INFO] [stdout] 87 | MacroRuleResult::Fn(block) => quote! { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 88 | | #block [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | .into(), [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `proc_macro2::TokenStream` [INFO] [stdout] --> sc-macros/src/lib.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | / quote! { [INFO] [stdout] 110 | | (#c.to_owned(), Box::new(|path, input| #res)) [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | .into(), [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sc-macros` (lib) due to 2 previous errors; 6 warnings emitted [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> sc-macros/src/lib.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | Some((_, res)) =>{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Type` is never constructed [INFO] [stdout] --> sc-macros/src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum ArgType { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 20 | Const(String), [INFO] [stdout] 21 | Type(TypePath), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArgType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `proc_macro2::TokenStream` [INFO] [stdout] --> sc-macros/src/lib.rs:87:47 [INFO] [stdout] | [INFO] [stdout] 87 | MacroRuleResult::Fn(block) => quote! { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 88 | | #block [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | .into(), [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `proc_macro2::TokenStream` [INFO] [stdout] --> sc-macros/src/lib.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | / quote! { [INFO] [stdout] 110 | | (#c.to_owned(), Box::new(|path, input| #res)) [INFO] [stdout] 111 | | } [INFO] [stdout] 112 | | .into(), [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sc-macros` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "131bbcb2b5e71cccc9ad8a1508a030685c6d96aa719bf5e1cf7465551086c666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "131bbcb2b5e71cccc9ad8a1508a030685c6d96aa719bf5e1cf7465551086c666", kill_on_drop: false }` [INFO] [stdout] 131bbcb2b5e71cccc9ad8a1508a030685c6d96aa719bf5e1cf7465551086c666