[INFO] fetching crate shiny 0.1.3... [INFO] testing shiny-0.1.3 against 1.60.0 for beta-1.61-1 [INFO] extracting crate shiny 0.1.3 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate shiny 0.1.3 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 shiny 0.1.3 [INFO] finished tweaking crates.io crate shiny 0.1.3 [INFO] tweaked toml for crates.io crate shiny 0.1.3 written to /workspace/builds/worker-10/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 8202fb88ea9f9dc12d4c6362be05962ca71b1aa5acbcc1047fb0e0b565efbe91 [INFO] running `Command { std: "docker" "start" "-a" "8202fb88ea9f9dc12d4c6362be05962ca71b1aa5acbcc1047fb0e0b565efbe91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8202fb88ea9f9dc12d4c6362be05962ca71b1aa5acbcc1047fb0e0b565efbe91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8202fb88ea9f9dc12d4c6362be05962ca71b1aa5acbcc1047fb0e0b565efbe91", kill_on_drop: false }` [INFO] [stdout] 8202fb88ea9f9dc12d4c6362be05962ca71b1aa5acbcc1047fb0e0b565efbe91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] c4e91ef66ae295a79b55bbcf10b968d926d6cdd9dc6dafcd5e0bb3d1bcfd4657 [INFO] running `Command { std: "docker" "start" "-a" "c4e91ef66ae295a79b55bbcf10b968d926d6cdd9dc6dafcd5e0bb3d1bcfd4657", kill_on_drop: false }` [INFO] [stderr] Compiling shiny v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | #![feature(plugin_registrar)] [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[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | 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[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/lib.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[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 crate or module `ast` [INFO] [stdout] --> src/lib.rs:41:57 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn macro_describe(cx: &mut ExtCtxt, _: Span, tts: &[ast::TokenTree]) -> Box { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/lib.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | if parser.token == token::Eof { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | P(ast::Block { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/lib.rs:93:36 [INFO] [stdout] | [INFO] [stdout] 93 | cx.meta_word(DUMMY_SP, token::InternedString::new("test"))); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | let func = P(ast::Item { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | id: ast::DUMMY_NODE_ID, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | node: ast::ItemFn( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:100:56 [INFO] [stdout] | [INFO] [stdout] 100 | cx.fn_decl(Vec::new(), cx.ty(DUMMY_SP, ast::Ty_::TyTup(Vec::new()))), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | ast::Unsafety::Normal, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `abi` [INFO] [stdout] --> src/lib.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | abi::Rust, [INFO] [stdout] | ^^^ use of undeclared crate or module `abi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | vis: ast::Inherited, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | items: Vec> [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new(items: Vec>) -> Box { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:125:64 [INFO] [stdout] | [INFO] [stdout] 125 | fn make_items(self: Box) -> Option>> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SmallVector` [INFO] [stdout] --> src/lib.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | Some(SmallVector::many(self.items.clone())) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SmallVector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> src/lib.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn plugin_registrar(reg: &mut Registry) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> src/lib.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn macro_describe(cx: &mut ExtCtxt, _: Span, tts: &[ast::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:41:44 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn macro_describe(cx: &mut ExtCtxt, _: Span, tts: &[ast::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:41:81 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn macro_describe(cx: &mut ExtCtxt, _: Span, tts: &[ast::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[E0425]: cannot find function `tts_to_parser` in this scope [INFO] [stdout] --> src/lib.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let mut parser = tts_to_parser(sess, ttsvec, cx.cfg()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `P` in this scope [INFO] [stdout] --> src/lib.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn macro_describe(cx: &mut ExtCtxt, _: Span, tts: &[ast::TokenTree]) -> Box { [INFO] [stdout] | - help: you might be missing a type parameter: `

` [INFO] [stdout] ... [INFO] [stdout] 83 | P(ast::Block { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_SP` in this scope [INFO] [stdout] --> src/lib.rs:92:38 [INFO] [stdout] | [INFO] [stdout] 92 | let attr_test = cx.attribute(DUMMY_SP, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_SP` in this scope [INFO] [stdout] --> src/lib.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | cx.meta_word(DUMMY_SP, token::InternedString::new("test"))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `P` in this scope [INFO] [stdout] --> src/lib.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn macro_describe(cx: &mut ExtCtxt, _: Span, tts: &[ast::TokenTree]) -> Box { [INFO] [stdout] | - help: you might be missing a type parameter: `

` [INFO] [stdout] ... [INFO] [stdout] 95 | let func = P(ast::Item { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_SP` in this scope [INFO] [stdout] --> src/lib.rs:100:46 [INFO] [stdout] | [INFO] [stdout] 100 | cx.fn_decl(Vec::new(), cx.ty(DUMMY_SP, ast::Ty_::TyTup(Vec::new()))), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `empty_generics` in this scope [INFO] [stdout] --> src/lib.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | empty_generics(), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DUMMY_SP` in this scope [INFO] [stdout] --> src/lib.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | span: DUMMY_SP, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/lib.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | items: Vec> [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/lib.rs:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn new(items: Vec>) -> 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:119:49 [INFO] [stdout] | [INFO] [stdout] 118 | impl MacItems { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 119 | pub fn new(items: Vec>) -> Box { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MacResult` in this scope [INFO] [stdout] --> src/lib.rs:120:46 [INFO] [stdout] | [INFO] [stdout] 120 | box MacItems { items: items } as Box [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 120 | box MacItems { items: items } as Box [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 118 | impl MacItems { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MacResult` in this scope [INFO] [stdout] --> src/lib.rs:124:6 [INFO] [stdout] | [INFO] [stdout] 124 | impl MacResult for MacItems { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SmallVector` in this scope [INFO] [stdout] --> src/lib.rs:125:50 [INFO] [stdout] | [INFO] [stdout] 125 | fn make_items(self: Box) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/lib.rs:125:62 [INFO] [stdout] | [INFO] [stdout] 125 | fn make_items(self: Box) -> Option>> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/lib.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | box MacItems { items: items } as Box [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:41:81 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn macro_describe(cx: &mut ExtCtxt, _: Span, tts: &[ast::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] 41 - pub fn macro_describe(cx: &mut ExtCtxt, _: Span, tts: &[ast::TokenTree]) -> Box { [INFO] [stdout] 41 + pub fn macro_describe(cx: &mut ExtCtxt, _: Span, tts: &[ast::TokenTree]) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0463, E0557, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shiny` due to 40 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c4e91ef66ae295a79b55bbcf10b968d926d6cdd9dc6dafcd5e0bb3d1bcfd4657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4e91ef66ae295a79b55bbcf10b968d926d6cdd9dc6dafcd5e0bb3d1bcfd4657", kill_on_drop: false }` [INFO] [stdout] c4e91ef66ae295a79b55bbcf10b968d926d6cdd9dc6dafcd5e0bb3d1bcfd4657