[INFO] updating cached repository Moggers/openrlfb [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Moggers/openrlfb [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Moggers/openrlfb" "work/ex/beta-1.38-1/sources/1.37.0/gh/Moggers/openrlfb"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/Moggers/openrlfb'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Moggers/openrlfb" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Moggers/openrlfb"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Moggers/openrlfb'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2aec179c73bfc60dc9ecd8582c1ecb9241e435b5 [INFO] sha for GitHub repo Moggers/openrlfb: 2aec179c73bfc60dc9ecd8582c1ecb9241e435b5 [INFO] validating manifest of Moggers/openrlfb on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Moggers/openrlfb on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Moggers/openrlfb [INFO] removed path dependency amethyst from Moggers/openrlfb [INFO] finished frobbing Moggers/openrlfb [INFO] frobbed toml for Moggers/openrlfb written to work/ex/beta-1.38-1/sources/1.37.0/gh/Moggers/openrlfb/Cargo.toml [INFO] started frobbing Moggers/openrlfb [INFO] removed path dependency amethyst from Moggers/openrlfb [INFO] finished frobbing Moggers/openrlfb [INFO] frobbed toml for Moggers/openrlfb written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Moggers/openrlfb/Cargo.toml [INFO] crate Moggers/openrlfb already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/Moggers/openrlfb/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/gfx-rs/gfx` [INFO] [stderr] Updating git repository `https://github.com/servo/servo` [INFO] [stderr] Updating git repository `https://github.com/servo/webrender` [INFO] [stderr] Updating git repository `https://github.com/servo/gaol` [INFO] [stderr] Updating git repository `https://github.com/servo/devices` [INFO] [stderr] Updating git repository `https://github.com/servo/rust-azure` [INFO] [stderr] Updating git repository `https://github.com/servo/fontsan` [INFO] [stderr] Updating git repository `https://github.com/pcwalton/signpost.git` [INFO] [stderr] Updating git repository `https://github.com/servo/angle` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/gfx-rs/gfx` [INFO] [stderr] Updating git repository `https://github.com/servo/servo` [INFO] [stderr] Updating git repository `https://github.com/servo/webrender` [INFO] [stderr] Updating git repository `https://github.com/servo/gaol` [INFO] [stderr] Updating git repository `https://github.com/servo/devices` [INFO] [stderr] Updating git repository `https://github.com/servo/rust-azure` [INFO] [stderr] Updating git repository `https://github.com/servo/fontsan` [INFO] [stderr] Updating git repository `https://github.com/pcwalton/signpost.git` [INFO] [stderr] Updating git repository `https://github.com/servo/angle` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing Moggers/openrlfb against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/Moggers/openrlfb:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 49524ef32b2e419b7961cf20c26edda0e16dfbe597d895749bf5c5074dfbe8c1 [INFO] running `"docker" "start" "-a" "49524ef32b2e419b7961cf20c26edda0e16dfbe597d895749bf5c5074dfbe8c1"` [INFO] [stderr] warning: dependency (amethyst) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling serde v1.0.88 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling mozjs_sys v0.50.1 [INFO] [stderr] Compiling smallbitvec v1.1.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling static_assertions v0.3.4 [INFO] [stderr] Compiling signpost v0.1.0 (https://github.com/pcwalton/signpost.git#7ed71250) [INFO] [stderr] Compiling bindgen v0.46.0 [INFO] [stderr] Compiling binary-space-partition v0.1.2 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling alloc-no-stdlib v1.2.0 [INFO] [stderr] Compiling atomic_refcell v0.1.3 [INFO] [stderr] Compiling bitreader v0.3.1 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling thread_profiler v0.1.3 [INFO] [stderr] Compiling fluent-syntax v0.9.0 [INFO] [stderr] Compiling rgb v0.8.14 [INFO] [stderr] Compiling mp3-metadata v0.3.2 [INFO] [stderr] Compiling swapper v0.1.0 [INFO] [stderr] Compiling ref_filter_map v1.0.1 [INFO] [stderr] Compiling mitochondria v1.1.2 [INFO] [stderr] Compiling dom_struct v0.0.1 (https://github.com/servo/servo?rev=5af219e8188f2e657c5711eb5def4c8e8065e29d#5af219e8) [INFO] [stderr] Compiling script_plugins v0.0.1 (https://github.com/servo/servo?rev=5af219e8188f2e657c5711eb5def4c8e8065e29d#5af219e8) [INFO] [stderr] Compiling mint v0.2.0 [INFO] [stderr] error[E0658]: procedural macros cannot be expanded to expressions [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/dom_struct/lib.rs:17:22 [INFO] [stderr] | [INFO] [stderr] 17 | let attributes = quote! { [INFO] [stderr] | ______________________^ [INFO] [stderr] 18 | | #[derive(DenyPublicFields, DomObject, JSTraceable, MallocSizeOf)] [INFO] [stderr] 19 | | #[must_root] [INFO] [stderr] 20 | | #[repr(C)] [INFO] [stderr] 21 | | }; [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/54727 [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/dom_struct/lib.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #![feature(proc_macro)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'proc_macro_quote' [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/dom_struct/lib.rs:9:31 [INFO] [stderr] | [INFO] [stderr] 9 | use proc_macro::{TokenStream, quote}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/54722 [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0554, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0554`. [INFO] [stderr] error: Could not compile `dom_struct`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `syntax::codemap` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | use syntax::{ast, codemap}; [INFO] [stderr] | ^^^^^^^ no `codemap` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `syntax::codemap` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/utils.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use syntax::codemap::{ExpnFormat, Span}; [INFO] [stderr] | ^^^^^^^ could not find `codemap` in `syntax` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `TyAdt` in module `ty` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:46:17 [INFO] [stderr] | [INFO] [stderr] 46 | ty::TyAdt(did, _) => { [INFO] [stderr] | ^^^^^ not found in `ty` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `TyRef` in module `ty` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:69:17 [INFO] [stderr] | [INFO] [stderr] 69 | ty::TyRef(..) => false, // don't recurse down &ptrs [INFO] [stderr] | ^^^^^ not found in `ty` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `TyRawPtr` in module `ty` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:70:17 [INFO] [stderr] | [INFO] [stderr] 70 | ty::TyRawPtr(..) => false, // don't recurse down *ptrs [INFO] [stderr] | ^^^^^^^^ help: a tuple variant with a similar name exists: `RawPtr` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `TyFnDef` in module `ty` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:71:17 [INFO] [stderr] | [INFO] [stderr] 71 | ty::TyFnDef(..) | ty::TyFnPtr(_) => false, [INFO] [stderr] | ^^^^^^^ help: a tuple variant with a similar name exists: `FnDef` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `TyFnPtr` in module `ty` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:71:35 [INFO] [stderr] | [INFO] [stderr] 71 | ty::TyFnDef(..) | ty::TyFnPtr(_) => false, [INFO] [stderr] | ^^^^^^^ help: a tuple variant with a similar name exists: `FnPtr` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `ExprCast` in module `hir` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:187:18 [INFO] [stderr] | [INFO] [stderr] 187 | hir::ExprCast(ref subexpr, _) => require_rooted(cx, self.in_new_function, &*subexpr), [INFO] [stderr] | ^^^^^^^^ not found in `hir` [INFO] [stderr] [INFO] [stderr] error[E0603]: enum `Node` is private [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:93:22 [INFO] [stderr] | [INFO] [stderr] 93 | ast_map::Node::NodeItem(item) => item, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/lib.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | #![feature(macro_vis_matcher)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/lib.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | #![feature(plugin)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/lib.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | #![feature(plugin_registrar)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/lib.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | #![feature(rustc_private)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `name` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:78:1 [INFO] [stderr] | [INFO] [stderr] 78 | impl LintPass for UnrootedPass { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `name` in implementation [INFO] [stderr] | [INFO] [stderr] = note: `name` from trait: `fn(&Self) -> &'static str` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `check_struct_def` has an incompatible type for trait [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | / fn check_struct_def(&mut self, [INFO] [stderr] 87 | | cx: &LateContext, [INFO] [stderr] 88 | | def: &hir::VariantData, [INFO] [stderr] 89 | | _n: ast::Name, [INFO] [stderr] ... | [INFO] [stderr] 104 | | } [INFO] [stderr] 105 | | } [INFO] [stderr] | |_____^ expected struct `rustc::hir::HirId`, found struct `syntax::ast::NodeId` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut unrooted_must_root::UnrootedPass, &rustc::lint::LateContext<'a, 'tcx>, &'tcx rustc::hir::VariantData, syntax::ast::Name, &'tcx rustc::hir::Generics, rustc::hir::HirId)` [INFO] [stderr] found type `fn(&mut unrooted_must_root::UnrootedPass, &rustc::lint::LateContext<'_, '_>, &rustc::hir::VariantData, syntax::ast::Name, &rustc::hir::Generics, syntax::ast::NodeId)` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/lib.rs:46:28 [INFO] [stderr] | [INFO] [stderr] 46 | reg.register_attribute("allow_unrooted_interior".to_string(), Whitelisted); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::Name`, found struct `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected type `syntax::ast::Name` [INFO] [stderr] found type `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/lib.rs:47:28 [INFO] [stderr] | [INFO] [stderr] 47 | reg.register_attribute("must_root".to_string(), Whitelisted); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::Name`, found struct `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected type `syntax::ast::Name` [INFO] [stderr] found type `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:47:45 [INFO] [stderr] | [INFO] [stderr] 47 | if cx.tcx.has_attr(did.did, "must_root") { [INFO] [stderr] | ^^^^^^^^^^^ expected struct `syntax::ast::Name`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `syntax::ast::Name` [INFO] [stderr] found type `&'static str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:50:52 [INFO] [stderr] | [INFO] [stderr] 50 | } else if cx.tcx.has_attr(did.did, "allow_unrooted_interior") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::Name`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `syntax::ast::Name` [INFO] [stderr] found type `&'static str` [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `hir` on type `rustc::ty::TyCtxt<'_>` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:92:33 [INFO] [stderr] | [INFO] [stderr] 92 | let item = match cx.tcx.hir.get(id) { [INFO] [stderr] | ^^^ help: use parentheses to call the method: `hir()` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `NodeItem` found for type `rustc::hir::Node<'_>` in the current scope [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:93:28 [INFO] [stderr] | [INFO] [stderr] 93 | ast_map::Node::NodeItem(item) => item, [INFO] [stderr] | ^^^^^^^^ variant or associated item not found in `rustc::hir::Node<'_>` [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `hir` on type `rustc::ty::TyCtxt<'_>` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:94:25 [INFO] [stderr] | [INFO] [stderr] 94 | _ => cx.tcx.hir.expect_item(cx.tcx.hir.get_parent(id)), [INFO] [stderr] | ^^^ help: use parentheses to call the method: `hir()` [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `hir` on type `rustc::ty::TyCtxt<'_>` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:94:48 [INFO] [stderr] | [INFO] [stderr] 94 | _ => cx.tcx.hir.expect_item(cx.tcx.hir.get_parent(id)), [INFO] [stderr] | ^^^ help: use parentheses to call the method: `hir()` [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `hir` on type `rustc::ty::TyCtxt<'_>` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:98:37 [INFO] [stderr] | [INFO] [stderr] 98 | let def_id = cx.tcx.hir.local_def_id(field.id); [INFO] [stderr] | ^^^ help: use parentheses to call the method: `hir()` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `id` on type `&&rustc::hir::StructField` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:98:60 [INFO] [stderr] | [INFO] [stderr] 98 | let def_id = cx.tcx.hir.local_def_id(field.id); [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `hir` on type `rustc::ty::TyCtxt<'_>` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:109:30 [INFO] [stderr] | [INFO] [stderr] 109 | let ref map = cx.tcx.hir; [INFO] [stderr] | ^^^ help: use parentheses to call the method: `hir()` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `id` found for type `rustc::hir::VariantData` in the current scope [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:110:57 [INFO] [stderr] | [INFO] [stderr] 110 | if map.expect_item(map.get_parent(var.node.data.id())).attrs.iter().all(|a| !a.check_name("must_root")) { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `hir` on type `rustc::ty::TyCtxt<'_>` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:114:45 [INFO] [stderr] | [INFO] [stderr] 114 | let def_id = cx.tcx.hir.local_def_id(field.id); [INFO] [stderr] | ^^^ help: use parentheses to call the method: `hir()` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `id` on type `&&rustc::hir::StructField` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:114:68 [INFO] [stderr] | [INFO] [stderr] 114 | let def_id = cx.tcx.hir.local_def_id(field.id); [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error[E0023]: this pattern has 7 fields, but the corresponding tuple variant has 5 fields [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:135:13 [INFO] [stderr] | [INFO] [stderr] 135 | visit::FnKind::ItemFn(n, _, _, _, _, _, _) | [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 fields, found 7 [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `hir` on type `rustc::ty::TyCtxt<'tcx>` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:143:33 [INFO] [stderr] | [INFO] [stderr] 143 | let def_id = cx.tcx.hir.local_def_id(id); [INFO] [stderr] | ^^^ help: use parentheses to call the method: `hir()` [INFO] [stderr] [INFO] [stderr] error[E0616]: field `0` of struct `rustc::ty::Binder` is private [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:146:53 [INFO] [stderr] | [INFO] [stderr] 146 | for (arg, ty) in decl.inputs.iter().zip(sig.inputs().0.iter()) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0616]: field `0` of struct `rustc::ty::Binder` is private [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:153:39 [INFO] [stderr] | [INFO] [stderr] 153 | if is_unrooted_ty(cx, sig.output().0, false) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `hir` on type `rustc::ty::TyCtxt<'tcx>` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/unrooted_must_root.rs:233:68 [INFO] [stderr] | [INFO] [stderr] 233 | hir::intravisit::NestedVisitorMap::OnlyBodies(&self.cx.tcx.hir) [INFO] [stderr] | ^^^ help: use parentheses to call the method: `hir()` [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `syntax::ast::Name` with `&str` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/utils.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | if krate != &path[0] { [INFO] [stderr] | ^^ no implementation for `syntax::ast::Name == &str` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq<&str>` is not implemented for `syntax::ast::Name` [INFO] [stderr] = note: required because of the requirements on the impl of `std::cmp::PartialEq<&&str>` for `&syntax::ast::Name` [INFO] [stderr] [INFO] [stderr] error[E0614]: type `syntax::symbol::InternedString` cannot be dereferenced [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/5af219e/components/script_plugins/utils.rs:28:26 [INFO] [stderr] | [INFO] [stderr] 28 | .all(|(nm, p)| &*nm.as_interned_str() == *p) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 36 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0023, E0046, E0053, E0277, E0308, E0432, E0554, E0599, E0603... [INFO] [stderr] For more information about an error, try `rustc --explain E0023`. [INFO] [stderr] error: Could not compile `script_plugins`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "49524ef32b2e419b7961cf20c26edda0e16dfbe597d895749bf5c5074dfbe8c1"` [INFO] running `"docker" "rm" "-f" "49524ef32b2e419b7961cf20c26edda0e16dfbe597d895749bf5c5074dfbe8c1"` [INFO] [stdout] 49524ef32b2e419b7961cf20c26edda0e16dfbe597d895749bf5c5074dfbe8c1