[INFO] fetching crate chime-flux-proc-macro 0.3.0... [INFO] checking chime-flux-proc-macro-0.3.0 against master#c8551d3c63c51f290cf1dc9dc4714249ea849fd1 for pr-148946 [INFO] extracting crate chime-flux-proc-macro 0.3.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate chime-flux-proc-macro 0.3.0 [INFO] finished tweaking crates.io crate chime-flux-proc-macro 0.3.0 [INFO] tweaked toml for crates.io crate chime-flux-proc-macro 0.3.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate chime-flux-proc-macro 0.3.0 on toolchain c8551d3c63c51f290cf1dc9dc4714249ea849fd1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "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" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ff98530a5aff2cc0e687ec14ec7d610f961429eca91a38db5dbce9f7e784b88 [INFO] running `Command { std: "docker" "start" "-a" "7ff98530a5aff2cc0e687ec14ec7d610f961429eca91a38db5dbce9f7e784b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ff98530a5aff2cc0e687ec14ec7d610f961429eca91a38db5dbce9f7e784b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ff98530a5aff2cc0e687ec14ec7d610f961429eca91a38db5dbce9f7e784b88", kill_on_drop: false }` [INFO] [stdout] 7ff98530a5aff2cc0e687ec14ec7d610f961429eca91a38db5dbce9f7e784b88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c8551d3c63c51f290cf1dc9dc4714249ea849fd1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bb6abb555b90caf6495b340d9b84474e9ebaee3f818120326f108d4706ca824 [INFO] running `Command { std: "docker" "start" "-a" "3bb6abb555b90caf6495b340d9b84474e9ebaee3f818120326f108d4706ca824", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.22 [INFO] [stderr] Checking proc-macro2 v1.0.103 [INFO] [stderr] Checking quote v1.0.42 [INFO] [stderr] Checking syn v2.0.110 [INFO] [stderr] Checking chime-flux-proc-macro v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `quote::*` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use quote::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_token_stream` exists for reference `&Stmt`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | s.to_token_stream() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.110/src/stmt.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / ast_enum! { [INFO] [stdout] 19 | | /// A statement, usually ending in a semicolon. [INFO] [stdout] 20 | | #[cfg_attr(docsrs, doc(cfg(feature = "full")))] [INFO] [stdout] 21 | | pub enum Stmt { [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- doesn't satisfy `Stmt: proc_macro::ToTokens` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Stmt: proc_macro::ToTokens` [INFO] [stdout] which is required by `&Stmt: proc_macro::ToTokens` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToTokens` which provides `to_token_stream` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use quote::ToTokens; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_token_stream` exists for reference `&Stmt`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | s.to_token_stream() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.110/src/stmt.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / ast_enum! { [INFO] [stdout] 19 | | /// A statement, usually ending in a semicolon. [INFO] [stdout] 20 | | #[cfg_attr(docsrs, doc(cfg(feature = "full")))] [INFO] [stdout] 21 | | pub enum Stmt { [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- doesn't satisfy `Stmt: proc_macro::ToTokens` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Stmt: proc_macro::ToTokens` [INFO] [stdout] which is required by `&Stmt: proc_macro::ToTokens` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToTokens` which provides `to_token_stream` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use quote::ToTokens; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_token_stream` exists for reference `&syn::Expr`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:216:6 [INFO] [stdout] | [INFO] [stdout] 216 | e.to_token_stream() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.110/src/expr.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / ast_enum_of_structs! { [INFO] [stdout] 36 | | /// A Rust expression. [INFO] [stdout] 37 | | /// [INFO] [stdout] 38 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 267 | | } [INFO] [stdout] | |_- doesn't satisfy `syn::Expr: proc_macro::ToTokens` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `syn::Expr: proc_macro::ToTokens` [INFO] [stdout] which is required by `&syn::Expr: proc_macro::ToTokens` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToTokens` which provides `to_token_stream` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use quote::ToTokens; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quote::*` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use quote::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_token_stream` found for struct `syn::Path` in the current scope [INFO] [stdout] --> src/lib.rs:290:16 [INFO] [stdout] | [INFO] [stdout] 290 | crate_path.to_token_stream(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quote-1.0.42/src/to_tokens.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn to_token_stream(&self) -> TokenStream { [INFO] [stdout] | --------------- the method is available for `syn::Path` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToTokens` which provides `to_token_stream` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use quote::ToTokens; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_token_stream` with a similar name [INFO] [stdout] | [INFO] [stdout] 290 | crate_path.into_token_stream(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:313:6 [INFO] [stdout] | [INFO] [stdout] 313 | if value_idents.contains(&ident.unraw()) { [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:334:11 [INFO] [stdout] | [INFO] [stdout] 334 | else if change_idents.contains(&ident.unraw()) { [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chime-flux-proc-macro` (lib) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: the method `to_token_stream` exists for reference `&Stmt`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | s.to_token_stream() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.110/src/stmt.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / ast_enum! { [INFO] [stdout] 19 | | /// A statement, usually ending in a semicolon. [INFO] [stdout] 20 | | #[cfg_attr(docsrs, doc(cfg(feature = "full")))] [INFO] [stdout] 21 | | pub enum Stmt { [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- doesn't satisfy `Stmt: proc_macro::ToTokens` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Stmt: proc_macro::ToTokens` [INFO] [stdout] which is required by `&Stmt: proc_macro::ToTokens` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToTokens` which provides `to_token_stream` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use quote::ToTokens; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_token_stream` exists for reference `&Stmt`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | s.to_token_stream() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.110/src/stmt.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / ast_enum! { [INFO] [stdout] 19 | | /// A statement, usually ending in a semicolon. [INFO] [stdout] 20 | | #[cfg_attr(docsrs, doc(cfg(feature = "full")))] [INFO] [stdout] 21 | | pub enum Stmt { [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- doesn't satisfy `Stmt: proc_macro::ToTokens` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Stmt: proc_macro::ToTokens` [INFO] [stdout] which is required by `&Stmt: proc_macro::ToTokens` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToTokens` which provides `to_token_stream` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use quote::ToTokens; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_token_stream` exists for reference `&syn::Expr`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:216:6 [INFO] [stdout] | [INFO] [stdout] 216 | e.to_token_stream() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.110/src/expr.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / ast_enum_of_structs! { [INFO] [stdout] 36 | | /// A Rust expression. [INFO] [stdout] 37 | | /// [INFO] [stdout] 38 | | /// *This type is available only if Syn is built with the `"derive"` or `"full"` [INFO] [stdout] ... | [INFO] [stdout] 267 | | } [INFO] [stdout] | |_- doesn't satisfy `syn::Expr: proc_macro::ToTokens` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `syn::Expr: proc_macro::ToTokens` [INFO] [stdout] which is required by `&syn::Expr: proc_macro::ToTokens` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToTokens` which provides `to_token_stream` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use quote::ToTokens; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_token_stream` found for struct `syn::Path` in the current scope [INFO] [stdout] --> src/lib.rs:290:16 [INFO] [stdout] | [INFO] [stdout] 290 | crate_path.to_token_stream(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `quote` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/quote-1.0.42/src/to_tokens.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait ToTokens { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this is the expected trait [INFO] [stdout] --> /rustc/c8551d3c63c51f290cf1dc9dc4714249ea849fd1/library/proc_macro/src/to_tokens.rs:11:0 [INFO] [stdout] | [INFO] [stdout] = note: this is the trait that was imported [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] help: there is a method `into_token_stream` with a similar name [INFO] [stdout] | [INFO] [stdout] 290 | crate_path.into_token_stream(), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:313:6 [INFO] [stdout] | [INFO] [stdout] 313 | if value_idents.contains(&ident.unraw()) { [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:334:11 [INFO] [stdout] | [INFO] [stdout] 334 | else if change_idents.contains(&ident.unraw()) { [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chime-flux-proc-macro` (lib test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "3bb6abb555b90caf6495b340d9b84474e9ebaee3f818120326f108d4706ca824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bb6abb555b90caf6495b340d9b84474e9ebaee3f818120326f108d4706ca824", kill_on_drop: false }` [INFO] [stdout] 3bb6abb555b90caf6495b340d9b84474e9ebaee3f818120326f108d4706ca824