[INFO] fetching crate near-bindgen-macros 0.6.0... [INFO] testing near-bindgen-macros-0.6.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate near-bindgen-macros 0.6.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate near-bindgen-macros 0.6.0 [INFO] finished tweaking crates.io crate near-bindgen-macros 0.6.0 [INFO] tweaked toml for crates.io crate near-bindgen-macros 0.6.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate near-bindgen-macros 0.6.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.110) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78eb9a5ad1173b9c5ae36d5e8f6134e8a75b29e387583476c17a0445bb60b74e [INFO] running `Command { std: "docker" "start" "-a" "78eb9a5ad1173b9c5ae36d5e8f6134e8a75b29e387583476c17a0445bb60b74e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78eb9a5ad1173b9c5ae36d5e8f6134e8a75b29e387583476c17a0445bb60b74e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78eb9a5ad1173b9c5ae36d5e8f6134e8a75b29e387583476c17a0445bb60b74e", kill_on_drop: false }` [INFO] [stdout] 78eb9a5ad1173b9c5ae36d5e8f6134e8a75b29e387583476c17a0445bb60b74e [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efb0a643d0a8c03ef83c31c21b739225bdfec9794f308be73f8c33b8bceb8ba7 [INFO] running `Command { std: "docker" "start" "-a" "efb0a643d0a8c03ef83c31c21b739225bdfec9794f308be73f8c33b8bceb8ba7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling near-bindgen-core v0.6.0 [INFO] [stdout] error[E0432]: unresolved import `syn::export` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-bindgen-core-0.6.0/src/code_generator/attr_sig_info.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use syn::export::TokenStream2; [INFO] [stdout] | ^^^^^^ could not find `export` in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::export` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-bindgen-core-0.6.0/src/code_generator/impl_item_method_info.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::export::TokenStream2; [INFO] [stdout] | ^^^^^^ could not find `export` in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::export` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-bindgen-core-0.6.0/src/code_generator/item_trait_info.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::export::TokenStream2; [INFO] [stdout] | ^^^^^^ could not find `export` in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::export` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-bindgen-core-0.6.0/src/code_generator/trait_item_method_info.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::export::TokenStream2; [INFO] [stdout] | ^^^^^^ could not find `export` in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::export` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-bindgen-core-0.6.0/src/code_generator/item_impl_info.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use syn::export::TokenStream2; [INFO] [stdout] | ^^^^^^ could not find `export` in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::export` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-bindgen-core-0.6.0/src/info_extractor/arg_info.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::export::Span; [INFO] [stdout] | ^^^^^^ could not find `export` in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::export` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-bindgen-core-0.6.0/src/info_extractor/attr_sig_info.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use syn::export::Span; [INFO] [stdout] | ^^^^^^ could not find `export` in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::export` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-bindgen-core-0.6.0/src/info_extractor/trait_item_method_info.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use syn::export::Span; [INFO] [stdout] | ^^^^^^ could not find `export` in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::export` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-bindgen-core-0.6.0/src/info_extractor/item_trait_info.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::export::Span; [INFO] [stdout] | ^^^^^^ could not find `export` in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::export` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-bindgen-core-0.6.0/src/metadata/metadata_generator.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::export::TokenStream2; [INFO] [stdout] | ^^^^^^ could not find `export` in `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `syn::export` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-bindgen-core-0.6.0/src/metadata/metadata_visitor.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | use syn::export::{ToTokens, TokenStream2}; [INFO] [stdout] | ^^^^^^ could not find `export` in `syn` [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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-bindgen-core-0.6.0/src/metadata/metadata_visitor.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | .any(|attr| attr.path.to_token_stream().to_string().as_str() == "near_bindgen"); [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] 5 + use quote::ToTokens; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into_token_stream` with a similar name [INFO] [stdout] | [INFO] [stdout] 25 | .any(|attr| attr.path.into_token_stream().to_string().as_str() == "near_bindgen"); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-bindgen-core-0.6.0/src/metadata/metadata_visitor.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(quote! { [INFO] [stdout] | ____________^ [INFO] [stdout] 58 | | #[cfg(target_arch = "wasm32")] [INFO] [stdout] 59 | | #[no_mangle] [INFO] [stdout] 60 | | pub extern "C" fn metadata() { [INFO] [stdout] ... | [INFO] [stdout] 70 | | }) [INFO] [stdout] | |_________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::quote_bind_next_or_break` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `near-bindgen-core` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "efb0a643d0a8c03ef83c31c21b739225bdfec9794f308be73f8c33b8bceb8ba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efb0a643d0a8c03ef83c31c21b739225bdfec9794f308be73f8c33b8bceb8ba7", kill_on_drop: false }` [INFO] [stdout] efb0a643d0a8c03ef83c31c21b739225bdfec9794f308be73f8c33b8bceb8ba7