[INFO] updating cached repository https://github.com/kindlychung/randfile [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 307244de9a967ecebae649a0d1c3bf7d725f8e66 [INFO] checking kindlychung/randfile against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkindlychung%2Frandfile" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kindlychung/randfile on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/kindlychung/randfile [INFO] finished tweaking git repo https://github.com/kindlychung/randfile [INFO] tweaked toml for git repo https://github.com/kindlychung/randfile written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/kindlychung/randfile already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] b8e37ff4364e0fac705ca53f02b1b3a206d213389ee8772ab5e681867cf134ee [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "b8e37ff4364e0fac705ca53f02b1b3a206d213389ee8772ab5e681867cf134ee"` [INFO] [stderr] Compiling strsim v0.5.2 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Compiling docopt_macros v0.6.88 [INFO] [stderr] error[E0557]: feature has been removed [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:4:30 [INFO] [stderr] | [INFO] [stderr] 4 | #![feature(plugin_registrar, quote, rustc_private)] [INFO] [stderr] | ^^^^^ feature has been removed [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::codemap` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | use syntax::{ast, codemap, tokenstream}; [INFO] [stderr] | ^^^^^^^ no `codemap` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::ext::build::AstBuilder` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use syntax::ext::build::AstBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AstBuilder` in `ext::build` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::fold` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | use syntax::fold::Folder; [INFO] [stderr] | ^^^^ could not find `fold` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::parse::common` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:22:20 [INFO] [stderr] | [INFO] [stderr] 22 | use syntax::parse::common::SeqSep; [INFO] [stderr] | ^^^^^^ could not find `common` in `parse` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::util::small_vector` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:28:19 [INFO] [stderr] | [INFO] [stderr] 28 | use syntax::util::small_vector::SmallVector; [INFO] [stderr] | ^^^^^^^^^^^^ could not find `small_vector` in `util` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `quote_item` in this scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:70:18 [INFO] [stderr] | [INFO] [stderr] 70 | its.push(quote_item!(cx, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `keywords` in `symbol` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:259:49 [INFO] [stderr] | [INFO] [stderr] 259 | let public = self.p.eat_keyword(symbol::keywords::Pub); [INFO] [stderr] | ^^^^^^^^ could not find `keywords` in `symbol` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `NestedMetaItemKind` in `ast` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:303:20 [INFO] [stderr] | [INFO] [stderr] 303 | node: ast::NestedMetaItemKind::MetaItem(cx.meta_word(codemap::DUMMY_SP, intern(s))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ could not find `NestedMetaItemKind` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `PathParameters` in `ast` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:323:37 [INFO] [stderr] | [INFO] [stderr] 323 | parameters: Some(P(ast::PathParameters::AngleBracketed(tystr))), [INFO] [stderr] | ^^^^^^^^^^^^^^ could not find `PathParameters` in `ast` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NestedMetaItemKind` in module `ast` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:301:62 [INFO] [stderr] | [INFO] [stderr] 301 | fn meta_item(cx: &ExtCtxt, s: &str) -> codemap::Spanned { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: an enum with a similar name exists: `NestedMetaItem` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `AngleBracketedParameterData` in module `ast` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:314:22 [INFO] [stderr] | [INFO] [stderr] 314 | let tystr = ast::AngleBracketedParameterData { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `ast` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:37:34 [INFO] [stderr] | [INFO] [stderr] 37 | reg.register_macro("docopt", expand); [INFO] [stderr] | ^^^^^^ expected struct `syntax::tokenstream::TokenStream`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `for<'cx, 'r> fn(&'cx mut syntax::ext::base::ExtCtxt<'r>, syntax::source_map::Span, syntax::tokenstream::TokenStream) -> std::boxed::Box<(dyn syntax::ext::base::MacResult + 'cx)>` [INFO] [stderr] found type `for<'r, 's, 't0> fn(&'r mut syntax::ext::base::ExtCtxt<'s>, [type error], &'t0 [syntax::tokenstream::TokenTree]) -> std::boxed::Box<(dyn syntax::ext::base::MacResult + 'static)> {expand}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Public` found for type `syntax::source_map::Spanned` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:86:65 [INFO] [stderr] | [INFO] [stderr] 86 | let vis = if self.struct_info.public { ast::Visibility::Public } [INFO] [stderr] | ^^^^^^ associated item not found in `syntax::source_map::Spanned` [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Inherited` found for type `syntax::source_map::Spanned` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:87:43 [INFO] [stderr] | [INFO] [stderr] 87 | else { ast::Visibility::Inherited }; [INFO] [stderr] | ^^^^^^^^^ associated item not found in `syntax::source_map::Spanned` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:89:37 [INFO] [stderr] | [INFO] [stderr] 89 | self.struct_fields(cx), ast::DUMMY_NODE_ID); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ expected bool, found struct `syntax::ast::NodeId` [INFO] [stderr] | [INFO] [stderr] = note: expected type `bool` [INFO] [stderr] found type `syntax::ast::NodeId` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `item_struct` found for type `&syntax::ext::base::ExtCtxt<'_>` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:96:21 [INFO] [stderr] | [INFO] [stderr] 96 | let st = cx.item_struct(codemap::DUMMY_SP, name.clone(), def); [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&syntax::ext::base::ExtCtxt<'_>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Public` found for type `syntax::source_map::Spanned` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:145:35 [INFO] [stderr] | [INFO] [stderr] 145 | vis: ast::Visibility::Public, [INFO] [stderr] | ^^^^^^ associated item not found in `syntax::source_map::Spanned` [INFO] [stderr] [INFO] [stderr] error[E0063]: missing field `is_placeholder` in initializer of `syntax::ast::StructField` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:142:9 [INFO] [stderr] | [INFO] [stderr] 142 | ast::StructField { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ missing `is_placeholder` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:161:40 [INFO] [stderr] | [INFO] [stderr] 161 | let p = cx.new_parser_from_tts(tts); [INFO] [stderr] | ^^^ expected struct `syntax::tokenstream::TokenStream`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `syntax::tokenstream::TokenStream` [INFO] [stderr] found type `&[syntax::tokenstream::TokenTree]` [INFO] [stderr] [INFO] [stderr] error[E0624]: method `check` is private [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:179:20 [INFO] [stderr] | [INFO] [stderr] 179 | if !self.p.check(&token::Eof) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:187:20 [INFO] [stderr] | [INFO] [stderr] 187 | .map(|(ident, ty)| { [INFO] [stderr] | ^^^^^^^^^^^ expected a tuple with 3 elements, found one with 2 elements [INFO] [stderr] | [INFO] [stderr] = note: expected type `(std::vec::Vec<(syntax::ast::Ident, syntax::ptr::P)>, bool, bool)` [INFO] [stderr] found type `(_, _)` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `fold_expr` found for type `syntax::ext::expand::MacroExpander<'_, '_>` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:230:38 [INFO] [stderr] | [INFO] [stderr] 230 | let exp = self.cx.expander().fold_expr(self.p.parse_expr().unwrap()); [INFO] [stderr] | ^^^^^^^^^ method not found in `syntax::ext::expand::MacroExpander<'_, '_>` [INFO] [stderr] [INFO] [stderr] error[E0614]: type `syntax::ast::Lit` cannot be dereferenced [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:232:56 [INFO] [stderr] | [INFO] [stderr] 232 | ast::ExprKind::Lit(ref lit) if lit_is_str(&**lit) => { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `syntax::ast::Lit` cannot be dereferenced [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:233:32 [INFO] [stderr] | [INFO] [stderr] 233 | lit_to_string(&**lit) [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `node` on type `&syntax::ast::Lit` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:219:23 [INFO] [stderr] | [INFO] [stderr] 219 | match lit.node { [INFO] [stderr] | ^^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `token`, `kind`, `span` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `node` on type `&syntax::ast::Lit` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:225:23 [INFO] [stderr] | [INFO] [stderr] 225 | match lit.node { [INFO] [stderr] | ^^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `token`, `kind`, `span` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `with_empty_ctxt` found for type `syntax::ast::Ident` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:290:17 [INFO] [stderr] | [INFO] [stderr] 290 | ast::Ident::with_empty_ctxt(symbol::Symbol::intern(s)) [INFO] [stderr] | ^^^^^^^^^^^^^^^ function or associated item not found in `syntax::ast::Ident` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `meta_list` found for type `&syntax::ext::base::ExtCtxt<'_>` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:297:17 [INFO] [stderr] | [INFO] [stderr] 297 | let mi = cx.meta_list(sp, intern(name.borrow()), its); [INFO] [stderr] | ^^^^^^^^^ method not found in `&syntax::ext::base::ExtCtxt<'_>` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 2 parameters were supplied [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:298:8 [INFO] [stderr] | [INFO] [stderr] 298 | cx.attribute(sp, mi) [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `syntax::ast::PathSegment` has no field named `identifier` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:322:13 [INFO] [stderr] | [INFO] [stderr] 322 | identifier: ident("Vec"), [INFO] [stderr] | ^^^^^^^^^^ `syntax::ast::PathSegment` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `ident`, `id`, `args` [INFO] [stderr] [INFO] [stderr] error[E0560]: struct `syntax::ast::PathSegment` has no field named `parameters` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/docopt_macros-0.6.88/src/macro.rs:323:13 [INFO] [stderr] | [INFO] [stderr] 323 | parameters: Some(P(ast::PathParameters::AngleBracketed(tystr))), [INFO] [stderr] | ^^^^^^^^^^ `syntax::ast::PathSegment` does not have this field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `ident`, `id`, `args` [INFO] [stderr] [INFO] [stderr] error: aborting due to 32 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0063, E0308, E0412, E0422, E0432, E0433, E0557, E0560... [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `docopt_macros`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b8e37ff4364e0fac705ca53f02b1b3a206d213389ee8772ab5e681867cf134ee"` [INFO] running `"docker" "rm" "-f" "b8e37ff4364e0fac705ca53f02b1b3a206d213389ee8772ab5e681867cf134ee"` [INFO] [stdout] b8e37ff4364e0fac705ca53f02b1b3a206d213389ee8772ab5e681867cf134ee