[INFO] cloning repository https://github.com/zertyz/zertyz-rust-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zertyz/zertyz-rust-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzertyz%2Fzertyz-rust-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzertyz%2Fzertyz-rust-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f2b6ffc245bc6525ef42445feca34ecc5ebd5c0 [INFO] checking zertyz/zertyz-rust-playground against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzertyz%2Fzertyz-rust-playground" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zertyz/zertyz-rust-playground on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zertyz/zertyz-rust-playground [INFO] finished tweaking git repo https://github.com/zertyz/zertyz-rust-playground [INFO] tweaked toml for git repo https://github.com/zertyz/zertyz-rust-playground written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/zertyz/zertyz-rust-playground already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-6/source/big-O/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-6/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-6/source/web-backend-rocket/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-6/source/Cargo.toml [INFO] [stderr] warning: /workspace/builds/worker-6/source/mmap-containers/Cargo.toml: dependency (bincode) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d6c30e144e07266fade7f8704db1ea99959b967775fbe27c573bd621e16e83f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9d6c30e144e07266fade7f8704db1ea99959b967775fbe27c573bd621e16e83f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d6c30e144e07266fade7f8704db1ea99959b967775fbe27c573bd621e16e83f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d6c30e144e07266fade7f8704db1ea99959b967775fbe27c573bd621e16e83f", kill_on_drop: false }` [INFO] [stdout] 9d6c30e144e07266fade7f8704db1ea99959b967775fbe27c573bd621e16e83f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68c3b0566441c4282a431e2b548a8b51374da903beebcc374a92a83fb423a65c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "68c3b0566441c4282a431e2b548a8b51374da903beebcc374a92a83fb423a65c", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/big-O/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/web-backend-rocket/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: /opt/rustwide/workdir/mmap-containers/Cargo.toml: dependency (bincode) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Checking inlinable_string v0.1.14 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling bytecheck v0.6.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rend v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.70 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking unsigned-varint v0.5.1 [INFO] [stderr] Compiling rkyv v0.7.5 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking zertyz-rust-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking lifetimes v0.1.0 (/opt/rustwide/workdir/lifetimes) [INFO] [stderr] Checking cpp-interop v0.1.0 (/opt/rustwide/workdir/cpp-interop) [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stdout] error: can't use a procedural macro from the same crate that defines it [INFO] [stdout] --> lifetimes/src/lifetimes.rs:302:3 [INFO] [stdout] | [INFO] [stdout] 302 | #[my_annotation] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `proc_macro` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use proc_macro::TokenStream; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `proc_macro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `proc_macro_error` in this scope [INFO] [stdout] --> lifetimes/src/lifetimes.rs:212:3 [INFO] [stdout] | [INFO] [stdout] 212 | #[proc_macro_error] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `proc_macro_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `abort_call_site` in this scope [INFO] [stdout] --> lifetimes/src/lifetimes.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | abort_call_site!("Found async test attribute after serial, which will break"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote` in this scope [INFO] [stdout] --> lifetimes/src/lifetimes.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | Some(_) => quote! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote` in this scope [INFO] [stdout] --> lifetimes/src/lifetimes.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | None => quote! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote` in this scope [INFO] [stdout] --> lifetimes/src/lifetimes.rs:284:24 [INFO] [stdout] | [INFO] [stdout] 284 | Some(_) => quote! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote` in this scope [INFO] [stdout] --> lifetimes/src/lifetimes.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | None => quote! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proc_macro2` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:218:11 [INFO] [stdout] | [INFO] [stdout] 218 | attr: proc_macro2::TokenStream, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proc_macro2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proc_macro2` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | input: proc_macro2::TokenStream, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proc_macro2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proc_macro2` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:220:6 [INFO] [stdout] | [INFO] [stdout] 220 | ) -> proc_macro2::TokenStream { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proc_macro2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:225:20 [INFO] [stdout] | [INFO] [stdout] 225 | if let TokenTree::Ident(id) = &attrs[0] { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syn` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | let ast: syn::ItemFn = syn::parse2(input).unwrap(); [INFO] [stdout] | ^^^ use of undeclared crate or module `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syn` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:235:28 [INFO] [stdout] | [INFO] [stdout] 235 | let ast: syn::ItemFn = syn::parse2(input).unwrap(); [INFO] [stdout] | ^^^ use of undeclared crate or module `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syn` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | syn::ReturnType::Default => None, [INFO] [stdout] | ^^^ use of undeclared crate or module `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syn` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | syn::ReturnType::Type(_rarrow, ref box_type) => Some(box_type.deref()), [INFO] [stdout] | ^^^ use of undeclared crate or module `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syn` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | let attrs: Vec = ast [INFO] [stdout] | ^^^ use of undeclared crate or module `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> lifetimes/src/lifetimes.rs:221:48 [INFO] [stdout] | [INFO] [stdout] 217 | fn my_annotation_handler( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 221 | let attrs = attr.into_iter().collect::>(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read cpp-interop/src/cpp-interop.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicU64` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicU64, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpp-interop` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: couldn't read cpp-interop/src/cpp-interop.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: can't use a procedural macro from the same crate that defines it [INFO] [stdout] --> lifetimes/src/lifetimes.rs:302:3 [INFO] [stdout] | [INFO] [stdout] 302 | #[my_annotation] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `#[proc_macro_attribute]` attribute is only usable with crates of the `proc-macro` crate type [INFO] [stdout] --> lifetimes/src/lifetimes.rs:211:1 [INFO] [stdout] | [INFO] [stdout] 211 | #[proc_macro_attribute] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `proc_macro` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use proc_macro::TokenStream; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `proc_macro` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `proc_macro_error` in this scope [INFO] [stdout] --> lifetimes/src/lifetimes.rs:212:3 [INFO] [stdout] | [INFO] [stdout] 212 | #[proc_macro_error] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `proc_macro_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `abort_call_site` in this scope [INFO] [stdout] --> lifetimes/src/lifetimes.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | abort_call_site!("Found async test attribute after serial, which will break"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote` in this scope [INFO] [stdout] --> lifetimes/src/lifetimes.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | Some(_) => quote! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote` in this scope [INFO] [stdout] --> lifetimes/src/lifetimes.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | None => quote! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote` in this scope [INFO] [stdout] --> lifetimes/src/lifetimes.rs:284:24 [INFO] [stdout] | [INFO] [stdout] 284 | Some(_) => quote! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote` in this scope [INFO] [stdout] --> lifetimes/src/lifetimes.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | None => quote! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proc_macro2` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:218:11 [INFO] [stdout] | [INFO] [stdout] 218 | attr: proc_macro2::TokenStream, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proc_macro2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proc_macro2` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | input: proc_macro2::TokenStream, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proc_macro2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `proc_macro2` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:220:6 [INFO] [stdout] | [INFO] [stdout] 220 | ) -> proc_macro2::TokenStream { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `proc_macro2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:225:20 [INFO] [stdout] | [INFO] [stdout] 225 | if let TokenTree::Ident(id) = &attrs[0] { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syn` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | let ast: syn::ItemFn = syn::parse2(input).unwrap(); [INFO] [stdout] | ^^^ use of undeclared crate or module `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syn` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:235:28 [INFO] [stdout] | [INFO] [stdout] 235 | let ast: syn::ItemFn = syn::parse2(input).unwrap(); [INFO] [stdout] | ^^^ use of undeclared crate or module `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syn` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | syn::ReturnType::Default => None, [INFO] [stdout] | ^^^ use of undeclared crate or module `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syn` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | syn::ReturnType::Type(_rarrow, ref box_type) => Some(box_type.deref()), [INFO] [stdout] | ^^^ use of undeclared crate or module `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syn` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | let attrs: Vec = ast [INFO] [stdout] | ^^^ use of undeclared crate or module `syn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> lifetimes/src/lifetimes.rs:221:48 [INFO] [stdout] | [INFO] [stdout] 217 | fn my_annotation_handler( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 221 | let attrs = attr.into_iter().collect::>(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicU64` [INFO] [stdout] --> lifetimes/src/lifetimes.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::atomic::{AtomicU64, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "68c3b0566441c4282a431e2b548a8b51374da903beebcc374a92a83fb423a65c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68c3b0566441c4282a431e2b548a8b51374da903beebcc374a92a83fb423a65c", kill_on_drop: false }` [INFO] [stdout] 68c3b0566441c4282a431e2b548a8b51374da903beebcc374a92a83fb423a65c