[INFO] updating cached repository antoyo/servo-gtk [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/antoyo/servo-gtk [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/antoyo/servo-gtk" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/antoyo/servo-gtk"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/antoyo/servo-gtk'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/antoyo/servo-gtk" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/antoyo/servo-gtk"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/antoyo/servo-gtk'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1ddddfe8d5de7f3b167bd9378021ab76166282d6 [INFO] sha for GitHub repo antoyo/servo-gtk: 1ddddfe8d5de7f3b167bd9378021ab76166282d6 [INFO] validating manifest of antoyo/servo-gtk on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of antoyo/servo-gtk on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing antoyo/servo-gtk [INFO] finished frobbing antoyo/servo-gtk [INFO] frobbed toml for antoyo/servo-gtk written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/antoyo/servo-gtk/Cargo.toml [INFO] started frobbing antoyo/servo-gtk [INFO] finished frobbing antoyo/servo-gtk [INFO] frobbed toml for antoyo/servo-gtk written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/antoyo/servo-gtk/Cargo.toml [INFO] crate antoyo/servo-gtk already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking antoyo/servo-gtk against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-4/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/antoyo/servo-gtk:/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=forbid" "-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" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 3cd047e2c3e1f5fb494ad667689ff2da39ebd22ff7fd23292e3c2c5b582ef3bc [INFO] running `"docker" "start" "-a" "3cd047e2c3e1f5fb494ad667689ff2da39ebd22ff7fd23292e3c2c5b582ef3bc"` [INFO] [stderr] Checking scopeguard v0.3.2 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling bindgen v0.39.0 [INFO] [stderr] Checking smallbitvec v2.1.1 [INFO] [stderr] Compiling gstreamer v0.12.0 [INFO] [stderr] Compiling gstreamer-base v0.12.0 [INFO] [stderr] Compiling gstreamer-video v0.12.0 [INFO] [stderr] Checking signpost v0.1.0 (https://github.com/pcwalton/signpost.git#7ed71250) [INFO] [stderr] Compiling gstreamer-player v0.12.0 [INFO] [stderr] Compiling gstreamer-app v0.12.0 [INFO] [stderr] Compiling gstreamer-audio v0.12.0 [INFO] [stderr] Compiling webrender v0.57.2 (https://github.com/servo/webrender#790b76f1) [INFO] [stderr] Checking binary-space-partition v0.1.2 [INFO] [stderr] Checking boxfnonce v0.1.0 [INFO] [stderr] Checking byte-slice-cast v0.2.0 [INFO] [stderr] Checking thread_profiler v0.1.3 [INFO] [stderr] Checking atomic_refcell v0.1.0 [INFO] [stderr] Checking alloc-no-stdlib v1.3.0 [INFO] [stderr] Compiling hyper-openssl v0.6.1 [INFO] [stderr] Checking ucd v0.1.1 [INFO] [stderr] Checking half v1.0.0 [INFO] [stderr] Checking ref_filter_map v1.0.1 [INFO] [stderr] Checking threadpool v1.3.2 [INFO] [stderr] Checking mitochondria v1.1.2 [INFO] [stderr] Checking swapper v0.1.0 [INFO] [stderr] Checking ref_slice v1.1.1 [INFO] [stderr] Compiling script_plugins v0.0.1 (https://github.com/servo/servo?rev=a2937d948818665ecda16a06fe6c8fa751d265fd#a2937d94) [INFO] [stderr] Checking histogram v0.6.8 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling which v1.0.3 [INFO] [stderr] Compiling mozjs v0.9.4 [INFO] [stderr] Compiling cmake v0.1.29 [INFO] [stderr] error[E0432]: unresolved import `syntax::source_map::ExpnFormat` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/a2937d9/components/script_plugins/utils.rs:7:26 [INFO] [stderr] | [INFO] [stderr] 7 | use syntax::source_map::{ExpnFormat, Span}; [INFO] [stderr] | ^^^^^^^^^^ no `ExpnFormat` in `source_map` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `name` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/a2937d9/components/script_plugins/unrooted_must_root.rs:90:1 [INFO] [stderr] | [INFO] [stderr] 90 | 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/a2937d9/components/script_plugins/unrooted_must_root.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | / fn check_struct_def( [INFO] [stderr] 99 | | &mut self, [INFO] [stderr] 100 | | cx: &LateContext, [INFO] [stderr] 101 | | def: &hir::VariantData, [INFO] [stderr] ... | [INFO] [stderr] 118 | | } [INFO] [stderr] 119 | | } [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::Symbol, &'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::Symbol, &rustc::hir::Generics, syntax::ast::NodeId)` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `check_fn` has an incompatible type for trait [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/a2937d9/components/script_plugins/unrooted_must_root.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 149 | / fn check_fn( [INFO] [stderr] 150 | | &mut self, [INFO] [stderr] 151 | | cx: &LateContext<'a, 'tcx>, [INFO] [stderr] 152 | | kind: visit::FnKind, [INFO] [stderr] ... | [INFO] [stderr] 191 | | visit::walk_expr(&mut visitor, &body.value); [INFO] [stderr] 192 | | } [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>, rustc::hir::intravisit::FnKind<'tcx>, &'tcx rustc::hir::FnDecl, &'tcx rustc::hir::Body, syntax::source_map::Span, rustc::hir::HirId)` [INFO] [stderr] found type `fn(&mut unrooted_must_root::UnrootedPass, &rustc::lint::LateContext<'a, 'tcx>, rustc::hir::intravisit::FnKind<'_>, &'tcx rustc::hir::FnDecl, &'tcx rustc::hir::Body, syntax::source_map::Span, syntax::ast::NodeId)` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/a2937d9/components/script_plugins/lib.rs:44:28 [INFO] [stderr] | [INFO] [stderr] 44 | reg.register_attribute("allow_unrooted_interior".to_string(), Whitelisted); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::Symbol`, found struct `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected type `syntax::ast::Symbol` [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/a2937d9/components/script_plugins/lib.rs:45:28 [INFO] [stderr] | [INFO] [stderr] 45 | reg.register_attribute("must_root".to_string(), Whitelisted); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::Symbol`, found struct `std::string::String` [INFO] [stderr] | [INFO] [stderr] = note: expected type `syntax::ast::Symbol` [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/a2937d9/components/script_plugins/unrooted_must_root.rs:49:45 [INFO] [stderr] | [INFO] [stderr] 49 | if cx.tcx.has_attr(did.did, "must_root") { [INFO] [stderr] | ^^^^^^^^^^^ expected struct `syntax::ast::Symbol`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `syntax::ast::Symbol` [INFO] [stderr] found type `&'static str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/a2937d9/components/script_plugins/unrooted_must_root.rs:52:52 [INFO] [stderr] | [INFO] [stderr] 52 | } else if cx.tcx.has_attr(did.did, "allow_unrooted_interior") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::Symbol`, found reference [INFO] [stderr] | [INFO] [stderr] = note: expected type `syntax::ast::Symbol` [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/a2937d9/components/script_plugins/unrooted_must_root.rs:106:33 [INFO] [stderr] | [INFO] [stderr] 106 | let item = match cx.tcx.hir.get(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/a2937d9/components/script_plugins/unrooted_must_root.rs:108:25 [INFO] [stderr] | [INFO] [stderr] 108 | _ => 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/a2937d9/components/script_plugins/unrooted_must_root.rs:108:48 [INFO] [stderr] | [INFO] [stderr] 108 | _ => 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/a2937d9/components/script_plugins/unrooted_must_root.rs:112:37 [INFO] [stderr] | [INFO] [stderr] 112 | 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/a2937d9/components/script_plugins/unrooted_must_root.rs:112:60 [INFO] [stderr] | [INFO] [stderr] 112 | 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/a2937d9/components/script_plugins/unrooted_must_root.rs:123:30 [INFO] [stderr] | [INFO] [stderr] 123 | 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/a2937d9/components/script_plugins/unrooted_must_root.rs:125:55 [INFO] [stderr] | [INFO] [stderr] 125 | .expect_item(map.get_parent(var.node.data.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/a2937d9/components/script_plugins/unrooted_must_root.rs:133:45 [INFO] [stderr] | [INFO] [stderr] 133 | 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/a2937d9/components/script_plugins/unrooted_must_root.rs:133:68 [INFO] [stderr] | [INFO] [stderr] 133 | let def_id = cx.tcx.hir.local_def_id(field.id); [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/a2937d9/components/script_plugins/unrooted_must_root.rs:160:49 [INFO] [stderr] | [INFO] [stderr] 160 | visit::FnKind::Method(Ident { name: n, .. }, _, _, _) => { [INFO] [stderr] | ^ expected struct `syntax::ast::Ident`, found struct `syntax::ast::Symbol` [INFO] [stderr] | [INFO] [stderr] = note: expected type `syntax::ast::Ident` [INFO] [stderr] found type `syntax::ast::Symbol` [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/a2937d9/components/script_plugins/unrooted_must_root.rs:167:33 [INFO] [stderr] | [INFO] [stderr] 167 | 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[E0615]: attempted to take value of method `hir` on type `rustc::ty::TyCtxt<'tcx>` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/a2937d9/components/script_plugins/unrooted_must_root.rs:265:68 [INFO] [stderr] | [INFO] [stderr] 265 | 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::Symbol` with `&str` [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/a2937d9/components/script_plugins/utils.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | if krate != &path[0] { [INFO] [stderr] | ^^ no implementation for `syntax::ast::Symbol == &str` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq<&str>` is not implemented for `syntax::ast::Symbol` [INFO] [stderr] = note: required because of the requirements on the impl of `std::cmp::PartialEq<&&str>` for `&syntax::ast::Symbol` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `outer` found for type `syntax::source_map::SyntaxContext` in the current scope [INFO] [stderr] --> /opt/crater/cargo-home/git/checkouts/servo-12bfca331f128de3/a2937d9/components/script_plugins/utils.rs:33:34 [INFO] [stderr] | [INFO] [stderr] 33 | if let Some(i) = span.ctxt().outer().expn_info() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 22 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0046, E0053, E0277, E0308, E0432, E0599, E0609, E0615. [INFO] [stderr] For more information about an error, try `rustc --explain E0046`. [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" "3cd047e2c3e1f5fb494ad667689ff2da39ebd22ff7fd23292e3c2c5b582ef3bc"` [INFO] running `"docker" "rm" "-f" "3cd047e2c3e1f5fb494ad667689ff2da39ebd22ff7fd23292e3c2c5b582ef3bc"` [INFO] [stdout] 3cd047e2c3e1f5fb494ad667689ff2da39ebd22ff7fd23292e3c2c5b582ef3bc