[INFO] cloning repository https://github.com/oli-obk/rustfest2018_workshop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oli-obk/rustfest2018_workshop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foli-obk%2Frustfest2018_workshop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foli-obk%2Frustfest2018_workshop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f672e708ca7ac688e311d43fa9c67461dc77665 [INFO] checking oli-obk/rustfest2018_workshop against try#e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 for pr-144386 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foli-obk%2Frustfest2018_workshop" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/oli-obk/rustfest2018_workshop [INFO] finished tweaking git repo https://github.com/oli-obk/rustfest2018_workshop [INFO] tweaked toml for git repo https://github.com/oli-obk/rustfest2018_workshop written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/oli-obk/rustfest2018_workshop on toolchain e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/oli-obk/rustfest2018_workshop already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded if_chain v0.1.3 [INFO] [stderr] Downloaded compiletest_rs v0.3.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bddb1111aa410653321b6be14a67ec43c775e9ab36f5e752291964d6cc8b1213 [INFO] running `Command { std: "docker" "start" "-a" "bddb1111aa410653321b6be14a67ec43c775e9ab36f5e752291964d6cc8b1213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bddb1111aa410653321b6be14a67ec43c775e9ab36f5e752291964d6cc8b1213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bddb1111aa410653321b6be14a67ec43c775e9ab36f5e752291964d6cc8b1213", kill_on_drop: false }` [INFO] [stdout] bddb1111aa410653321b6be14a67ec43c775e9ab36f5e752291964d6cc8b1213 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7af407afa0687f55cd88a821c79b067ab7f16078a89d7ca549a2c0aa1e1d59a6 [INFO] running `Command { std: "docker" "start" "-a" "7af407afa0687f55cd88a821c79b067ab7f16078a89d7ca549a2c0aa1e1d59a6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling compiletest_rs v0.3.17 [INFO] [stderr] Checking if_chain v0.1.3 [INFO] [stderr] Checking diff v0.1.11 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking rustfest2018_workshop v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking getopts v0.2.18 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:163:49 [INFO] [stdout] | [INFO] [stdout] 163 | ls.register_early_pass(None, false, box NoTransmute); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 163 - ls.register_early_pass(None, false, box NoTransmute); [INFO] [stdout] 163 + ls.register_early_pass(None, false, Box::new(NoTransmute)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:164:48 [INFO] [stdout] | [INFO] [stdout] 164 | ls.register_late_pass(None, false, box Pass); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 164 - ls.register_late_pass(None, false, box Pass); [INFO] [stdout] 164 + ls.register_late_pass(None, false, Box::new(Pass)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | / box StateMachine { [INFO] [stdout] 179 | | start: "HangedUp", [INFO] [stdout] 180 | | transitions, [INFO] [stdout] 181 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 178 ~ Box::new(StateMachine { [INFO] [stdout] 179 | start: "HangedUp", [INFO] [stdout] 180 | transitions, [INFO] [stdout] 181 ~ }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.70.0; see for more information [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/e071e73523bfcdcab2878dbf652ac8ebb9b9eee4/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/e071e73523bfcdcab2878dbf652ac8ebb9b9eee4/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.dfsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/e071e73523bfcdcab2878dbf652ac8ebb9b9eee4/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/e071e73523bfcdcab2878dbf652ac8ebb9b9eee4/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/e071e73523bfcdcab2878dbf652ac8ebb9b9eee4/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.safestack.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/e071e73523bfcdcab2878dbf652ac8ebb9b9eee4/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_data_structures` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate rustc_data_structures; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate rustc_driver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> src/main.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl LintPass for Pass { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> src/main.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LateLintPass` in this scope [INFO] [stdout] --> src/main.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a, 'tcx> LateLintPass<'a, 'tcx> for Pass { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/main.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | fn check_expr(&mut self, cx: &LateContext<'a, 'tcx>, expr: &'tcx Expr) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/main.rs:45:70 [INFO] [stdout] | [INFO] [stdout] 45 | fn check_expr(&mut self, cx: &LateContext<'a, 'tcx>, expr: &'tcx Expr) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NO_INT_DIV` in this scope [INFO] [stdout] --> src/main.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | ... NO_INT_DIV, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> src/main.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | impl LintPass for NoTransmute { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> src/main.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EarlyLintPass` in this scope [INFO] [stdout] --> src/main.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | impl EarlyLintPass for NoTransmute { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EarlyContext` in this scope [INFO] [stdout] --> src/main.rs:75:36 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_ident(&mut self, cx: &EarlyContext, ident: Ident) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSMUTE` in this scope [INFO] [stdout] --> src/main.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | TRANSMUTE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> src/main.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 97 | impl LintPass for StateMachine { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> src/main.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LateLintPass` in this scope [INFO] [stdout] --> src/main.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | impl<'a, 'tcx> LateLintPass<'a, 'tcx> for StateMachine { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LateContext` in this scope [INFO] [stdout] --> src/main.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | cx: &LateContext<'a, 'tcx>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> src/main.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | _: &'tcx FnDecl, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Body` in this scope [INFO] [stdout] --> src/main.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | body: &'tcx Body, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STATE_MACHINE` in this scope [INFO] [stdout] --> src/main.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | ... STATE_MACHINE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExprKind` [INFO] [stdout] --> src/main.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | if let ExprKind::Binary(ref op, _, _) = expr.node; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ExprKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpKind` [INFO] [stdout] --> src/main.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | if BinOpKind::Div == op.node; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BinOpKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0462, E0463, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustfest2018_workshop` (bin "rustfest2018_workshop") due to 28 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7af407afa0687f55cd88a821c79b067ab7f16078a89d7ca549a2c0aa1e1d59a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7af407afa0687f55cd88a821c79b067ab7f16078a89d7ca549a2c0aa1e1d59a6", kill_on_drop: false }` [INFO] [stdout] 7af407afa0687f55cd88a821c79b067ab7f16078a89d7ca549a2c0aa1e1d59a6