[INFO] fetching crate jsx 0.1.0... [INFO] testing jsx-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate jsx 0.1.0 into /workspace/builds/worker-21/source [INFO] validating manifest of crates.io crate jsx 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsx 0.1.0 [INFO] finished tweaking crates.io crate jsx 0.1.0 [INFO] tweaked toml for crates.io crate jsx 0.1.0 written to /workspace/builds/worker-21/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70c48db5ec4afbd211714a365b20ff4c569878b3750051b6b6f106a2fdf4a722 [INFO] running `Command { std: "docker" "start" "-a" "70c48db5ec4afbd211714a365b20ff4c569878b3750051b6b6f106a2fdf4a722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70c48db5ec4afbd211714a365b20ff4c569878b3750051b6b6f106a2fdf4a722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70c48db5ec4afbd211714a365b20ff4c569878b3750051b6b6f106a2fdf4a722", kill_on_drop: false }` [INFO] [stdout] 70c48db5ec4afbd211714a365b20ff4c569878b3750051b6b6f106a2fdf4a722 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 909800bb9b95d0c84e79fb3a61c6e3bf6aec38bf8557e101cb627dcac4a876ac [INFO] running `Command { std: "docker" "start" "-a" "909800bb9b95d0c84e79fb3a61c6e3bf6aec38bf8557e101cb627dcac4a876ac", kill_on_drop: false }` [INFO] [stderr] Compiling jsx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(plugin_registrar, rustc_private, quote)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: a __rustc_plugin_registrar symbol must now be defined instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:3:45 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(plugin_registrar, rustc_private, quote)] [INFO] [stdout] | ^^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-stable_rt.asan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | let expression = quote_expr!(cx, $val.to_string()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/lib.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | #[plugin_registrar] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `plugin_registrar` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DummyResult` [INFO] [stdout] --> src/lib.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | return DummyResult::expr(sp); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DummyResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacEager` [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | MacEager::expr(cx.expr_struct(sp, path_to_struct, fields)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MacEager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/lib.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | try!(expect_token(&tokens[0], Token::Lt)); [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | TokenTree::Token(_, ref token) => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | TokenTree::Token(_, ref token) => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/lib.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | Token::Ident(ident, _) => Ok(ident), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathParameters` [INFO] [stdout] --> src/lib.rs:63:74 [INFO] [stdout] | [INFO] [stdout] 63 | let name_segment = PathSegment { identifier: identifier, parameters: PathParameters::none() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PathParameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ident` [INFO] [stdout] --> src/lib.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | let identifier = Spanned { node: Ident::with_empty_ctxt(intern(name)), span: *sp }; [INFO] [stdout] | ^^^^^ use of undeclared type `Ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> src/lib.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | fn compile_jsx(cx: &mut ExtCtxt, sp: Span, args: &[TokenTree]) -> Box { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/lib.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | fn compile_jsx(cx: &mut ExtCtxt, sp: Span, args: &[TokenTree]) -> Box { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> src/lib.rs:15:52 [INFO] [stdout] | [INFO] [stdout] 15 | fn compile_jsx(cx: &mut ExtCtxt, sp: Span, args: &[TokenTree]) -> Box { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MacResult` in this scope [INFO] [stdout] --> src/lib.rs:15:71 [INFO] [stdout] | [INFO] [stdout] 15 | fn compile_jsx(cx: &mut ExtCtxt, sp: Span, args: &[TokenTree]) -> Box { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> src/lib.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | fn read_open_tag(tokens: &[TokenTree]) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> src/lib.rs:30:50 [INFO] [stdout] | [INFO] [stdout] 30 | fn read_open_tag(tokens: &[TokenTree]) -> Result { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> src/lib.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | fn expect_token(actual: &TokenTree, expected: Token) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/lib.rs:36:47 [INFO] [stdout] | [INFO] [stdout] 36 | fn expect_token(actual: &TokenTree, expected: Token) -> Result<(), String> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> src/lib.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | fn expect_ident(actual: &TokenTree) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> src/lib.rs:49:47 [INFO] [stdout] | [INFO] [stdout] 49 | fn expect_ident(actual: &TokenTree) -> Result { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> src/lib.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | fn path_to_struct(identifier: Ident, sp: &Span) -> Path { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/lib.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | fn path_to_struct(identifier: Ident, sp: &Span) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/lib.rs:61:52 [INFO] [stdout] | [INFO] [stdout] 61 | fn path_to_struct(identifier: Ident, sp: &Span) -> Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PathSegment` in this scope [INFO] [stdout] --> src/lib.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | let name_segment = PathSegment { identifier: identifier, parameters: PathParameters::none() }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Path` in this scope [INFO] [stdout] --> src/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | Path { span: *sp, global: false, segments: vec![name_segment] } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> src/lib.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | fn field(name: &str, val: &str, cx: &ExtCtxt, sp: &Span) -> Field { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/lib.rs:67:52 [INFO] [stdout] | [INFO] [stdout] 67 | fn field(name: &str, val: &str, cx: &ExtCtxt, sp: &Span) -> Field { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Field` in this scope [INFO] [stdout] --> src/lib.rs:67:61 [INFO] [stdout] | [INFO] [stdout] 67 | fn field(name: &str, val: &str, cx: &ExtCtxt, sp: &Span) -> Field { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Spanned` in this scope [INFO] [stdout] --> src/lib.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | let identifier = Spanned { node: Ident::with_empty_ctxt(intern(name)), span: *sp }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `intern` in this scope [INFO] [stdout] --> src/lib.rs:68:61 [INFO] [stdout] | [INFO] [stdout] 68 | let identifier = Spanned { node: Ident::with_empty_ctxt(intern(name)), span: *sp }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Field` in this scope [INFO] [stdout] --> src/lib.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | Field { ident: identifier, expr: expression, span: *sp } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> src/lib.rs:74:40 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn plugin_registrar(registry: &mut Registry) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(plugin_registrar, rustc_private, quote)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | try!(expect_token(&tokens[0], Token::Lt)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | let tag = try!(expect_ident(&tokens[1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:15:71 [INFO] [stdout] | [INFO] [stdout] 15 | fn compile_jsx(cx: &mut ExtCtxt, sp: Span, args: &[TokenTree]) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - fn compile_jsx(cx: &mut ExtCtxt, sp: Span, args: &[TokenTree]) -> Box { [INFO] [stdout] 15 + fn compile_jsx(cx: &mut ExtCtxt, sp: Span, args: &[TokenTree]) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0433, E0463, E0554, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsx` due to 38 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "909800bb9b95d0c84e79fb3a61c6e3bf6aec38bf8557e101cb627dcac4a876ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "909800bb9b95d0c84e79fb3a61c6e3bf6aec38bf8557e101cb627dcac4a876ac", kill_on_drop: false }` [INFO] [stdout] 909800bb9b95d0c84e79fb3a61c6e3bf6aec38bf8557e101cb627dcac4a876ac