[INFO] fetching crate castle_macro 0.20.2... [INFO] testing castle_macro-0.20.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-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 b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9df8b57e0e6b87a50e9d4238e182837558c4cccfa44a0d8512d83d801c7090e2 [INFO] running `Command { std: "docker" "start" "-a" "9df8b57e0e6b87a50e9d4238e182837558c4cccfa44a0d8512d83d801c7090e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9df8b57e0e6b87a50e9d4238e182837558c4cccfa44a0d8512d83d801c7090e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9df8b57e0e6b87a50e9d4238e182837558c4cccfa44a0d8512d83d801c7090e2", kill_on_drop: false }` [INFO] [stdout] 9df8b57e0e6b87a50e9d4238e182837558c4cccfa44a0d8512d83d801c7090e2 [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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e8443c08bce7dfafee0679c6406fa19acac0301ad1d831a2c051cfe92cbc1c0 [INFO] running `Command { std: "docker" "start" "-a" "7e8443c08bce7dfafee0679c6406fa19acac0301ad1d831a2c051cfe92cbc1c0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling byte v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.19 [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 fast-float v0.2.0 [INFO] [stderr] Compiling unzip-n v0.1.2 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling castle_input_cursor v0.20.2 [INFO] [stderr] Compiling castle_types v0.20.2 [INFO] [stderr] Compiling castle_tokenizer v0.20.2 [INFO] [stderr] Compiling castle_shared_parser v0.20.2 [INFO] [stderr] Compiling castle_schema_parser v0.20.2 [INFO] [stderr] Compiling 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) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "7e8443c08bce7dfafee0679c6406fa19acac0301ad1d831a2c051cfe92cbc1c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e8443c08bce7dfafee0679c6406fa19acac0301ad1d831a2c051cfe92cbc1c0", kill_on_drop: false }` [INFO] [stdout] 7e8443c08bce7dfafee0679c6406fa19acac0301ad1d831a2c051cfe92cbc1c0