[INFO] crate attribution 0.2.0 is already in cache [INFO] checking attribution-0.2.0 against master#30ca215b4e38b32aa7abdd635c5e2d56f5724494 for pr-66037 [INFO] extracting crate attribution 0.2.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate attribution 0.2.0 on toolchain 30ca215b4e38b32aa7abdd635c5e2d56f5724494 [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate attribution 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate attribution 0.2.0 [INFO] tweaked toml for crates.io crate attribution 0.2.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+30ca215b4e38b32aa7abdd635c5e2d56f5724494" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5a15ec3565ed75f326a01f07fe416560e2784e279d808cda6a650282be2599ee [INFO] running `"docker" "start" "-a" "5a15ec3565ed75f326a01f07fe416560e2784e279d808cda6a650282be2599ee"` [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Checking proc-macro2 v0.4.30 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Checking syn v0.15.44 [INFO] [stderr] Compiling attribution-macros v0.2.1 [INFO] [stderr] Compiling shrinkwraprs v0.2.3 [INFO] [stderr] Checking attribution v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `syn::Item` [INFO] [stderr] --> examples/gs.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use syn::Item; [INFO] [stderr] | ^^^^^^^^^ no `Item` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syn::ItemStruct` [INFO] [stderr] --> examples/gs.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use syn::ItemStruct; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `ItemStruct` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Item` in `syn` [INFO] [stderr] --> examples/ez_trace.rs:24:17 [INFO] [stderr] | [INFO] [stderr] 24 | if let syn::Item::Fn(tagged_fn) = syn::parse2(tagged).unwrap() { [INFO] [stderr] | ^^^^ could not find `Item` in `syn` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ItemFn` in crate `syn` [INFO] [stderr] --> examples/ez_trace.rs:31:54 [INFO] [stderr] | [INFO] [stderr] 31 | fn impl_trace(attr: EzTraceArgs, mut tagged_fn: syn::ItemFn) -> proc_macro2::TokenStream { [INFO] [stderr] | ^^^^^^ not found in `syn` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Block` in crate `syn` [INFO] [stderr] --> examples/ez_trace.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | let new_block: syn::Block = syn::parse_quote! { [INFO] [stderr] | ^^^^^ not found in `syn` [INFO] [stderr] | [INFO] [stderr] help: there is an enum variant `syn::Expr::Block`; try using the variant's enum [INFO] [stderr] | [INFO] [stderr] 51 | let new_block: syn::Expr = syn::parse_quote! { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `attribution`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused import: `quote::ToTokens` [INFO] [stderr] --> examples/ez_trace.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use quote::ToTokens; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `attribution`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "5a15ec3565ed75f326a01f07fe416560e2784e279d808cda6a650282be2599ee"` [INFO] running `"docker" "rm" "-f" "5a15ec3565ed75f326a01f07fe416560e2784e279d808cda6a650282be2599ee"` [INFO] [stdout] 5a15ec3565ed75f326a01f07fe416560e2784e279d808cda6a650282be2599ee