[INFO] fetching crate castle_macro 0.20.2... [INFO] checking castle_macro-0.20.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate castle_macro 0.20.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate castle_macro 0.20.2 [INFO] finished tweaking crates.io crate castle_macro 0.20.2 [INFO] tweaked toml for crates.io crate castle_macro 0.20.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate castle_macro 0.20.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 70 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fd9f5644ee2bf8b0f99f4f21b87a5592a10d5e8c3614e8e8dc687f50b154153 [INFO] running `Command { std: "docker" "start" "-a" "6fd9f5644ee2bf8b0f99f4f21b87a5592a10d5e8c3614e8e8dc687f50b154153", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fd9f5644ee2bf8b0f99f4f21b87a5592a10d5e8c3614e8e8dc687f50b154153", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd9f5644ee2bf8b0f99f4f21b87a5592a10d5e8c3614e8e8dc687f50b154153", kill_on_drop: false }` [INFO] [stdout] 6fd9f5644ee2bf8b0f99f4f21b87a5592a10d5e8c3614e8e8dc687f50b154153 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0e0f460495847b1d254541f47f22fc642e71e8b2761e38fd13f64f0af78eebe [INFO] running `Command { std: "docker" "start" "-a" "b0e0f460495847b1d254541f47f22fc642e71e8b2761e38fd13f64f0af78eebe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking byte v0.2.7 [INFO] [stderr] Checking fast-float v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling unzip-n v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking castle_input_cursor v0.20.2 [INFO] [stderr] Checking castle_types v0.20.2 [INFO] [stderr] Checking castle_tokenizer v0.20.2 [INFO] [stderr] Checking castle_shared_parser v0.20.2 [INFO] [stderr] Checking castle_schema_parser v0.20.2 [INFO] [stderr] Checking castle_macro v0.20.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0635]: unknown feature `drain_filter` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for mutable reference `&mut HashSet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/types/get_from_conversion.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | types_used.insert(ty.clone()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [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] | |_- doesn't satisfy `syn::Type: Hash` or `syn::Type: std::cmp::Eq` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `syn::Type: std::cmp::Eq` [INFO] [stdout] `syn::Type: Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/types/mod.rs:78:51 [INFO] [stdout] | [INFO] [stdout] 78 | let directives: String = method.attrs.drain_filter(|attr| attr.path.is_ident("directives")) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for mutable reference `&mut HashSet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/types/mod.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | types_used.insert(fn_return_type.clone()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [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] | |_- doesn't satisfy `syn::Type: Hash` or `syn::Type: std::cmp::Eq` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `syn::Type: std::cmp::Eq` [INFO] [stdout] `syn::Type: Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for mutable reference `&mut HashSet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/types/mod.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | types_used.insert(*ty.clone()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [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] | |_- doesn't satisfy `syn::Type: Hash` or `syn::Type: std::cmp::Eq` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `syn::Type: std::cmp::Eq` [INFO] [stdout] `syn::Type: Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `At` doesn't implement `Debug` [INFO] [stdout] --> src/directives/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 8 | pub struct DirectiveDefinitionAttribute { [INFO] [stdout] 9 | pub at: syn::Token![@], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `At` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::token::Paren` doesn't implement `Debug` [INFO] [stdout] --> src/directives/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 11 | pub paren_token: syn::token::Paren, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `syn::token::Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::punctuated::Punctuated` doesn't implement `Debug` [INFO] [stdout] --> src/directives/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 12 | pub inputs: syn::punctuated::Punctuated, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `syn::punctuated::Punctuated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::token::Paren` doesn't implement `Debug` [INFO] [stdout] --> src/directives/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 28 | pub struct AppliedDirective { [INFO] [stdout] 29 | pub paren_token: syn::token::Paren, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `syn::token::Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `castle_macro` (lib test) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0635]: unknown feature `drain_filter` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(drain_filter)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for mutable reference `&mut HashSet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/types/get_from_conversion.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | types_used.insert(ty.clone()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [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] | |_- doesn't satisfy `syn::Type: Hash` or `syn::Type: std::cmp::Eq` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `syn::Type: std::cmp::Eq` [INFO] [stdout] `syn::Type: Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drain_filter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/types/mod.rs:78:51 [INFO] [stdout] | [INFO] [stdout] 78 | let directives: String = method.attrs.drain_filter(|attr| attr.path.is_ident("directives")) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for mutable reference `&mut HashSet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/types/mod.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | types_used.insert(fn_return_type.clone()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [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] | |_- doesn't satisfy `syn::Type: Hash` or `syn::Type: std::cmp::Eq` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `syn::Type: std::cmp::Eq` [INFO] [stdout] `syn::Type: Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for mutable reference `&mut HashSet`, but its trait bounds were not satisfied [INFO] [stdout] --> src/types/mod.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | types_used.insert(*ty.clone()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [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] | |_- doesn't satisfy `syn::Type: Hash` or `syn::Type: std::cmp::Eq` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `syn::Type: std::cmp::Eq` [INFO] [stdout] `syn::Type: Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `At` doesn't implement `Debug` [INFO] [stdout] --> src/directives/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 8 | pub struct DirectiveDefinitionAttribute { [INFO] [stdout] 9 | pub at: syn::Token![@], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `At` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::token::Paren` doesn't implement `Debug` [INFO] [stdout] --> src/directives/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 11 | pub paren_token: syn::token::Paren, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `syn::token::Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::punctuated::Punctuated` doesn't implement `Debug` [INFO] [stdout] --> src/directives/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 12 | pub inputs: syn::punctuated::Punctuated, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `syn::punctuated::Punctuated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::token::Paren` doesn't implement `Debug` [INFO] [stdout] --> src/directives/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 28 | pub struct AppliedDirective { [INFO] [stdout] 29 | pub paren_token: syn::token::Paren, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `syn::token::Paren` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `castle_macro` (lib) due to 9 previous errors [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b0e0f460495847b1d254541f47f22fc642e71e8b2761e38fd13f64f0af78eebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0e0f460495847b1d254541f47f22fc642e71e8b2761e38fd13f64f0af78eebe", kill_on_drop: false }` [INFO] [stdout] b0e0f460495847b1d254541f47f22fc642e71e8b2761e38fd13f64f0af78eebe