[INFO] updating cached repository https://github.com/paulrouget/servo-embedding-example [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] f1037801a5460c90404b486e82e3bd24f6e570d9 [INFO] checking paulrouget/servo-embedding-example against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulrouget%2Fservo-embedding-example" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paulrouget/servo-embedding-example on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/paulrouget/servo-embedding-example [INFO] finished tweaking git repo https://github.com/paulrouget/servo-embedding-example [INFO] tweaked toml for git repo https://github.com/paulrouget/servo-embedding-example written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/paulrouget/servo-embedding-example already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "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] a064e8ca7305f80ef300ca49282d4c5b42c1a4d8f2f496d839d7ace460f51095 [INFO] running `"docker" "start" "-a" "a064e8ca7305f80ef300ca49282d4c5b42c1a4d8f2f496d839d7ace460f51095"` [INFO] [stderr] Checking bitflags v1.0.0 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Compiling mozjs_sys v0.50.1 [INFO] [stderr] Compiling procedural-masquerade v0.1.2 [INFO] [stderr] Checking smallbitvec v1.0.6 [INFO] [stderr] Compiling gcc v0.3.47 [INFO] [stderr] Checking scopeguard v0.3.2 [INFO] [stderr] Checking getopts v0.2.14 [INFO] [stderr] Checking signpost v0.1.0 (https://github.com/pcwalton/signpost.git#7ed71250) [INFO] [stderr] Checking atomic_refcell v0.1.0 [INFO] [stderr] Compiling openssl v0.9.22 [INFO] [stderr] Compiling webrender v0.57.0 (https://github.com/servo/webrender#6611df9f) [INFO] [stderr] Checking alloc-no-stdlib v1.2.0 [INFO] [stderr] Checking bitreader v0.3.0 [INFO] [stderr] Checking mp3-metadata v0.3.0 [INFO] [stderr] Compiling dom_struct v0.0.1 (https://github.com/servo/servo?rev=17d7a12#17d7a12a) [INFO] [stderr] Checking mitochondria v1.1.2 [INFO] [stderr] Checking half v1.0.0 [INFO] [stderr] Checking ref_filter_map v1.0.1 [INFO] [stderr] Compiling script_plugins v0.0.1 (https://github.com/servo/servo?rev=17d7a12#17d7a12a) [INFO] [stderr] Checking ref_slice v1.1.1 [INFO] [stderr] Checking threadpool v1.3.2 [INFO] [stderr] Checking swapper v0.1.0 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking time v0.1.37 [INFO] [stderr] Checking iovec v0.1.0 [INFO] [stderr] error[E0503]: cannot use `state` because it was mutably borrowed [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/getopts-0.2.14/src/lib.rs:1008:33 [INFO] [stderr] | [INFO] [stderr] 955 | let mut machine = |cont: &mut bool, (i, c): (usize, char)| { [INFO] [stderr] | ---------------------------------------- borrow of `state` occurs here [INFO] [stderr] ... [INFO] [stderr] 959 | state = match (state, whitespace, limit) { [INFO] [stderr] | ----- borrow occurs due to use of `state` in closure [INFO] [stderr] ... [INFO] [stderr] 1008 | while cont && match state { B | C => true, A => false } { [INFO] [stderr] | ^ use of borrowed `state` [INFO] [stderr] 1009 | machine(&mut cont, (fake_i, ' ')); [INFO] [stderr] | ------- borrow later used here [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0503`. [INFO] [stderr] Checking num_cpus v1.4.0 [INFO] [stderr] error: could not compile `getopts`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0658]: use of unstable library feature 'proc_macro_quote' [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/components/dom_struct/lib.rs:17:22 [INFO] [stderr] | [INFO] [stderr] 17 | let attributes = quote! { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/54722 [INFO] [stderr] = help: add `#![feature(proc_macro_quote)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: procedural macros cannot be expanded to expressions [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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] = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'proc_macro_quote' [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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] = help: add `#![feature(proc_macro_quote)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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[E0046]: not all trait items implemented, missing: `name` [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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[E0050]: method `check_struct_def` has 6 parameters but the declaration in trait `rustc::lint::LateLintPass::check_struct_def` has 3 [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/components/script_plugins/unrooted_must_root.rs:86:25 [INFO] [stderr] | [INFO] [stderr] 86 | fn check_struct_def(&mut self, [INFO] [stderr] | _________________________^ [INFO] [stderr] 87 | | cx: &LateContext, [INFO] [stderr] 88 | | def: &hir::VariantData, [INFO] [stderr] 89 | | _n: ast::Name, [INFO] [stderr] 90 | | _gen: &hir::Generics, [INFO] [stderr] 91 | | id: ast::NodeId) { [INFO] [stderr] | |_______________________________________^ expected 3 parameters, found 6 [INFO] [stderr] | [INFO] [stderr] = note: `check_struct_def` from trait: `fn(&mut Self, &rustc::lint::LateContext<'a, 'tcx>, &'tcx rustc::hir::VariantData)` [INFO] [stderr] [INFO] [stderr] error[E0050]: method `check_variant` has 4 parameters but the declaration in trait `rustc::lint::LateLintPass::check_variant` has 3 [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/components/script_plugins/unrooted_must_root.rs:108:22 [INFO] [stderr] | [INFO] [stderr] 108 | fn check_variant(&mut self, cx: &LateContext, var: &hir::Variant, _gen: &hir::Generics) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters, found 4 [INFO] [stderr] | [INFO] [stderr] = note: `check_variant` from trait: `fn(&mut Self, &rustc::lint::LateContext<'a, 'tcx>, &'tcx rustc::hir::Variant)` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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[E0609]: no field `sty` on type `&rustc::ty::TyS<'_>` [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/components/script_plugins/unrooted_must_root.rs:45:17 [INFO] [stderr] | [INFO] [stderr] 45 | match t.sty { [INFO] [stderr] | ^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `kind`, `flags` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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] | ^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `span`, `ident`, `vis`, `hir_id`, `ty`, `attrs` [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `hir` on type `rustc::ty::TyCtxt<'_>` [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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[E0609]: no field `node` on type `&rustc::hir::Variant` [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/components/script_plugins/unrooted_must_root.rs:110:47 [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] | ^^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `ident`, `attrs`, `id`, `data`, `disr_expr`, `span` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `node` on type `&rustc::hir::Variant` [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/components/script_plugins/unrooted_must_root.rs:111:23 [INFO] [stderr] | [INFO] [stderr] 111 | match var.node.data { [INFO] [stderr] | ^^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `ident`, `attrs`, `id`, `data`, `disr_expr`, `span` [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `hir` on type `rustc::ty::TyCtxt<'_>` [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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] | ^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `span`, `ident`, `vis`, `hir_id`, `ty`, `attrs` [INFO] [stderr] [INFO] [stderr] error[E0023]: this pattern has 7 fields, but the corresponding tuple variant has 5 fields [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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[E0609]: no field `node` on type `&'tcx rustc::hir::Expr` [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/components/script_plugins/unrooted_must_root.rs:185:20 [INFO] [stderr] | [INFO] [stderr] 185 | match expr.node { [INFO] [stderr] | ^^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `hir_id`, `kind`, `attrs`, `span` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `node` on type `&'tcx rustc::hir::Pat` [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/components/script_plugins/unrooted_must_root.rs:214:19 [INFO] [stderr] | [INFO] [stderr] 214 | match pat.node { [INFO] [stderr] | ^^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `hir_id`, `kind`, `span` [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `hir` on type `rustc::ty::TyCtxt<'tcx>` [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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/rustwide/cargo-home/git/checkouts/servo-12bfca331f128de3/17d7a12/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 37 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0023, E0046, E0050, E0277, E0308, E0432, E0531, E0599, E0603... [INFO] [stderr] For more information about an error, try `rustc --explain E0023`. [INFO] [stderr] error: could not compile `script_plugins`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "a064e8ca7305f80ef300ca49282d4c5b42c1a4d8f2f496d839d7ace460f51095"` [INFO] running `"docker" "rm" "-f" "a064e8ca7305f80ef300ca49282d4c5b42c1a4d8f2f496d839d7ace460f51095"` [INFO] [stdout] a064e8ca7305f80ef300ca49282d4c5b42c1a4d8f2f496d839d7ace460f51095