[INFO] cloning repository oli-obk/rustfest2018_workshop [INFO] running `"git" "clone" "--bare" "git://github.com/oli-obk/rustfest2018_workshop.git" "work/cache/sources/gh/oli-obk/rustfest2018_workshop"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/oli-obk/rustfest2018_workshop'... [INFO] running `"git" "clone" "work/cache/sources/gh/oli-obk/rustfest2018_workshop" "work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/oli-obk/rustfest2018_workshop"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/oli-obk/rustfest2018_workshop'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/oli-obk/rustfest2018_workshop" "work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/oli-obk/rustfest2018_workshop"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/oli-obk/rustfest2018_workshop'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2f672e708ca7ac688e311d43fa9c67461dc77665 [INFO] sha for GitHub repo oli-obk/rustfest2018_workshop: 2f672e708ca7ac688e311d43fa9c67461dc77665 [INFO] validating manifest of oli-obk/rustfest2018_workshop on toolchain master#9f06855064ed06a50c496577b21ca50f92a2e67d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of oli-obk/rustfest2018_workshop on toolchain try#d3301713b54af69ca9de941a8c6b0d8287dbd6df [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing oli-obk/rustfest2018_workshop [INFO] finished frobbing oli-obk/rustfest2018_workshop [INFO] frobbed toml for oli-obk/rustfest2018_workshop written to work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/oli-obk/rustfest2018_workshop/Cargo.toml [INFO] started frobbing oli-obk/rustfest2018_workshop [INFO] finished frobbing oli-obk/rustfest2018_workshop [INFO] frobbed toml for oli-obk/rustfest2018_workshop written to work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/oli-obk/rustfest2018_workshop/Cargo.toml [INFO] crate oli-obk/rustfest2018_workshop already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded compiletest_rs v0.3.17 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking oli-obk/rustfest2018_workshop against master#9f06855064ed06a50c496577b21ca50f92a2e67d for pr-61874 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61874/worker-7/master#9f06855064ed06a50c496577b21ca50f92a2e67d:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/oli-obk/rustfest2018_workshop:/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" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 51e0cf28c76b982d0851c6aedfcfef690431be34bf733cc67a864e060e9913f7 [INFO] running `"docker" "start" "-a" "51e0cf28c76b982d0851c6aedfcfef690431be34bf733cc67a864e060e9913f7"` [INFO] [stderr] Compiling compiletest_rs v0.3.17 [INFO] [stderr] Checking if_chain v0.1.3 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking rustfest2018_workshop v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `rustc_driver::driver` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use rustc_driver::driver; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `driver` in the root [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `run` in module `rustc_driver` [INFO] [stderr] --> src/main.rs:159:19 [INFO] [stderr] | [INFO] [stderr] 159 | rustc_driver::run(move || { [INFO] [stderr] | ^^^ not found in `rustc_driver` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 9 | use syntax::show_span::run; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `name` [INFO] [stderr] --> src/main.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | impl LintPass for Pass { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ missing `name` in implementation [INFO] [stderr] | [INFO] [stderr] = note: `name` from trait: `fn(&Self) -> &'static str` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `name` [INFO] [stderr] --> src/main.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | impl LintPass for NoTransmute { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `name` in implementation [INFO] [stderr] | [INFO] [stderr] = note: `name` from trait: `fn(&Self) -> &'static str` [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `name` [INFO] [stderr] --> src/main.rs:97:1 [INFO] [stderr] | [INFO] [stderr] 97 | impl LintPass for StateMachine { [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_fn` has an incompatible type for trait [INFO] [stderr] --> src/main.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | / fn check_fn( [INFO] [stderr] 105 | | &mut self, [INFO] [stderr] 106 | | cx: &LateContext<'a, 'tcx>, [INFO] [stderr] 107 | | _: FnKind<'tcx>, [INFO] [stderr] ... | [INFO] [stderr] 153 | | } [INFO] [stderr] 154 | | } [INFO] [stderr] | |_____^ expected struct `rustc::hir::HirId`, found struct `syntax::ast::NodeId` [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut StateMachine, &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 StateMachine, &rustc::lint::LateContext<'a, 'tcx>, rustc::hir::intravisit::FnKind<'tcx>, &'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] --> src/main.rs:128:71 [INFO] [stderr] | [INFO] [stderr] 128 | ty::FnDef(did, _) => cx.tcx.item_name(did) == transition, [INFO] [stderr] | ^^^^^^^^^^ expected struct `syntax::ast::Name`, found &str [INFO] [stderr] | [INFO] [stderr] = note: expected type `syntax::ast::Name` [INFO] [stderr] found type `&str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:184:43 [INFO] [stderr] | [INFO] [stderr] 184 | rustc_driver::run_compiler(&args, Box::new(compiler), None, None) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected mutable reference, found struct `std::boxed::Box` [INFO] [stderr] | help: consider mutably borrowing here: `&mut Box::new(compiler)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&mut dyn rustc_driver::Callbacks + std::marker::Send` [INFO] [stderr] found type `std::boxed::Box<_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0046, E0053, E0308, E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0046`. [INFO] [stderr] error: Could not compile `rustfest2018_workshop`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "51e0cf28c76b982d0851c6aedfcfef690431be34bf733cc67a864e060e9913f7"` [INFO] running `"docker" "rm" "-f" "51e0cf28c76b982d0851c6aedfcfef690431be34bf733cc67a864e060e9913f7"` [INFO] [stdout] 51e0cf28c76b982d0851c6aedfcfef690431be34bf733cc67a864e060e9913f7