[INFO] fetching crate bassert 0.0.4... [INFO] testing bassert-0.0.4 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate bassert 0.0.4 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate bassert 0.0.4 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bassert 0.0.4 [INFO] finished tweaking crates.io crate bassert 0.0.4 [INFO] tweaked toml for crates.io crate bassert 0.0.4 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 414fa9b10ae5f9fe51e5604a525533ca27db76489ebdffe060be09030d77319a [INFO] running `Command { std: "docker" "start" "-a" "414fa9b10ae5f9fe51e5604a525533ca27db76489ebdffe060be09030d77319a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "414fa9b10ae5f9fe51e5604a525533ca27db76489ebdffe060be09030d77319a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "414fa9b10ae5f9fe51e5604a525533ca27db76489ebdffe060be09030d77319a", kill_on_drop: false }` [INFO] [stdout] 414fa9b10ae5f9fe51e5604a525533ca27db76489ebdffe060be09030d77319a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 168b789c6b98eb92cf98894c704ed9a8cdbf5d44aea8366b5326c6c1a39ac261 [INFO] running `Command { std: "docker" "start" "-a" "168b789c6b98eb92cf98894c704ed9a8cdbf5d44aea8366b5326c6c1a39ac261", kill_on_drop: false }` [INFO] [stderr] Compiling bassert v0.0.4 (/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, 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:30 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(plugin_registrar, 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:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | 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:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.tsan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | quote_expr!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | quote_expr!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | quote_expr!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | quote_expr!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | quote_expr!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | quote_expr!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | quote_expr!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | quote_expr!(cx, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | quote_expr!(cx, |: rest: &::std::fmt::Arguments| { $inner_check } ) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | quote_expr!(cx, { fn chk(x: &T, y: &T) -> bool { *x == *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | quote_expr!(cx, { fn chk(x: &T, y: &T) -> bool { *x != *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | quote_expr!(cx, { fn chk(x: &T, y: &T) -> bool { *x <= *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | quote_expr!(cx, { fn chk(x: &T, y: &T) -> bool { *x >= *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | quote_expr!(cx, { fn chk(x: &T, y: &T) -> bool { *x < *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | quote_expr!(cx, { fn chk(x: &T, y: &T) -> bool { *x > *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | quote_expr!(cx, { fn chk(x: &bool, y: &bool) -> bool { *x || *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | quote_expr!(cx, { fn chk(x: &bool, y: &bool) -> bool { *x && *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | quote_expr!(cx, { fn chk>(x: &L, y: &R) -> bool { *x + *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | quote_expr!(cx, { fn chk>(x: &L, y: &R) -> bool { *x - *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | quote_expr!(cx, { fn chk>(x: &L, y: &R) -> bool { *x * *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | quote_expr!(cx, { fn chk>(x: &L, y: &R) -> bool { *x / *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | quote_expr!(cx, { fn chk>(x: &L, y: &R) -> bool { *x % *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | quote_expr!(cx, { fn chk>(x: &L, y: &R) -> bool { *x >> *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | quote_expr!(cx, { fn chk>(x: &L, y: &R) -> bool { *x << *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | quote_expr!(cx, { fn chk>(x: &L, y: &R) -> bool { *x | *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | quote_expr!(cx, { fn chk>(x: &L, y: &R)-> bool { *x & *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `quote_expr` in this scope [INFO] [stdout] --> src/lib.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | quote_expr!(cx, { fn chk>(x: &L, y: &R)-> bool { *x ^ *y }; chk }) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/lib.rs:270:3 [INFO] [stdout] | [INFO] [stdout] 270 | #[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:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | let expr: P = parser.parse_expr(); [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:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | 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 type `DummyResult` [INFO] [stdout] --> src/lib.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | return DummyResult::any(sp); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DummyResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacExpr` [INFO] [stdout] --> src/lib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | MacExpr::new(get_fmt_meth(cx, expr)) [INFO] [stdout] | ^^^^^^^ use of undeclared type `MacExpr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_fmt_meth(cx: &mut ExtCtxt, expr: P) -> 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/lib.rs:62:60 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_fmt_meth(cx: &mut ExtCtxt, expr: P) -> 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/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | ast::ExprBinary(cmp, ref given, ref expected) => { [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:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | ast::ExprCall(ref fun, ref args) if args.len() > 0 && args.len() < 7 => { [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:211:42 [INFO] [stdout] | [INFO] [stdout] 211 | fn get_check_func(cx: &mut ExtCtxt, cmp: ast::BinOp) -> 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/lib.rs:211:59 [INFO] [stdout] | [INFO] [stdout] 211 | fn get_check_func(cx: &mut ExtCtxt, cmp: ast::BinOp) -> 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/lib.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | ast::BiEq => { [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:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | ast::BiNe => { [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:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | ast::BiLe => { [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:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | ast::BiGe => { [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:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | ast::BiLt => { [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:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | ast::BiGt => { [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:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | ast::BiOr => { [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:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | ast::BiAnd => { [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:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | ast::BiAdd => { [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:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | ast::BiSub => { [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:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | ast::BiMul => { [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:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | ast::BiDiv => { [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:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | ast::BiRem => { [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:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | ast::BiShr => { [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:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | ast::BiShl => { [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:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | ast::BiBitOr => { [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:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | ast::BiBitAnd => { [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:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | ast::BiBitXor => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExtCtxt` in this scope [INFO] [stdout] --> src/lib.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | fn expand_bassert(cx: &mut ExtCtxt, sp: Span, args: &[TokenTree]) [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:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | fn expand_bassert(cx: &mut ExtCtxt, sp: Span, args: &[TokenTree]) [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:45:55 [INFO] [stdout] | [INFO] [stdout] 45 | fn expand_bassert(cx: &mut ExtCtxt, sp: Span, args: &[TokenTree]) [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:46:16 [INFO] [stdout] | [INFO] [stdout] 45 | fn expand_bassert(cx: &mut ExtCtxt, sp: Span, args: &[TokenTree]) [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 46 | -> Box { [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:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | let expr: P = parser.parse_expr(); [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:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_fmt_meth(cx: &mut ExtCtxt, expr: P) -> 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/lib.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_fmt_meth(cx: &mut ExtCtxt, expr: P) -> 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/lib.rs:62:58 [INFO] [stdout] | [INFO] [stdout] 62 | fn get_fmt_meth(cx: &mut ExtCtxt, expr: P) -> P { [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:211:28 [INFO] [stdout] | [INFO] [stdout] 211 | fn get_check_func(cx: &mut ExtCtxt, cmp: ast::BinOp) -> 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/lib.rs:211:57 [INFO] [stdout] | [INFO] [stdout] 211 | fn get_check_func(cx: &mut ExtCtxt, cmp: ast::BinOp) -> P { [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:271:35 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn plugin_registrar(reg: &mut Registry) { reg.register_macro("internal_bassert", expand_bassert); } [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | -> 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] 46 - -> Box { [INFO] [stdout] 46 + -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 71 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bassert` due to 72 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "168b789c6b98eb92cf98894c704ed9a8cdbf5d44aea8366b5326c6c1a39ac261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "168b789c6b98eb92cf98894c704ed9a8cdbf5d44aea8366b5326c6c1a39ac261", kill_on_drop: false }` [INFO] [stdout] 168b789c6b98eb92cf98894c704ed9a8cdbf5d44aea8366b5326c6c1a39ac261