[INFO] fetching crate stainless2 0.1.14... [INFO] testing stainless2-0.1.14 against 1.60.0 for beta-1.61-1 [INFO] extracting crate stainless2 0.1.14 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate stainless2 0.1.14 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 stainless2 0.1.14 [INFO] finished tweaking crates.io crate stainless2 0.1.14 [INFO] tweaked toml for crates.io crate stainless2 0.1.14 written to /workspace/builds/worker-15/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-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] 118b367f22cc1b26934dafb44ad9918d64f10aae4a1209bd5365ddf9a4ceac0e [INFO] running `Command { std: "docker" "start" "-a" "118b367f22cc1b26934dafb44ad9918d64f10aae4a1209bd5365ddf9a4ceac0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "118b367f22cc1b26934dafb44ad9918d64f10aae4a1209bd5365ddf9a4ceac0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "118b367f22cc1b26934dafb44ad9918d64f10aae4a1209bd5365ddf9a4ceac0e", kill_on_drop: false }` [INFO] [stdout] 118b367f22cc1b26934dafb44ad9918d64f10aae4a1209bd5365ddf9a4ceac0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] c814101f83fed3d5c7dcc097357a2c537e386219423c37028993c9c7b4e28180 [INFO] running `Command { std: "docker" "start" "-a" "c814101f83fed3d5c7dcc097357a2c537e386219423c37028993c9c7b4e28180", kill_on_drop: false }` [INFO] [stderr] Compiling stainless2 v0.1.14 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(plugin_registrar, quote, rustc_private)] [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:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(plugin_registrar, quote, rustc_private)] [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:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_target` [INFO] [stdout] --> src/lib.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | extern crate rustc_target; [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_plugin` [INFO] [stdout] --> src/lib.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | extern crate rustc_plugin; [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_data_structures` [INFO] [stdout] --> src/lib.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | 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: cannot find macro `quote_ty` in this scope [INFO] [stdout] --> src/generate.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | ty: quote_ty!(cx, &mut ::test::Bencher), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_pat` in this scope [INFO] [stdout] --> src/generate.rs:160:30 [INFO] [stdout] | [INFO] [stdout] 160 | pat: quote_pat!(cx, $bench), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/lib.rs:187:3 [INFO] [stdout] | [INFO] [stdout] 187 | #[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/describe.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | pub name: Option, [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/describe.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | pub before_each: Option>, [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/describe.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | pub after_each: Option>, [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 `base` [INFO] [stdout] --> src/describe.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn describe<'a>(cx: &'a mut base::ExtCtxt, sp: source_map::Span, [INFO] [stdout] | ^^^^ use of undeclared crate or module `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map` [INFO] [stdout] --> src/describe.rs:63:52 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn describe<'a>(cx: &'a mut base::ExtCtxt, sp: source_map::Span, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/describe.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | name: ast::Ident, tokens: 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 `tokenstream` [INFO] [stdout] --> src/describe.rs:64:47 [INFO] [stdout] | [INFO] [stdout] 64 | name: ast::Ident, tokens: Vec) -> Box { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tokenstream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base` [INFO] [stdout] --> src/describe.rs:64:79 [INFO] [stdout] | [INFO] [stdout] 64 | name: ast::Ident, tokens: Vec) -> Box { [INFO] [stdout] | ^^^^ use of undeclared crate or module `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `parse` [INFO] [stdout] --> src/describe.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | let state: DescribeState = Parse::parse(&mut parse::stream_to_parser(cx.parse_sess(), tokens.into_iter().collect()), (sp, &mut*cx, So... [INFO] [stdout] | ^^^^^ use of undeclared crate or module `parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base` [INFO] [stdout] --> src/describe.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | base::MacEager::items(OneVector::from_vec(vec![state.generate(sp, cx, None)])) [INFO] [stdout] | ^^^^ use of undeclared crate or module `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OneVector` [INFO] [stdout] --> src/describe.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | base::MacEager::items(OneVector::from_vec(vec![state.generate(sp, cx, None)])) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `OneVector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/parse.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | (token::OpenDelim(token::Paren), ident, token::CloseDelim(token::Paren)) => { ident }, [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 `token` [INFO] [stdout] --> src/parse.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | (token::OpenDelim(token::Paren), ident, token::CloseDelim(token::Paren)) => { ident }, [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 `token` [INFO] [stdout] --> src/parse.rs:60:53 [INFO] [stdout] | [INFO] [stdout] 60 | (token::OpenDelim(token::Paren), ident, token::CloseDelim(token::Paren)) => { ident }, [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 `token` [INFO] [stdout] --> src/parse.rs:60:71 [INFO] [stdout] | [INFO] [stdout] 60 | (token::OpenDelim(token::Paren), ident, token::CloseDelim(token::Paren)) => { ident }, [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 `source_map` [INFO] [stdout] --> src/parse.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'a, 'b> Parse<(source_map::Span, &'a mut base::ExtCtxt<'b>, Option)> for DescribeState { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base` [INFO] [stdout] --> src/parse.rs:86:47 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'a, 'b> Parse<(source_map::Span, &'a mut base::ExtCtxt<'b>, Option)> for DescribeState { [INFO] [stdout] | ^^^^ use of undeclared crate or module `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse.rs:86:73 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'a, 'b> Parse<(source_map::Span, &'a mut base::ExtCtxt<'b>, Option)> for DescribeState { [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 `source_map` [INFO] [stdout] --> src/parse.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | (sp, cx, name): (source_map::Span, &'a mut base::ExtCtxt, Option)) -> DescribeState { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base` [INFO] [stdout] --> src/parse.rs:88:57 [INFO] [stdout] | [INFO] [stdout] 88 | (sp, cx, name): (source_map::Span, &'a mut base::ExtCtxt, Option)) -> DescribeState { [INFO] [stdout] | ^^^^ use of undeclared crate or module `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse.rs:88:79 [INFO] [stdout] | [INFO] [stdout] 88 | (sp, cx, name): (source_map::Span, &'a mut base::ExtCtxt, Option)) -> DescribeState { [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/parse.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | try(parser, token::OpenDelim(token::Brace), "{ after the name of a describe! block"); [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 `token` [INFO] [stdout] --> src/parse.rs:105:54 [INFO] [stdout] | [INFO] [stdout] 105 | try(parser, token::OpenDelim(token::Brace), "{ after the name of a describe! block"); [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 `token` [INFO] [stdout] --> src/parse.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | while parser.token != token::CloseDelim(token::Brace) && 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 `token` [INFO] [stdout] --> src/parse.rs:117:49 [INFO] [stdout] | [INFO] [stdout] 117 | while parser.token != token::CloseDelim(token::Brace) && 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 `token` [INFO] [stdout] --> src/parse.rs:117:82 [INFO] [stdout] | [INFO] [stdout] 117 | while parser.token != token::CloseDelim(token::Brace) && 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 `token` [INFO] [stdout] --> src/parse.rs:160:40 [INFO] [stdout] | [INFO] [stdout] 160 | if parser.token == token::OpenDelim(token::Paren) { [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 `token` [INFO] [stdout] --> src/parse.rs:160:57 [INFO] [stdout] | [INFO] [stdout] 160 | if parser.token == token::OpenDelim(token::Paren) { [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 `token` [INFO] [stdout] --> src/parse.rs:163:37 [INFO] [stdout] | [INFO] [stdout] 163 | try(parser, token::CloseDelim(token::Paren), "unclosed failing condition paren"); [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 `token` [INFO] [stdout] --> src/parse.rs:163:55 [INFO] [stdout] | [INFO] [stdout] 163 | try(parser, token::CloseDelim(token::Paren), "unclosed failing condition paren"); [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 `token` [INFO] [stdout] --> src/parse.rs:177:33 [INFO] [stdout] | [INFO] [stdout] 177 | try(parser, token::Not, "!"); [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 `token` [INFO] [stdout] --> src/parse.rs:185:33 [INFO] [stdout] | [INFO] [stdout] 185 | try(parser, token::CloseDelim(token::Brace), "}} to close `describe!`") [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 `token` [INFO] [stdout] --> src/parse.rs:185:51 [INFO] [stdout] | [INFO] [stdout] 185 | try(parser, token::CloseDelim(token::Brace), "}} to close `describe!`") [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 `token` [INFO] [stdout] --> src/parse.rs:197:45 [INFO] [stdout] | [INFO] [stdout] 197 | fn try(parser: &mut Parser, expected_token: token::Token, err: &str) { [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/test.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub block: P, [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/test.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | pub failing_msg: Option<(Symbol, ast::StrStyle)>, [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/test.rs:28:54 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn failing_test(failing_msg: Option<(Symbol, ast::StrStyle)>) -> TestConfig { [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/bench.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub bench: P, [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/bench.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub block: P [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 `source_map` [INFO] [stdout] --> src/generate.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | fn generate(self, source_map::Span, &mut base::ExtCtxt, Cfg) -> P; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base` [INFO] [stdout] --> src/generate.rs:24:46 [INFO] [stdout] | [INFO] [stdout] 24 | fn generate(self, source_map::Span, &mut base::ExtCtxt, Cfg) -> P; [INFO] [stdout] | ^^^^ use of undeclared crate or module `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/generate.rs:24:71 [INFO] [stdout] | [INFO] [stdout] 24 | fn generate(self, source_map::Span, &mut base::ExtCtxt, Cfg) -> P; [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 `source_map` [INFO] [stdout] --> src/generate.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | fn generate(self, sp: source_map::Span, cx: &mut base::ExtCtxt, state: &'a DescribeState) -> P { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base` [INFO] [stdout] --> src/generate.rs:28:54 [INFO] [stdout] | [INFO] [stdout] 28 | fn generate(self, sp: source_map::Span, cx: &mut base::ExtCtxt, state: &'a DescribeState) -> P { [INFO] [stdout] | ^^^^ use of undeclared crate or module `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/generate.rs:28:100 [INFO] [stdout] | [INFO] [stdout] 28 | fn generate(self, sp: source_map::Span, cx: &mut base::ExtCtxt, state: &'a DescribeState) -> P { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/generate.rs:32:64 [INFO] [stdout] | [INFO] [stdout] 32 | let test_attribute = cx.attribute(sp, cx.meta_word(sp, Symbol::intern("test"))); [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/generate.rs:35:62 [INFO] [stdout] | [INFO] [stdout] 35 | let should_panic = cx.attribute(sp, cx.meta_word(sp, Symbol::intern("should_panic"))); [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/generate.rs:38:56 [INFO] [stdout] | [INFO] [stdout] 38 | let ignore = cx.attribute(sp, cx.meta_word(sp, Symbol::intern("ignore"))); [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/generate.rs:40:57 [INFO] [stdout] | [INFO] [stdout] 40 | let non_snake_word = cx.meta_list_item_word(sp, Symbol::intern("non_snake_case")); [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/generate.rs:41:53 [INFO] [stdout] | [INFO] [stdout] 41 | let allow_non_snake_case = cx.meta_list(sp, Symbol::intern("allow"), [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/generate.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | 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 `ast` [INFO] [stdout] --> src/generate.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | 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 `ast` [INFO] [stdout] --> src/generate.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | 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 type `Symbol` [INFO] [stdout] --> src/generate.rs:89:44 [INFO] [stdout] | [INFO] [stdout] 89 | let should_panic_str = Symbol::intern("should_panic"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/generate.rs:90:40 [INFO] [stdout] | [INFO] [stdout] 90 | let expected_str = Symbol::intern("expected"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/generate.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | ast::LitKind::Str(msg.0, msg.1) [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 `source_map` [INFO] [stdout] --> src/generate.rs:96:54 [INFO] [stdout] | [INFO] [stdout] 96 | let nested_expected_name_value = source_map::respan( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/generate.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | ast::NestedMetaItemKind::MetaItem(expected_name_value)); [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/generate.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | 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/generate.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | 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/generate.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | node: ast::ItemKind::Fn( [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/generate.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | P(ast::FnDecl { [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/generate.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | output: ast::FunctionRetTy::Default(sp), [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/generate.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | ast::FnHeader::default(), [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/generate.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | ast::Generics::default(), [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/generate.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | vis: ast::Visibility{node:ast::VisibilityKind::Inherited, span:sp}, [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/generate.rs:133:39 [INFO] [stdout] | [INFO] [stdout] 133 | vis: ast::Visibility{node:ast::VisibilityKind::Inherited, span:sp}, [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 `source_map` [INFO] [stdout] --> src/generate.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | fn generate(self, sp: source_map::Span, cx: &mut base::ExtCtxt, _: ()) -> P { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base` [INFO] [stdout] --> src/generate.rs:141:54 [INFO] [stdout] | [INFO] [stdout] 141 | fn generate(self, sp: source_map::Span, cx: &mut base::ExtCtxt, _: ()) -> P { [INFO] [stdout] | ^^^^ use of undeclared crate or module `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/generate.rs:141:81 [INFO] [stdout] | [INFO] [stdout] 141 | fn generate(self, sp: source_map::Span, cx: &mut base::ExtCtxt, _: ()) -> P { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/generate.rs:145:65 [INFO] [stdout] | [INFO] [stdout] 145 | let bench_attribute = cx.attribute(sp, cx.meta_word(sp, Symbol::intern("bench"))); [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/generate.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | 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/generate.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | 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/generate.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | node: ast::ItemKind::Fn( [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/generate.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | P(ast::FnDecl { [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/generate.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | inputs: vec![ast::Arg { [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/generate.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | 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/generate.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | output: ast::FunctionRetTy::Default(sp), [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/generate.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | ast::FnHeader::default(), [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/generate.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | ast::Generics::default(), [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/generate.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | vis: ast::Visibility{node:ast::VisibilityKind::Inherited, span:sp}, [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/generate.rs:175:39 [INFO] [stdout] | [INFO] [stdout] 175 | vis: ast::Visibility{node:ast::VisibilityKind::Inherited, span:sp}, [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 `source_map` [INFO] [stdout] --> src/generate.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 183 | fn generate(self, sp: source_map::Span, cx: &mut base::ExtCtxt, state: &'a DescribeState) -> P { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base` [INFO] [stdout] --> src/generate.rs:183:54 [INFO] [stdout] | [INFO] [stdout] 183 | fn generate(self, sp: source_map::Span, cx: &mut base::ExtCtxt, state: &'a DescribeState) -> P { [INFO] [stdout] | ^^^^ use of undeclared crate or module `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/generate.rs:183:100 [INFO] [stdout] | [INFO] [stdout] 183 | fn generate(self, sp: source_map::Span, cx: &mut base::ExtCtxt, state: &'a DescribeState) -> P { [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 `source_map` [INFO] [stdout] --> src/generate.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | fn generate(mut self, sp: source_map::Span, cx: &mut base::ExtCtxt, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `base` [INFO] [stdout] --> src/generate.rs:193:58 [INFO] [stdout] | [INFO] [stdout] 193 | fn generate(mut self, sp: source_map::Span, cx: &mut base::ExtCtxt, [INFO] [stdout] | ^^^^ use of undeclared crate or module `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/generate.rs:194:56 [INFO] [stdout] | [INFO] [stdout] 194 | state: Option<&'a DescribeState>) -> P { [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/generate.rs:201:45 [INFO] [stdout] | [INFO] [stdout] 201 | Some(ref now) => Some(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 `ast` [INFO] [stdout] --> src/generate.rs:211:45 [INFO] [stdout] | [INFO] [stdout] 211 | Some(ref now) => Some(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 `ast` [INFO] [stdout] --> src/generate.rs:224:47 [INFO] [stdout] | [INFO] [stdout] 224 | let super_glob = cx.item_use_glob(sp, ast::Visibility{node:ast::VisibilityKind::Inherited, span:sp}, vec![cx.ident_of("super")]); [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/generate.rs:224:68 [INFO] [stdout] | [INFO] [stdout] 224 | let super_glob = cx.item_use_glob(sp, ast::Visibility{node:ast::VisibilityKind::Inherited, span:sp}, vec![cx.ident_of("super")]); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/lib.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | Symbol::intern("describe"), [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/describe.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | pub before_each: 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/describe.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | pub after_each: Option>, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> src/parse.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | fn parse(&mut Parser, Cfg) -> Self; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> src/parse.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Parse { [INFO] [stdout] | -------------------- similarly named trait `Parse` defined here [INFO] [stdout] ... [INFO] [stdout] 25 | fn parse(parser: &mut Parser, test_config: TestConfig) -> Test { [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `Parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> src/parse.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Parse { [INFO] [stdout] | -------------------- similarly named trait `Parse` defined here [INFO] [stdout] ... [INFO] [stdout] 42 | fn parse(parser: &mut Parser, _: ()) -> Bench { [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `Parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `P` in this scope [INFO] [stdout] --> src/parse.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | bench: P(name) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> src/parse.rs:87:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Parse { [INFO] [stdout] | -------------------- similarly named trait `Parse` defined here [INFO] [stdout] ... [INFO] [stdout] 87 | fn parse(parser: &mut Parser, [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `Parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> src/parse.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Parse { [INFO] [stdout] | -------------------- similarly named trait `Parse` defined here [INFO] [stdout] ... [INFO] [stdout] 197 | fn try(parser: &mut Parser, expected_token: token::Token, err: &str) { [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `Parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> src/parse.rs:204:25 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Parse { [INFO] [stdout] | -------------------- similarly named trait `Parse` defined here [INFO] [stdout] ... [INFO] [stdout] 204 | fn illegal(parser: &mut Parser, banned: &str) { [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `Parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/test.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub block: P, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/test.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TestConfig { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 23 | pub failing_msg: Option<(Symbol, ast::StrStyle)>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/test.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 26 | impl TestConfig { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 27 | [INFO] [stdout] 28 | pub fn failing_test(failing_msg: Option<(Symbol, ast::StrStyle)>) -> TestConfig { [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/bench.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub bench: P, [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/bench.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub block: P [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/generate.rs:24:69 [INFO] [stdout] | [INFO] [stdout] 24 | fn generate(self, source_map::Span, &mut base::ExtCtxt, Cfg) -> P; [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/generate.rs:28:98 [INFO] [stdout] | [INFO] [stdout] 28 | fn generate(self, sp: source_map::Span, cx: &mut base::ExtCtxt, state: &'a DescribeState) -> P { [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/generate.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | P(ast::Block { [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/generate.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | P(ast::Block { [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/generate.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | P(ast::Block { [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/generate.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | P(ast::Item { [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/generate.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | P(ast::FnDecl { [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/generate.rs:141:79 [INFO] [stdout] | [INFO] [stdout] 141 | fn generate(self, sp: source_map::Span, cx: &mut base::ExtCtxt, _: ()) -> P { [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/generate.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | P(ast::Item { [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/generate.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | P(ast::FnDecl { [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/generate.rs:183:98 [INFO] [stdout] | [INFO] [stdout] 183 | fn generate(self, sp: source_map::Span, cx: &mut base::ExtCtxt, state: &'a DescribeState) -> P { [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/generate.rs:194:54 [INFO] [stdout] | [INFO] [stdout] 194 | state: Option<&'a DescribeState>) -> P { [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/generate.rs:201:43 [INFO] [stdout] | [INFO] [stdout] 201 | Some(ref now) => Some(P(ast::Block { [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/generate.rs:205:34 [INFO] [stdout] | [INFO] [stdout] 205 | None => Some(P(parent.deref().clone())) [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/generate.rs:211:43 [INFO] [stdout] | [INFO] [stdout] 211 | Some(ref now) => Some(P(ast::Block { [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/generate.rs:215:34 [INFO] [stdout] | [INFO] [stdout] 215 | None => Some(P(parent.deref().clone())) [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:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(plugin_registrar, quote, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/parse.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | fn parse(&mut Parser, Cfg) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Parser` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | #![deny(missing_docs, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` implied by `#[warn(warnings)]` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/parse.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | fn parse(&mut Parser, Cfg) -> Self; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: Cfg` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/generate.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | fn generate(self, source_map::Span, &mut base::ExtCtxt, Cfg) -> P; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: source_map::Span` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/generate.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | fn generate(self, source_map::Span, &mut base::ExtCtxt, Cfg) -> P; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut base::ExtCtxt` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/generate.rs:24:61 [INFO] [stdout] | [INFO] [stdout] 24 | fn generate(self, source_map::Span, &mut base::ExtCtxt, Cfg) -> P; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: Cfg` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/describe.rs:64:79 [INFO] [stdout] | [INFO] [stdout] 64 | name: ast::Ident, tokens: Vec) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | #![deny(missing_docs, warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` implied by `#[warn(warnings)]` [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] 64 - name: ast::Ident, tokens: Vec) -> Box { [INFO] [stdout] 64 + name: ast::Ident, tokens: Vec) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 133 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463, E0554, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stainless2` due to 134 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c814101f83fed3d5c7dcc097357a2c537e386219423c37028993c9c7b4e28180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c814101f83fed3d5c7dcc097357a2c537e386219423c37028993c9c7b4e28180", kill_on_drop: false }` [INFO] [stdout] c814101f83fed3d5c7dcc097357a2c537e386219423c37028993c9c7b4e28180