[INFO] fetching crate near-bindgen-core 0.6.0...
[INFO] checking near-bindgen-core-0.6.0 against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1
[INFO] extracting crate near-bindgen-core 0.6.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate near-bindgen-core 0.6.0
[INFO] finished tweaking crates.io crate near-bindgen-core 0.6.0
[INFO] tweaked toml for crates.io crate near-bindgen-core 0.6.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate near-bindgen-core 0.6.0 on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "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" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 11 packages to latest compatible versions
[INFO] [stderr]       Adding syn v1.0.109 (available: v3.0.3)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 12450ee32662fa09bfb98e8c2293c6d6e104ee5cf4269a913c576aef8c785eaa
[INFO] running `Command { std: "docker" "start" "12450ee32662fa09bfb98e8c2293c6d6e104ee5cf4269a913c576aef8c785eaa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "12450ee32662fa09bfb98e8c2293c6d6e104ee5cf4269a913c576aef8c785eaa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "12450ee32662fa09bfb98e8c2293c6d6e104ee5cf4269a913c576aef8c785eaa" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "12450ee32662fa09bfb98e8c2293c6d6e104ee5cf4269a913c576aef8c785eaa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "12450ee32662fa09bfb98e8c2293c6d6e104ee5cf4269a913c576aef8c785eaa" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]     Checking memchr v2.8.3
[INFO] [stderr]     Checking unicode-ident v1.0.24
[INFO] [stderr]     Checking regex-syntax v0.8.11
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking regex-automata v0.4.16
[INFO] [stderr]     Checking regex v1.13.1
[INFO] [stderr]     Checking Inflector v0.11.4
[INFO] [stderr]     Checking near-bindgen-core v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `syn::export`
[INFO] [stdout]  --> 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]  --> 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]  --> 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]  --> 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]  --> 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]  --> 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]  --> 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]  --> 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]  --> 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]  --> 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]  --> 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] warning: unused import: `attr_sig_info::*`
[INFO] [stdout]  --> src/code_generator/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use attr_sig_info::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `impl_item_method_info::*`
[INFO] [stdout]  --> src/code_generator/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use impl_item_method_info::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `item_trait_info::*`
[INFO] [stdout]  --> src/code_generator/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use item_trait_info::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `trait_item_method_info::*`
[INFO] [stdout]   --> src/code_generator/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use trait_item_method_info::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `item_impl_info::*`
[INFO] [stdout]   --> src/code_generator/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use item_impl_info::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `code_generator::*`
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use code_generator::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `syn::export`
[INFO] [stdout]  --> 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]  --> 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]  --> 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]  --> 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]  --> 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]  --> 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]  --> 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]  --> 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]  --> 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]  --> 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]  --> 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]   --> 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.47/src/to_tokens.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 |     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] warning: unused import: `attr_sig_info::*`
[INFO] [stdout]  --> src/code_generator/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use attr_sig_info::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `impl_item_method_info::*`
[INFO] [stdout]  --> src/code_generator/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use impl_item_method_info::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `item_trait_info::*`
[INFO] [stdout]  --> src/code_generator/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use item_trait_info::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `trait_item_method_info::*`
[INFO] [stdout]   --> src/code_generator/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use trait_item_method_info::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `item_impl_info::*`
[INFO] [stdout]   --> src/code_generator/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use item_impl_info::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `code_generator::*`
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use code_generator::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `near-bindgen-core` (lib) due to 12 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `to_token_stream` found for struct `syn::Path` in the current scope
[INFO] [stdout]   --> 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.47/src/to_tokens.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 |     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] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `near-bindgen-core` (lib test) due to 12 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "12450ee32662fa09bfb98e8c2293c6d6e104ee5cf4269a913c576aef8c785eaa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12450ee32662fa09bfb98e8c2293c6d6e104ee5cf4269a913c576aef8c785eaa", kill_on_drop: false }`
[INFO] [stdout] 12450ee32662fa09bfb98e8c2293c6d6e104ee5cf4269a913c576aef8c785eaa
