[INFO] fetching crate rustplacements 0.1.0... [INFO] checking rustplacements-0.1.0 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate rustplacements 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate rustplacements 0.1.0 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustplacements 0.1.0 [INFO] finished tweaking crates.io crate rustplacements 0.1.0 [INFO] tweaked toml for crates.io crate rustplacements 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.4.0) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: support for rustc plugins has been removed from rustc. library `rustplacements` should not specify `plugin = true` [INFO] [stderr] warning: support for `plugin = true` will be removed from cargo in the future [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2b2155d87003f5ea4e1d69e56f7f30bc5b3a26b351b9e8278a16278ed3616f6 [INFO] running `Command { std: "docker" "start" "-a" "f2b2155d87003f5ea4e1d69e56f7f30bc5b3a26b351b9e8278a16278ed3616f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2b2155d87003f5ea4e1d69e56f7f30bc5b3a26b351b9e8278a16278ed3616f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2b2155d87003f5ea4e1d69e56f7f30bc5b3a26b351b9e8278a16278ed3616f6", kill_on_drop: false }` [INFO] [stdout] f2b2155d87003f5ea4e1d69e56f7f30bc5b3a26b351b9e8278a16278ed3616f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd0a35ac3ac403d3c2b52d63c521007f557fcb3186d42523676b9877e3df61e8 [INFO] running `Command { std: "docker" "start" "-a" "cd0a35ac3ac403d3c2b52d63c521007f557fcb3186d42523676b9877e3df61e8", kill_on_drop: false }` [INFO] [stderr] warning: support for rustc plugins has been removed from rustc. library `rustplacements` should not specify `plugin = true` [INFO] [stderr] warning: support for `plugin = true` will be removed from cargo in the future [INFO] [stderr] Checking rustplacements v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(plugin_registrar, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(plugin_registrar, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.safestack.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.dfsan.a [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/lib.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.safestack.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/506512391b1a75ae450d36c9420978402a91abcc/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.dfsan.a [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax_ext` [INFO] [stdout] --> src/lib.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | extern crate syntax_ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax_pos` [INFO] [stdout] --> src/lib.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | extern crate syntax_pos; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax_ext` [INFO] [stdout] --> src/lib.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | extern crate syntax_ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_plugin` [INFO] [stdout] --> src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | 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 `syntax_pos` [INFO] [stdout] --> src/lib.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | extern crate syntax_pos; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_plugin` [INFO] [stdout] --> src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | 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[E0432]: unresolved import `LitKind` [INFO] [stdout] --> src/lib.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | use LitKind::*; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `LitKind`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate LitKind` to use the `LitKind` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `LitKind` [INFO] [stdout] --> src/lib.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | use LitKind::*; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `LitKind`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate LitKind` to use the `LitKind` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ItemKind` [INFO] [stdout] --> src/lib.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | use ItemKind::*; [INFO] [stdout] | ^^^^^^^^ maybe a missing crate `ItemKind`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate ItemKind` to use the `ItemKind` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ItemKind` [INFO] [stdout] --> src/lib.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | use ItemKind::*; [INFO] [stdout] | ^^^^^^^^ maybe a missing crate `ItemKind`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate ItemKind` to use the `ItemKind` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `TraitItemKind` [INFO] [stdout] --> src/lib.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | use TraitItemKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `TraitItemKind`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate TraitItemKind` to use the `TraitItemKind` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `TraitItemKind` [INFO] [stdout] --> src/lib.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | use TraitItemKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^ maybe a missing crate `TraitItemKind`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate TraitItemKind` to use the `TraitItemKind` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ImplItemKind` [INFO] [stdout] --> src/lib.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | use ImplItemKind::*; [INFO] [stdout] | ^^^^^^^^^^^^ maybe a missing crate `ImplItemKind`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate ImplItemKind` to use the `ImplItemKind` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ImplItemKind` [INFO] [stdout] --> src/lib.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | use ImplItemKind::*; [INFO] [stdout] | ^^^^^^^^^^^^ maybe a missing crate `ImplItemKind`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate ImplItemKind` to use the `ImplItemKind` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `StmtKind` [INFO] [stdout] --> src/lib.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | use StmtKind::*; [INFO] [stdout] | ^^^^^^^^ maybe a missing crate `StmtKind`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate StmtKind` to use the `StmtKind` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `StmtKind` [INFO] [stdout] --> src/lib.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | use StmtKind::*; [INFO] [stdout] | ^^^^^^^^ maybe a missing crate `StmtKind`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate StmtKind` to use the `StmtKind` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ExprKind` [INFO] [stdout] --> src/lib.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | use ExprKind::*; [INFO] [stdout] | ^^^^^^^^ maybe a missing crate `ExprKind`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate ExprKind` to use the `ExprKind` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `LitKind` [INFO] [stdout] --> src/lib.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | use LitKind::*; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `LitKind`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate LitKind` to use the `LitKind` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ExprKind` [INFO] [stdout] --> src/lib.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | use ExprKind::*; [INFO] [stdout] | ^^^^^^^^ maybe a missing crate `ExprKind`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate ExprKind` to use the `ExprKind` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `LitKind` [INFO] [stdout] --> src/lib.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | use LitKind::*; [INFO] [stdout] | ^^^^^^^ maybe a missing crate `LitKind`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate LitKind` to use the `LitKind` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/lib.rs:123:3 [INFO] [stdout] | [INFO] [stdout] 123 | #[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: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/lib.rs:123:3 [INFO] [stdout] | [INFO] [stdout] 123 | #[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[E0412]: cannot find type `MetaItem` in this scope [INFO] [stdout] --> src/lib.rs:129:44 [INFO] [stdout] | [INFO] [stdout] 129 | fn rustplace(_: &mut ExtCtxt, _: Span, m: &MetaItem, an: Annotatable) -> Vec { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Str` in this scope [INFO] [stdout] --> src/lib.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | Str(symbol, _) => symbol, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | Rustplace!(Item); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Item` in this scope [INFO] [stdout] --> src/lib.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | Rustplace!(Item); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TraitItem` in this scope [INFO] [stdout] --> src/lib.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | Rustplace!(TraitItem); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TraitItem` in this scope [INFO] [stdout] --> src/lib.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | Rustplace!(TraitItem); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope [INFO] [stdout] --> src/lib.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | Rustplace!(ImplItem); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ImplItem` in this scope [INFO] [stdout] --> src/lib.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | Rustplace!(ImplItem); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> src/lib.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | Rustplace!(Stmt); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Stmt` in this scope [INFO] [stdout] --> src/lib.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | Rustplace!(Stmt); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/lib.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | Rustplace!(Expr); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Expr` in this scope [INFO] [stdout] --> src/lib.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | Rustplace!(Expr); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/lib.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | Rustplace!(Block, stmts); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> src/lib.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | Rustplace!(Block, stmts); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Field` in this scope [INFO] [stdout] --> src/lib.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | Rustplace!(Field, expr); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Field` in this scope [INFO] [stdout] --> src/lib.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | Rustplace!(Field, expr); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mod` in this scope [INFO] [stdout] --> src/lib.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | Rustplace!(Mod, items); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Mod` in this scope [INFO] [stdout] --> src/lib.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | Rustplace!(Mod, items); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Local` in this scope [INFO] [stdout] --> src/lib.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | impl Rustplace for Local { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Local` in this scope [INFO] [stdout] --> src/lib.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | Local { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arm` in this scope [INFO] [stdout] --> src/lib.rs:199:20 [INFO] [stdout] | [INFO] [stdout] 199 | impl Rustplace for Arm { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Arm` in this scope [INFO] [stdout] --> src/lib.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | Arm { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Item` in this scope [INFO] [stdout] --> src/lib.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | Item(item) => Item(item.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TraitItem` in this scope [INFO] [stdout] --> src/lib.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | TraitItem(item) => TraitItem(item.trans(ctxt)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ImplItem` in this scope [INFO] [stdout] --> src/lib.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | ImplItem(item) => ImplItem(item.trans(ctxt)), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ItemKind` in this scope [INFO] [stdout] --> src/lib.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | impl Rustplace for ItemKind { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> src/lib.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | Fn(a, b, c, d, e, block) => Fn(a, b, c, d, e, block.trans(ctxt)), [INFO] [stdout] | ^^ not a tuple struct or tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Static` in this scope [INFO] [stdout] --> src/lib.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | Static(ty, m, expr) => Static(ty, m, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Static` in this scope [INFO] [stdout] --> src/lib.rs:226:36 [INFO] [stdout] | [INFO] [stdout] 226 | Static(ty, m, expr) => Static(ty, m, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 108 + use std::intrinsics::mir::Static; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Const` in this scope [INFO] [stdout] --> src/lib.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | Const(ty, expr) => Const(ty, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Trait` in this scope [INFO] [stdout] --> src/lib.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | Trait(u, g, ty, v) => Trait(u, g, ty, v.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Impl` in this scope [INFO] [stdout] --> src/lib.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | Impl(a, b, c, d, e, f, v) => Impl(a, b, c, d, e, f, v.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Mod` in this scope [INFO] [stdout] --> src/lib.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | Mod(m) => Mod(m.trans(ctxt)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TraitItemKind` in this scope [INFO] [stdout] --> src/lib.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 236 | impl Rustplace for TraitItemKind { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Const` in this scope [INFO] [stdout] --> src/lib.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | Const(ty, Some(expr)) => Const(ty, Some(expr.trans(ctxt))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Method` in this scope [INFO] [stdout] --> src/lib.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | Method(sig, Some(block)) => Method(sig, Some(block.trans(ctxt))), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplItemKind` in this scope [INFO] [stdout] --> src/lib.rs:247:20 [INFO] [stdout] | [INFO] [stdout] 247 | impl Rustplace for ImplItemKind { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Const` in this scope [INFO] [stdout] --> src/lib.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | Const(ty, expr) => Const(ty, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Method` in this scope [INFO] [stdout] --> src/lib.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | Method(sig, block) => Method(sig, block.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StmtKind` in this scope [INFO] [stdout] --> src/lib.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | impl Rustplace for StmtKind { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Local` in this scope [INFO] [stdout] --> src/lib.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | Local(l) => Local(l.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Item` in this scope [INFO] [stdout] --> src/lib.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | Item(i) => Item(i.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Expr` in this scope [INFO] [stdout] --> src/lib.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | Expr(e) => Expr(e.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Semi` in this scope [INFO] [stdout] --> src/lib.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | Semi(s) => Semi(s.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExprKind` in this scope [INFO] [stdout] --> src/lib.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | impl Rustplace for ExprKind { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Lit` in this scope [INFO] [stdout] --> src/lib.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | Lit(l) => Lit(l.trans(ctxt)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: cannot match against a tuple struct which contains private fields [INFO] [stdout] --> src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | Box(b) => Box(b.trans(ctxt)), [INFO] [stdout] | ^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `InPlace` in this scope [INFO] [stdout] --> src/lib.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | InPlace(a, b) => InPlace(a.trans(ctxt), b.trans(ctxt)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> src/lib.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | Array(v) => Array(v.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Call` in this scope [INFO] [stdout] --> src/lib.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | Call(a, v) => Call(a.trans(ctxt), v.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Call` in this scope [INFO] [stdout] --> src/lib.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 279 | Call(a, v) => Call(a.trans(ctxt), v.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 108 + use std::intrinsics::mir::Call; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MethodCall` in this scope [INFO] [stdout] --> src/lib.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | MethodCall(p, v) => MethodCall(p, v.trans(ctxt)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Tup` in this scope [INFO] [stdout] --> src/lib.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | Tup(v) => Tup(v.trans(ctxt)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Binary` in this scope [INFO] [stdout] --> src/lib.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | Binary(op, l, r) => Binary(op, l.trans(ctxt), r.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Unary` in this scope [INFO] [stdout] --> src/lib.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | Unary(op, expr) => Unary(op, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Cast` in this scope [INFO] [stdout] --> src/lib.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | Cast(expr, ty) => Cast(expr.trans(ctxt), ty), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Type` in this scope [INFO] [stdout] --> src/lib.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | Type(expr, ty) => Type(expr.trans(ctxt), ty), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `If` in this scope [INFO] [stdout] --> src/lib.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | If(cond, iff, els) => { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `IfLet` in this scope [INFO] [stdout] --> src/lib.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | IfLet(pat, expr, iff, els) => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `While` in this scope [INFO] [stdout] --> src/lib.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | While(cond, blk, si) => While(cond.trans(ctxt), blk.trans(ctxt), si), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `WhileLet` in this scope [INFO] [stdout] --> src/lib.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | WhileLet(p, expr, blk, si) => WhileLet(p, expr.trans(ctxt), blk.trans(ctxt), si), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ForLoop` in this scope [INFO] [stdout] --> src/lib.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | ForLoop(p, expr, blk, si) => ForLoop(p, expr.trans(ctxt), blk.trans(ctxt), si), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Loop` in this scope [INFO] [stdout] --> src/lib.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | Loop(expr, si) => Loop(expr.trans(ctxt), si), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Match` in this scope [INFO] [stdout] --> src/lib.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | Match(expr, v) => Match(expr.trans(ctxt), v.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 108 + use std::str::pattern::SearchStep::Match; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Match` in this scope [INFO] [stdout] --> src/lib.rs:301:31 [INFO] [stdout] | [INFO] [stdout] 301 | Match(expr, v) => Match(expr.trans(ctxt), v.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 108 + use std::str::pattern::SearchStep::Match; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Closure` in this scope [INFO] [stdout] --> src/lib.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | Closure(c, p, blk, s) => Closure(c, p, blk.trans(ctxt), s), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Block` in this scope [INFO] [stdout] --> src/lib.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | Block(blk) => Block(blk.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Catch` in this scope [INFO] [stdout] --> src/lib.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | Catch(blk) => Catch(blk.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Assign` in this scope [INFO] [stdout] --> src/lib.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | Assign(a, b) => Assign(a.trans(ctxt), b.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AssignOp` in this scope [INFO] [stdout] --> src/lib.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | AssignOp(op, lhs, rhs) => AssignOp(op, lhs.trans(ctxt), rhs.trans(ctxt)), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Field` in this scope [INFO] [stdout] --> src/lib.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | Field(expr, si) => Field(expr.trans(ctxt), si), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Field` in this scope [INFO] [stdout] --> src/lib.rs:307:32 [INFO] [stdout] | [INFO] [stdout] 307 | Field(expr, si) => Field(expr.trans(ctxt), si), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 108 + use std::intrinsics::mir::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TupField` in this scope [INFO] [stdout] --> src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | TupField(expr, span) => TupField(expr.trans(ctxt), span), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Index` in this scope [INFO] [stdout] --> src/lib.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | Index(a, b) => Index(a.trans(ctxt), b.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Range` in this scope [INFO] [stdout] --> src/lib.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | Range(lower, upper, lim) => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AddrOf` in this scope [INFO] [stdout] --> src/lib.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | AddrOf(m, expr) => AddrOf(m, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Break` in this scope [INFO] [stdout] --> src/lib.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | Break(br, expr) => Break(br, expr.map(|i| i.trans(ctxt))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 108 + use std::ops::ControlFlow::Break; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Break` in this scope [INFO] [stdout] --> src/lib.rs:316:32 [INFO] [stdout] | [INFO] [stdout] 316 | Break(br, expr) => Break(br, expr.map(|i| i.trans(ctxt))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 108 + use std::ops::ControlFlow::Break; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ret` in this scope [INFO] [stdout] --> src/lib.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | Ret(opt) => Ret(opt.map(|i| i.trans(ctxt))), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Struct` in this scope [INFO] [stdout] --> src/lib.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | Struct(p, v, opt) => Struct(p, v.trans(ctxt), opt.map(|i| i.trans(ctxt))), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Repeat` in this scope [INFO] [stdout] --> src/lib.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | Repeat(a, b) => Repeat(a.trans(ctxt), b.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Paren` in this scope [INFO] [stdout] --> src/lib.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | Paren(expr) => Paren(expr.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Try` in this scope [INFO] [stdout] --> src/lib.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | Try(expr) => Try(expr.trans(ctxt)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LitKind` in this scope [INFO] [stdout] --> src/lib.rs:327:28 [INFO] [stdout] | [INFO] [stdout] 327 | impl Rustplace for Spanned { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 327 | impl Rustplace for Spanned { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Str` in this scope [INFO] [stdout] --> src/lib.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | Str(s, _) => { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MetaItem` in this scope [INFO] [stdout] --> src/lib.rs:129:44 [INFO] [stdout] | [INFO] [stdout] 129 | fn rustplace(_: &mut ExtCtxt, _: Span, m: &MetaItem, an: Annotatable) -> Vec { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Str` in this scope [INFO] [stdout] --> src/lib.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | Str(symbol, _) => symbol, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Item` in this scope [INFO] [stdout] --> src/lib.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | Rustplace!(Item); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Item` in this scope [INFO] [stdout] --> src/lib.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | Rustplace!(Item); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TraitItem` in this scope [INFO] [stdout] --> src/lib.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | Rustplace!(TraitItem); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TraitItem` in this scope [INFO] [stdout] --> src/lib.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | Rustplace!(TraitItem); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplItem` in this scope [INFO] [stdout] --> src/lib.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | Rustplace!(ImplItem); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ImplItem` in this scope [INFO] [stdout] --> src/lib.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | Rustplace!(ImplItem); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> src/lib.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | Rustplace!(Stmt); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Stmt` in this scope [INFO] [stdout] --> src/lib.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | Rustplace!(Stmt); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/lib.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | Rustplace!(Expr); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Expr` in this scope [INFO] [stdout] --> src/lib.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | Rustplace!(Expr); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/lib.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | Rustplace!(Block, stmts); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> src/lib.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | Rustplace!(Block, stmts); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Field` in this scope [INFO] [stdout] --> src/lib.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | Rustplace!(Field, expr); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Field` in this scope [INFO] [stdout] --> src/lib.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | Rustplace!(Field, expr); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mod` in this scope [INFO] [stdout] --> src/lib.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | Rustplace!(Mod, items); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Mod` in this scope [INFO] [stdout] --> src/lib.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | Rustplace!(Mod, items); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Local` in this scope [INFO] [stdout] --> src/lib.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | impl Rustplace for Local { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Local` in this scope [INFO] [stdout] --> src/lib.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | Local { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arm` in this scope [INFO] [stdout] --> src/lib.rs:199:20 [INFO] [stdout] | [INFO] [stdout] 199 | impl Rustplace for Arm { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Arm` in this scope [INFO] [stdout] --> src/lib.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | Arm { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Item` in this scope [INFO] [stdout] --> src/lib.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | Item(item) => Item(item.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TraitItem` in this scope [INFO] [stdout] --> src/lib.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | TraitItem(item) => TraitItem(item.trans(ctxt)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ImplItem` in this scope [INFO] [stdout] --> src/lib.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | ImplItem(item) => ImplItem(item.trans(ctxt)), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ItemKind` in this scope [INFO] [stdout] --> src/lib.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | impl Rustplace for ItemKind { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> src/lib.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | Fn(a, b, c, d, e, block) => Fn(a, b, c, d, e, block.trans(ctxt)), [INFO] [stdout] | ^^ not a tuple struct or tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Static` in this scope [INFO] [stdout] --> src/lib.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | Static(ty, m, expr) => Static(ty, m, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Static` in this scope [INFO] [stdout] --> src/lib.rs:226:36 [INFO] [stdout] | [INFO] [stdout] 226 | Static(ty, m, expr) => Static(ty, m, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 108 + use std::intrinsics::mir::Static; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Const` in this scope [INFO] [stdout] --> src/lib.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | Const(ty, expr) => Const(ty, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Trait` in this scope [INFO] [stdout] --> src/lib.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | Trait(u, g, ty, v) => Trait(u, g, ty, v.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Impl` in this scope [INFO] [stdout] --> src/lib.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | Impl(a, b, c, d, e, f, v) => Impl(a, b, c, d, e, f, v.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Mod` in this scope [INFO] [stdout] --> src/lib.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | Mod(m) => Mod(m.trans(ctxt)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TraitItemKind` in this scope [INFO] [stdout] --> src/lib.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 236 | impl Rustplace for TraitItemKind { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Const` in this scope [INFO] [stdout] --> src/lib.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | Const(ty, Some(expr)) => Const(ty, Some(expr.trans(ctxt))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Method` in this scope [INFO] [stdout] --> src/lib.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | Method(sig, Some(block)) => Method(sig, Some(block.trans(ctxt))), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImplItemKind` in this scope [INFO] [stdout] --> src/lib.rs:247:20 [INFO] [stdout] | [INFO] [stdout] 247 | impl Rustplace for ImplItemKind { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Const` in this scope [INFO] [stdout] --> src/lib.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | Const(ty, expr) => Const(ty, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Method` in this scope [INFO] [stdout] --> src/lib.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | Method(sig, block) => Method(sig, block.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StmtKind` in this scope [INFO] [stdout] --> src/lib.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | impl Rustplace for StmtKind { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Local` in this scope [INFO] [stdout] --> src/lib.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | Local(l) => Local(l.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Item` in this scope [INFO] [stdout] --> src/lib.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | Item(i) => Item(i.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Expr` in this scope [INFO] [stdout] --> src/lib.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | Expr(e) => Expr(e.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Semi` in this scope [INFO] [stdout] --> src/lib.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | Semi(s) => Semi(s.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExprKind` in this scope [INFO] [stdout] --> src/lib.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | impl Rustplace for ExprKind { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Lit` in this scope [INFO] [stdout] --> src/lib.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | Lit(l) => Lit(l.trans(ctxt)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: cannot match against a tuple struct which contains private fields [INFO] [stdout] --> src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | Box(b) => Box(b.trans(ctxt)), [INFO] [stdout] | ^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `InPlace` in this scope [INFO] [stdout] --> src/lib.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | InPlace(a, b) => InPlace(a.trans(ctxt), b.trans(ctxt)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> src/lib.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | Array(v) => Array(v.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Call` in this scope [INFO] [stdout] --> src/lib.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | Call(a, v) => Call(a.trans(ctxt), v.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Call` in this scope [INFO] [stdout] --> src/lib.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 279 | Call(a, v) => Call(a.trans(ctxt), v.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 108 + use std::intrinsics::mir::Call; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MethodCall` in this scope [INFO] [stdout] --> src/lib.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | MethodCall(p, v) => MethodCall(p, v.trans(ctxt)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Tup` in this scope [INFO] [stdout] --> src/lib.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | Tup(v) => Tup(v.trans(ctxt)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Binary` in this scope [INFO] [stdout] --> src/lib.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | Binary(op, l, r) => Binary(op, l.trans(ctxt), r.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Unary` in this scope [INFO] [stdout] --> src/lib.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | Unary(op, expr) => Unary(op, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Cast` in this scope [INFO] [stdout] --> src/lib.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | Cast(expr, ty) => Cast(expr.trans(ctxt), ty), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Type` in this scope [INFO] [stdout] --> src/lib.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | Type(expr, ty) => Type(expr.trans(ctxt), ty), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `If` in this scope [INFO] [stdout] --> src/lib.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | If(cond, iff, els) => { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `IfLet` in this scope [INFO] [stdout] --> src/lib.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | IfLet(pat, expr, iff, els) => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `While` in this scope [INFO] [stdout] --> src/lib.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | While(cond, blk, si) => While(cond.trans(ctxt), blk.trans(ctxt), si), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `WhileLet` in this scope [INFO] [stdout] --> src/lib.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | WhileLet(p, expr, blk, si) => WhileLet(p, expr.trans(ctxt), blk.trans(ctxt), si), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ForLoop` in this scope [INFO] [stdout] --> src/lib.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | ForLoop(p, expr, blk, si) => ForLoop(p, expr.trans(ctxt), blk.trans(ctxt), si), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Loop` in this scope [INFO] [stdout] --> src/lib.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | Loop(expr, si) => Loop(expr.trans(ctxt), si), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Match` in this scope [INFO] [stdout] --> src/lib.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | Match(expr, v) => Match(expr.trans(ctxt), v.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 108 + use std::str::pattern::SearchStep::Match; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Match` in this scope [INFO] [stdout] --> src/lib.rs:301:31 [INFO] [stdout] | [INFO] [stdout] 301 | Match(expr, v) => Match(expr.trans(ctxt), v.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 108 + use std::str::pattern::SearchStep::Match; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Closure` in this scope [INFO] [stdout] --> src/lib.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | Closure(c, p, blk, s) => Closure(c, p, blk.trans(ctxt), s), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Block` in this scope [INFO] [stdout] --> src/lib.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | Block(blk) => Block(blk.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Catch` in this scope [INFO] [stdout] --> src/lib.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | Catch(blk) => Catch(blk.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Assign` in this scope [INFO] [stdout] --> src/lib.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | Assign(a, b) => Assign(a.trans(ctxt), b.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AssignOp` in this scope [INFO] [stdout] --> src/lib.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | AssignOp(op, lhs, rhs) => AssignOp(op, lhs.trans(ctxt), rhs.trans(ctxt)), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Field` in this scope [INFO] [stdout] --> src/lib.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | Field(expr, si) => Field(expr.trans(ctxt), si), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Field` in this scope [INFO] [stdout] --> src/lib.rs:307:32 [INFO] [stdout] | [INFO] [stdout] 307 | Field(expr, si) => Field(expr.trans(ctxt), si), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 108 + use std::intrinsics::mir::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TupField` in this scope [INFO] [stdout] --> src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | TupField(expr, span) => TupField(expr.trans(ctxt), span), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Index` in this scope [INFO] [stdout] --> src/lib.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | Index(a, b) => Index(a.trans(ctxt), b.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Range` in this scope [INFO] [stdout] --> src/lib.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | Range(lower, upper, lim) => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AddrOf` in this scope [INFO] [stdout] --> src/lib.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | AddrOf(m, expr) => AddrOf(m, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Break` in this scope [INFO] [stdout] --> src/lib.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | Break(br, expr) => Break(br, expr.map(|i| i.trans(ctxt))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 108 + use std::ops::ControlFlow::Break; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Break` in this scope [INFO] [stdout] --> src/lib.rs:316:32 [INFO] [stdout] | [INFO] [stdout] 316 | Break(br, expr) => Break(br, expr.map(|i| i.trans(ctxt))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 108 + use std::ops::ControlFlow::Break; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ret` in this scope [INFO] [stdout] --> src/lib.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | Ret(opt) => Ret(opt.map(|i| i.trans(ctxt))), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Struct` in this scope [INFO] [stdout] --> src/lib.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | Struct(p, v, opt) => Struct(p, v.trans(ctxt), opt.map(|i| i.trans(ctxt))), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Repeat` in this scope [INFO] [stdout] --> src/lib.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | Repeat(a, b) => Repeat(a.trans(ctxt), b.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Paren` in this scope [INFO] [stdout] --> src/lib.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | Paren(expr) => Paren(expr.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Try` in this scope [INFO] [stdout] --> src/lib.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | Try(expr) => Try(expr.trans(ctxt)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LitKind` in this scope [INFO] [stdout] --> src/lib.rs:327:28 [INFO] [stdout] | [INFO] [stdout] 327 | impl Rustplace for Spanned { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 327 | impl Rustplace for Spanned { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Str` in this scope [INFO] [stdout] --> src/lib.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | Str(s, _) => { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Item` in this scope [INFO] [stdout] --> src/lib.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | Item(item) => Item(item.trans(ctxt)), [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists (notice the capitalization): `item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TraitItem` in this scope [INFO] [stdout] --> src/lib.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | TraitItem(item) => TraitItem(item.trans(ctxt)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImplItem` in this scope [INFO] [stdout] --> src/lib.rs:216:31 [INFO] [stdout] | [INFO] [stdout] 216 | ImplItem(item) => ImplItem(item.trans(ctxt)), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> src/lib.rs:225:41 [INFO] [stdout] | [INFO] [stdout] 225 | Fn(a, b, c, d, e, block) => Fn(a, b, c, d, e, block.trans(ctxt)), [INFO] [stdout] | ^^ not a function, tuple struct or tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Const` in this scope [INFO] [stdout] --> src/lib.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | Const(ty, expr) => Const(ty, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Trait` in this scope [INFO] [stdout] --> src/lib.rs:228:35 [INFO] [stdout] | [INFO] [stdout] 228 | Trait(u, g, ty, v) => Trait(u, g, ty, v.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Impl` in this scope [INFO] [stdout] --> src/lib.rs:229:42 [INFO] [stdout] | [INFO] [stdout] 229 | Impl(a, b, c, d, e, f, v) => Impl(a, b, c, d, e, f, v.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mod` in this scope [INFO] [stdout] --> src/lib.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 230 | Mod(m) => Mod(m.trans(ctxt)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Const` in this scope [INFO] [stdout] --> src/lib.rs:240:38 [INFO] [stdout] | [INFO] [stdout] 240 | Const(ty, Some(expr)) => Const(ty, Some(expr.trans(ctxt))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Method` in this scope [INFO] [stdout] --> src/lib.rs:241:41 [INFO] [stdout] | [INFO] [stdout] 241 | Method(sig, Some(block)) => Method(sig, Some(block.trans(ctxt))), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Const` in this scope [INFO] [stdout] --> src/lib.rs:251:32 [INFO] [stdout] | [INFO] [stdout] 251 | Const(ty, expr) => Const(ty, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Method` in this scope [INFO] [stdout] --> src/lib.rs:252:35 [INFO] [stdout] | [INFO] [stdout] 252 | Method(sig, block) => Method(sig, block.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Local` in this scope [INFO] [stdout] --> src/lib.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | Local(l) => Local(l.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Item` in this scope [INFO] [stdout] --> src/lib.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 263 | Item(i) => Item(i.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Expr` in this scope [INFO] [stdout] --> src/lib.rs:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | Expr(e) => Expr(e.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Semi` in this scope [INFO] [stdout] --> src/lib.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | Semi(s) => Semi(s.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Lit` in this scope [INFO] [stdout] --> src/lib.rs:275:23 [INFO] [stdout] | [INFO] [stdout] 275 | Lit(l) => Lit(l.trans(ctxt)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/lib.rs:276:23 [INFO] [stdout] | [INFO] [stdout] 276 | Box(b) => Box(b.trans(ctxt)), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/boxed.rs:240:14 [INFO] [stdout] | [INFO] [stdout] = note: private field [INFO] [stdout] | [INFO] [stdout] = note: private field [INFO] [stdout] help: you might have meant to use an associated function to build this type [INFO] [stdout] | [INFO] [stdout] 276 | Box(b) => Box::new(_), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] 276 | Box(b) => Box::new_uninit(), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] 276 | Box(b) => Box::new_zeroed(), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] 276 | Box(b) => Box::new_in(_, _), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] and 10 other candidates [INFO] [stdout] help: consider using the `Default` trait [INFO] [stdout] | [INFO] [stdout] 276 | Box(b) => ::default(), [INFO] [stdout] | + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InPlace` in this scope [INFO] [stdout] --> src/lib.rs:277:30 [INFO] [stdout] | [INFO] [stdout] 277 | InPlace(a, b) => InPlace(a.trans(ctxt), b.trans(ctxt)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> src/lib.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 278 | Array(v) => Array(v.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MethodCall` in this scope [INFO] [stdout] --> src/lib.rs:280:33 [INFO] [stdout] | [INFO] [stdout] 280 | MethodCall(p, v) => MethodCall(p, v.trans(ctxt)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tup` in this scope [INFO] [stdout] --> src/lib.rs:281:23 [INFO] [stdout] | [INFO] [stdout] 281 | Tup(v) => Tup(v.trans(ctxt)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Binary` in this scope [INFO] [stdout] --> src/lib.rs:282:33 [INFO] [stdout] | [INFO] [stdout] 282 | Binary(op, l, r) => Binary(op, l.trans(ctxt), r.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Unary` in this scope [INFO] [stdout] --> src/lib.rs:283:32 [INFO] [stdout] | [INFO] [stdout] 283 | Unary(op, expr) => Unary(op, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Cast` in this scope [INFO] [stdout] --> src/lib.rs:284:31 [INFO] [stdout] | [INFO] [stdout] 284 | Cast(expr, ty) => Cast(expr.trans(ctxt), ty), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Type` in this scope [INFO] [stdout] --> src/lib.rs:285:31 [INFO] [stdout] | [INFO] [stdout] 285 | Type(expr, ty) => Type(expr.trans(ctxt), ty), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `If` in this scope [INFO] [stdout] --> src/lib.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | If(cond.trans(ctxt), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IfLet` in this scope [INFO] [stdout] --> src/lib.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | IfLet(pat, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `While` in this scope [INFO] [stdout] --> src/lib.rs:297:37 [INFO] [stdout] | [INFO] [stdout] 297 | While(cond, blk, si) => While(cond.trans(ctxt), blk.trans(ctxt), si), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WhileLet` in this scope [INFO] [stdout] --> src/lib.rs:298:43 [INFO] [stdout] | [INFO] [stdout] 298 | WhileLet(p, expr, blk, si) => WhileLet(p, expr.trans(ctxt), blk.trans(ctxt), si), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ForLoop` in this scope [INFO] [stdout] --> src/lib.rs:299:42 [INFO] [stdout] | [INFO] [stdout] 299 | ForLoop(p, expr, blk, si) => ForLoop(p, expr.trans(ctxt), blk.trans(ctxt), si), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Loop` in this scope [INFO] [stdout] --> src/lib.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | Loop(expr, si) => Loop(expr.trans(ctxt), si), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Closure` in this scope [INFO] [stdout] --> src/lib.rs:302:38 [INFO] [stdout] | [INFO] [stdout] 302 | Closure(c, p, blk, s) => Closure(c, p, blk.trans(ctxt), s), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Block` in this scope [INFO] [stdout] --> src/lib.rs:303:27 [INFO] [stdout] | [INFO] [stdout] 303 | Block(blk) => Block(blk.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Catch` in this scope [INFO] [stdout] --> src/lib.rs:304:27 [INFO] [stdout] | [INFO] [stdout] 304 | Catch(blk) => Catch(blk.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Assign` in this scope [INFO] [stdout] --> src/lib.rs:305:29 [INFO] [stdout] | [INFO] [stdout] 305 | Assign(a, b) => Assign(a.trans(ctxt), b.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AssignOp` in this scope [INFO] [stdout] --> src/lib.rs:306:39 [INFO] [stdout] | [INFO] [stdout] 306 | AssignOp(op, lhs, rhs) => AssignOp(op, lhs.trans(ctxt), rhs.trans(ctxt)), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TupField` in this scope [INFO] [stdout] --> src/lib.rs:308:37 [INFO] [stdout] | [INFO] [stdout] 308 | TupField(expr, span) => TupField(expr.trans(ctxt), span), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Index` in this scope [INFO] [stdout] --> src/lib.rs:309:28 [INFO] [stdout] | [INFO] [stdout] 309 | Index(a, b) => Index(a.trans(ctxt), b.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Range` in this scope [INFO] [stdout] --> src/lib.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | Range(lower.map(|i| i.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AddrOf` in this scope [INFO] [stdout] --> src/lib.rs:315:32 [INFO] [stdout] | [INFO] [stdout] 315 | AddrOf(m, expr) => AddrOf(m, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ret` in this scope [INFO] [stdout] --> src/lib.rs:317:25 [INFO] [stdout] | [INFO] [stdout] 317 | Ret(opt) => Ret(opt.map(|i| i.trans(ctxt))), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Struct` in this scope [INFO] [stdout] --> src/lib.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 318 | Struct(p, v, opt) => Struct(p, v.trans(ctxt), opt.map(|i| i.trans(ctxt))), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Repeat` in this scope [INFO] [stdout] --> src/lib.rs:319:29 [INFO] [stdout] | [INFO] [stdout] 319 | Repeat(a, b) => Repeat(a.trans(ctxt), b.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Paren` in this scope [INFO] [stdout] --> src/lib.rs:320:28 [INFO] [stdout] | [INFO] [stdout] 320 | Paren(expr) => Paren(expr.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Try` in this scope [INFO] [stdout] --> src/lib.rs:321:26 [INFO] [stdout] | [INFO] [stdout] 321 | Try(expr) => Try(expr.trans(ctxt)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/lib.rs:364:27 [INFO] [stdout] | [INFO] [stdout] 364 | node: LitKind::Str(Symbol::intern(&*new_string), StrStyle::Cooked), [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StrStyle` [INFO] [stdout] --> src/lib.rs:364:70 [INFO] [stdout] | [INFO] [stdout] 364 | node: LitKind::Str(Symbol::intern(&*new_string), StrStyle::Cooked), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StrStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Item` in this scope [INFO] [stdout] --> src/lib.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | Item(item) => Item(item.trans(ctxt)), [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists (notice the capitalization): `item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TraitItem` in this scope [INFO] [stdout] --> src/lib.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | TraitItem(item) => TraitItem(item.trans(ctxt)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ImplItem` in this scope [INFO] [stdout] --> src/lib.rs:216:31 [INFO] [stdout] | [INFO] [stdout] 216 | ImplItem(item) => ImplItem(item.trans(ctxt)), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> src/lib.rs:225:41 [INFO] [stdout] | [INFO] [stdout] 225 | Fn(a, b, c, d, e, block) => Fn(a, b, c, d, e, block.trans(ctxt)), [INFO] [stdout] | ^^ not a function, tuple struct or tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Const` in this scope [INFO] [stdout] --> src/lib.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | Const(ty, expr) => Const(ty, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Trait` in this scope [INFO] [stdout] --> src/lib.rs:228:35 [INFO] [stdout] | [INFO] [stdout] 228 | Trait(u, g, ty, v) => Trait(u, g, ty, v.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Impl` in this scope [INFO] [stdout] --> src/lib.rs:229:42 [INFO] [stdout] | [INFO] [stdout] 229 | Impl(a, b, c, d, e, f, v) => Impl(a, b, c, d, e, f, v.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mod` in this scope [INFO] [stdout] --> src/lib.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 230 | Mod(m) => Mod(m.trans(ctxt)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Const` in this scope [INFO] [stdout] --> src/lib.rs:240:38 [INFO] [stdout] | [INFO] [stdout] 240 | Const(ty, Some(expr)) => Const(ty, Some(expr.trans(ctxt))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Method` in this scope [INFO] [stdout] --> src/lib.rs:241:41 [INFO] [stdout] | [INFO] [stdout] 241 | Method(sig, Some(block)) => Method(sig, Some(block.trans(ctxt))), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Const` in this scope [INFO] [stdout] --> src/lib.rs:251:32 [INFO] [stdout] | [INFO] [stdout] 251 | Const(ty, expr) => Const(ty, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Method` in this scope [INFO] [stdout] --> src/lib.rs:252:35 [INFO] [stdout] | [INFO] [stdout] 252 | Method(sig, block) => Method(sig, block.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Local` in this scope [INFO] [stdout] --> src/lib.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | Local(l) => Local(l.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Item` in this scope [INFO] [stdout] --> src/lib.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 263 | Item(i) => Item(i.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Expr` in this scope [INFO] [stdout] --> src/lib.rs:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | Expr(e) => Expr(e.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Semi` in this scope [INFO] [stdout] --> src/lib.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | Semi(s) => Semi(s.trans(ctxt)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | MetaItemKind::List(..) => panic!("This plugin does not support list style attributes."), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/lib.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | MetaItemKind::Word => Symbol::intern("fizzbuzz"), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | MetaItemKind::NameValue(ref l) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Lit` in this scope [INFO] [stdout] --> src/lib.rs:275:23 [INFO] [stdout] | [INFO] [stdout] 275 | Lit(l) => Lit(l.trans(ctxt)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 150 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0423, E0425, E0432, E0433, E0462, E0463, E0531... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/lib.rs:276:23 [INFO] [stdout] | [INFO] [stdout] 276 | Box(b) => Box(b.trans(ctxt)), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/boxed.rs:240:14 [INFO] [stdout] | [INFO] [stdout] = note: private field [INFO] [stdout] | [INFO] [stdout] = note: private field [INFO] [stdout] help: you might have meant to use an associated function to build this type [INFO] [stdout] | [INFO] [stdout] 276 | Box(b) => Box::new(_), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] 276 | Box(b) => Box::new_uninit(), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] 276 | Box(b) => Box::new_zeroed(), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] 276 | Box(b) => Box::new_in(_, _), [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] and 10 other candidates [INFO] [stdout] help: consider using the `Default` trait [INFO] [stdout] | [INFO] [stdout] 276 | Box(b) => ::default(), [INFO] [stdout] | + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InPlace` in this scope [INFO] [stdout] --> src/lib.rs:277:30 [INFO] [stdout] | [INFO] [stdout] 277 | InPlace(a, b) => InPlace(a.trans(ctxt), b.trans(ctxt)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Array` in this scope [INFO] [stdout] --> src/lib.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 278 | Array(v) => Array(v.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MethodCall` in this scope [INFO] [stdout] --> src/lib.rs:280:33 [INFO] [stdout] | [INFO] [stdout] 280 | MethodCall(p, v) => MethodCall(p, v.trans(ctxt)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tup` in this scope [INFO] [stdout] --> src/lib.rs:281:23 [INFO] [stdout] | [INFO] [stdout] 281 | Tup(v) => Tup(v.trans(ctxt)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Binary` in this scope [INFO] [stdout] --> src/lib.rs:282:33 [INFO] [stdout] | [INFO] [stdout] 282 | Binary(op, l, r) => Binary(op, l.trans(ctxt), r.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Unary` in this scope [INFO] [stdout] --> src/lib.rs:283:32 [INFO] [stdout] | [INFO] [stdout] 283 | Unary(op, expr) => Unary(op, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Cast` in this scope [INFO] [stdout] --> src/lib.rs:284:31 [INFO] [stdout] | [INFO] [stdout] 284 | Cast(expr, ty) => Cast(expr.trans(ctxt), ty), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Type` in this scope [INFO] [stdout] --> src/lib.rs:285:31 [INFO] [stdout] | [INFO] [stdout] 285 | Type(expr, ty) => Type(expr.trans(ctxt), ty), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `If` in this scope [INFO] [stdout] --> src/lib.rs:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | If(cond.trans(ctxt), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IfLet` in this scope [INFO] [stdout] --> src/lib.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | IfLet(pat, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `While` in this scope [INFO] [stdout] --> src/lib.rs:297:37 [INFO] [stdout] | [INFO] [stdout] 297 | While(cond, blk, si) => While(cond.trans(ctxt), blk.trans(ctxt), si), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WhileLet` in this scope [INFO] [stdout] --> src/lib.rs:298:43 [INFO] [stdout] | [INFO] [stdout] 298 | WhileLet(p, expr, blk, si) => WhileLet(p, expr.trans(ctxt), blk.trans(ctxt), si), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ForLoop` in this scope [INFO] [stdout] --> src/lib.rs:299:42 [INFO] [stdout] | [INFO] [stdout] 299 | ForLoop(p, expr, blk, si) => ForLoop(p, expr.trans(ctxt), blk.trans(ctxt), si), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Loop` in this scope [INFO] [stdout] --> src/lib.rs:300:31 [INFO] [stdout] | [INFO] [stdout] 300 | Loop(expr, si) => Loop(expr.trans(ctxt), si), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Closure` in this scope [INFO] [stdout] --> src/lib.rs:302:38 [INFO] [stdout] | [INFO] [stdout] 302 | Closure(c, p, blk, s) => Closure(c, p, blk.trans(ctxt), s), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Block` in this scope [INFO] [stdout] --> src/lib.rs:303:27 [INFO] [stdout] | [INFO] [stdout] 303 | Block(blk) => Block(blk.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Catch` in this scope [INFO] [stdout] --> src/lib.rs:304:27 [INFO] [stdout] | [INFO] [stdout] 304 | Catch(blk) => Catch(blk.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Assign` in this scope [INFO] [stdout] --> src/lib.rs:305:29 [INFO] [stdout] | [INFO] [stdout] 305 | Assign(a, b) => Assign(a.trans(ctxt), b.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AssignOp` in this scope [INFO] [stdout] --> src/lib.rs:306:39 [INFO] [stdout] | [INFO] [stdout] 306 | AssignOp(op, lhs, rhs) => AssignOp(op, lhs.trans(ctxt), rhs.trans(ctxt)), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TupField` in this scope [INFO] [stdout] --> src/lib.rs:308:37 [INFO] [stdout] | [INFO] [stdout] 308 | TupField(expr, span) => TupField(expr.trans(ctxt), span), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Index` in this scope [INFO] [stdout] --> src/lib.rs:309:28 [INFO] [stdout] | [INFO] [stdout] 309 | Index(a, b) => Index(a.trans(ctxt), b.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Range` in this scope [INFO] [stdout] --> src/lib.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | Range(lower.map(|i| i.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AddrOf` in this scope [INFO] [stdout] --> src/lib.rs:315:32 [INFO] [stdout] | [INFO] [stdout] 315 | AddrOf(m, expr) => AddrOf(m, expr.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ret` in this scope [INFO] [stdout] --> src/lib.rs:317:25 [INFO] [stdout] | [INFO] [stdout] 317 | Ret(opt) => Ret(opt.map(|i| i.trans(ctxt))), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Struct` in this scope [INFO] [stdout] --> src/lib.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 318 | Struct(p, v, opt) => Struct(p, v.trans(ctxt), opt.map(|i| i.trans(ctxt))), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Repeat` in this scope [INFO] [stdout] --> src/lib.rs:319:29 [INFO] [stdout] | [INFO] [stdout] 319 | Repeat(a, b) => Repeat(a.trans(ctxt), b.trans(ctxt)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Paren` in this scope [INFO] [stdout] --> src/lib.rs:320:28 [INFO] [stdout] | [INFO] [stdout] 320 | Paren(expr) => Paren(expr.trans(ctxt)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Try` in this scope [INFO] [stdout] --> src/lib.rs:321:26 [INFO] [stdout] | [INFO] [stdout] 321 | Try(expr) => Try(expr.trans(ctxt)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustplacements` (lib) due to 151 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/lib.rs:364:27 [INFO] [stdout] | [INFO] [stdout] 364 | node: LitKind::Str(Symbol::intern(&*new_string), StrStyle::Cooked), [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StrStyle` [INFO] [stdout] --> src/lib.rs:364:70 [INFO] [stdout] | [INFO] [stdout] 364 | node: LitKind::Str(Symbol::intern(&*new_string), StrStyle::Cooked), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StrStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/lib.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | MetaItemKind::List(..) => panic!("This plugin does not support list style attributes."), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/lib.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | MetaItemKind::Word => Symbol::intern("fizzbuzz"), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | MetaItemKind::NameValue(ref l) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 150 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0423, E0425, E0432, E0433, E0462, E0463, E0531... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustplacements` (lib test) due to 151 previous errors [INFO] running `Command { std: "docker" "inspect" "cd0a35ac3ac403d3c2b52d63c521007f557fcb3186d42523676b9877e3df61e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd0a35ac3ac403d3c2b52d63c521007f557fcb3186d42523676b9877e3df61e8", kill_on_drop: false }` [INFO] [stdout] cd0a35ac3ac403d3c2b52d63c521007f557fcb3186d42523676b9877e3df61e8 [INFO] checking rustplacements-0.1.0 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate rustplacements 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate rustplacements 0.1.0 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustplacements 0.1.0 [INFO] finished tweaking crates.io crate rustplacements 0.1.0 [INFO] tweaked toml for crates.io crate rustplacements 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.4.0) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: support for rustc plugins has been removed from rustc. library `rustplacements` should not specify `plugin = true` [INFO] [stderr] warning: support for `plugin = true` will be removed from cargo in the future [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4ea5cc7706d3f66a859f01c0b54597cd9aaf69272da79014d31e42c6ff4c657 [INFO] running `Command { std: "docker" "start" "-a" "e4ea5cc7706d3f66a859f01c0b54597cd9aaf69272da79014d31e42c6ff4c657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4ea5cc7706d3f66a859f01c0b54597cd9aaf69272da79014d31e42c6ff4c657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4ea5cc7706d3f66a859f01c0b54597cd9aaf69272da79014d31e42c6ff4c657", kill_on_drop: false }` [INFO] [stdout] e4ea5cc7706d3f66a859f01c0b54597cd9aaf69272da79014d31e42c6ff4c657 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74addc6ae4a67dcf7d78461ed5cb13492f1522ad22f154c10e3d3ea7e0289fed [INFO] running `Command { std: "docker" "start" "-a" "74addc6ae4a67dcf7d78461ed5cb13492f1522ad22f154c10e3d3ea7e0289fed", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "74addc6ae4a67dcf7d78461ed5cb13492f1522ad22f154c10e3d3ea7e0289fed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74addc6ae4a67dcf7d78461ed5cb13492f1522ad22f154c10e3d3ea7e0289fed", kill_on_drop: false }` [INFO] [stdout] 74addc6ae4a67dcf7d78461ed5cb13492f1522ad22f154c10e3d3ea7e0289fed