[INFO] fetching crate syrette_macros 0.5.1... [INFO] testing syrette_macros-0.5.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate syrette_macros 0.5.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate syrette_macros 0.5.1 [INFO] finished tweaking crates.io crate syrette_macros 0.5.1 [INFO] tweaked toml for crates.io crate syrette_macros 0.5.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate syrette_macros 0.5.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 72 packages to latest compatible versions [INFO] [stderr] Adding mockall v0.11.4 (available: v0.13.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `syrette_macros` library target) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b9428407315182c75f1b08008cae801a86aeb72a2add4b581b7128bc0c59cf5 [INFO] running `Command { std: "docker" "start" "-a" "0b9428407315182c75f1b08008cae801a86aeb72a2add4b581b7128bc0c59cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b9428407315182c75f1b08008cae801a86aeb72a2add4b581b7128bc0c59cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b9428407315182c75f1b08008cae801a86aeb72a2add4b581b7128bc0c59cf5", kill_on_drop: false }` [INFO] [stdout] 0b9428407315182c75f1b08008cae801a86aeb72a2add4b581b7128bc0c59cf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f59671fc5324ccd04c15bd2467b18e84749c12f259c826450b765ac852e56b5c [INFO] running `Command { std: "docker" "start" "-a" "f59671fc5324ccd04c15bd2467b18e84749c12f259c826450b765ac852e56b5c", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `syrette_macros` library target) [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling syrette_macros v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/lib.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/lib.rs:454:11 [INFO] [stdout] | [INFO] [stdout] 454 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/lib.rs:530:11 [INFO] [stdout] | [INFO] [stdout] 530 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `syrette_macros_logging` [INFO] [stdout] --> src/lib.rs:537:7 [INFO] [stdout] | [INFO] [stdout] 537 | #[cfg(syrette_macros_logging)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(syrette_macros_logging)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syrette_macros_logging)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `syrette_macros_logging` [INFO] [stdout] --> src/caster.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(syrette_macros_logging)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(syrette_macros_logging)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syrette_macros_logging)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `syrette_macros_logging` [INFO] [stdout] --> src/caster.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(syrette_macros_logging, tracing::instrument(skip(ty, dst_trait)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(syrette_macros_logging)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syrette_macros_logging)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `syrette_macros_logging` [INFO] [stdout] --> src/caster.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(syrette_macros_logging)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(syrette_macros_logging)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syrette_macros_logging)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/injectable/dummy.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/injectable/dummy.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/injectable/implementation.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/injectable/implementation.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/injectable/implementation.rs:202:15 [INFO] [stdout] | [INFO] [stdout] 202 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/injectable/implementation.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 220 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/injectable/implementation.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 283 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `syrette_macros_logging` [INFO] [stdout] --> src/lib.rs:473:11 [INFO] [stdout] | [INFO] [stdout] 473 | #[cfg(syrette_macros_logging)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(syrette_macros_logging)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(syrette_macros_logging)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/util/error.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/injectable/dependency.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | / diagnostic_error_enum! { [INFO] [stdout] 136 | | pub enum DependencyError [INFO] [stdout] 137 | | { [INFO] [stdout] 138 | | #[error("Unexpected 'self' parameter"), span = self_token_span] [INFO] [stdout] ... | [INFO] [stdout] 172 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `diagnostic_error_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/util/error.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/injectable/implementation.rs:474:1 [INFO] [stdout] | [INFO] [stdout] 474 | / diagnostic_error_enum! { [INFO] [stdout] 475 | | pub enum InjectableImplError [INFO] [stdout] 476 | | { [INFO] [stdout] 477 | | #[ [INFO] [stdout] ... | [INFO] [stdout] 544 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: this warning originates in the macro `diagnostic_error_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/util/error.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/injectable/macro_args.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / diagnostic_error_enum! { [INFO] [stdout] 89 | | pub enum InjectableMacroArgsError [INFO] [stdout] 90 | | { [INFO] [stdout] 91 | | #[error("Unknown flag '{flag_ident}'"), span = flag_ident.span()] [INFO] [stdout] ... | [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: this warning originates in the macro `diagnostic_error_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/util/error.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/macro_flag.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | / diagnostic_error_enum! { [INFO] [stdout] 92 | | pub enum MacroFlagError { [INFO] [stdout] 93 | | #[error("Expected a {expected}"), span = value_span] [INFO] [stdout] 94 | | UnexpectedValueKind { [INFO] [stdout] ... | [INFO] [stdout] 99 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: this warning originates in the macro `diagnostic_error_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Type` doesn't implement `Debug` [INFO] [stdout] --> src/injectable/dependency.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 32 | interface: Type, [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `syn::Type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `LitStr` doesn't implement `Debug` [INFO] [stdout] --> src/injectable/dependency.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 34 | name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `LitStr` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is implemented for `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `syn::Type` [INFO] [stdout] --> src/injectable/dependency.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 32 | interface: Type, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `syn::Type` doesn't implement `PartialEq` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/ty.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ast_enum_of_structs! { [INFO] [stdout] 6 | | /// The possible types that a Rust value could have. [INFO] [stdout] 7 | | /// [INFO] [stdout] 8 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ not implement `PartialEq` [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` which comes from the expansion of the macro `ast_enum_of_structs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> src/injectable/dependency.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 34 | name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `LitStr` doesn't implement `PartialEq` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/lit.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / ast_struct! { [INFO] [stdout] 52 | | /// A UTF-8 string literal: `"foo"`. [INFO] [stdout] 53 | | pub struct LitStr { [INFO] [stdout] 54 | | repr: Box, [INFO] [stdout] 55 | | } [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ not implement `PartialEq` [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `syn::Type: std::cmp::Eq` is not satisfied [INFO] [stdout] --> src/injectable/dependency.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 32 | interface: Type, [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `syn::Type` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `AssertParamIsEq` [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:367:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LitStr: std::cmp::Eq` is not satisfied [INFO] [stdout] --> src/injectable/dependency.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 34 | name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `LitStr` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::cmp::Eq` is implemented for `Option` [INFO] [stdout] = note: required for `Option` to implement `std::cmp::Eq` [INFO] [stdout] note: required by a bound in `AssertParamIsEq` [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/cmp.rs:367:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Lit` doesn't implement `Debug` [INFO] [stdout] --> src/macro_flag.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Debug, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 104 | Literal(Lit), [INFO] [stdout] | ^^^ the trait `Debug` is not implemented for `syn::Lit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `TypePath` [INFO] [stdout] --> src/lib.rs:476:39 [INFO] [stdout] | [INFO] [stdout] 476 | let interface_type = if interface == implementation { [INFO] [stdout] | --------- ^^ -------------- TypePath [INFO] [stdout] | | [INFO] [stdout] | TypePath [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `TypePath` doesn't implement `PartialEq` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-1.0.109/src/ty.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | / ast_struct! { [INFO] [stdout] 194 | | /// A path like `std::slice::Iter`, optionally qualified with a [INFO] [stdout] 195 | | /// self-type as in ` as SomeTrait>::Associated`. [INFO] [stdout] 196 | | /// [INFO] [stdout] ... | [INFO] [stdout] 204 | | } [INFO] [stdout] | |_^ not implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `strip_attrs_pub` which comes from the expansion of the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `syrette_macros` (lib) due to 8 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f59671fc5324ccd04c15bd2467b18e84749c12f259c826450b765ac852e56b5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f59671fc5324ccd04c15bd2467b18e84749c12f259c826450b765ac852e56b5c", kill_on_drop: false }` [INFO] [stdout] f59671fc5324ccd04c15bd2467b18e84749c12f259c826450b765ac852e56b5c