[INFO] fetching crate copypasteck 0.1.4... [INFO] testing copypasteck-0.1.4 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate copypasteck 0.1.4 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate copypasteck 0.1.4 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate copypasteck 0.1.4 [INFO] finished tweaking crates.io crate copypasteck 0.1.4 [INFO] tweaked toml for crates.io crate copypasteck 0.1.4 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] efc4d47d1f307f4b4e9037621145755284899bb51455545da1602709f45c8dc4 [INFO] running `Command { std: "docker" "start" "-a" "efc4d47d1f307f4b4e9037621145755284899bb51455545da1602709f45c8dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efc4d47d1f307f4b4e9037621145755284899bb51455545da1602709f45c8dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efc4d47d1f307f4b4e9037621145755284899bb51455545da1602709f45c8dc4", kill_on_drop: false }` [INFO] [stdout] efc4d47d1f307f4b4e9037621145755284899bb51455545da1602709f45c8dc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb4414354d78bb10b5bc87f05fcfd21510ad1b4c56a6917b91bc48eafe65dfbf [INFO] running `Command { std: "docker" "start" "-a" "eb4414354d78bb10b5bc87f05fcfd21510ad1b4c56a6917b91bc48eafe65dfbf", kill_on_drop: false }` [INFO] [stderr] Compiling copypasteck v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin_registrar)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: a __rustc_plugin_registrar symbol must now be defined instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/lib.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/lib.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.tsan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope [INFO] [stdout] --> src/lib.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[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 macro `declare_lint` in this scope [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | declare_lint! { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lint_array` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | lint_array!(COPY_PASTE) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/hasher.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn hash_expr(e: &ast::Expr) -> u64 { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | visit::walk_expr(&mut visit, e); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/hasher.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn hash_block(b: &ast::Block) -> u64 { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | visit::walk_block(&mut visit, b); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | SawIdent(token::InternedString), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | SawStructDef(token::InternedString), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | SawLifetimeRef(token::InternedString), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | SawLifetimeDef(token::InternedString), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 116 | SawExprLoop(Option), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | SawExprField(token::InternedString), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | SawExprBreak(Option), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | SawExprAgain(Option), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/hasher.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | SawExprBinary(ast::BinOp), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/hasher.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | SawExprUnary(ast::UnOp), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/hasher.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | SawExprLit(ast::Lit_), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/hasher.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | SawExprAssignOp(ast::BinOp), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/hasher.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | SawExprAddrOf(ast::Mutability), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/hasher.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | SawExprInlineAsm(&'a ast::InlineAsm), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:211:43 [INFO] [stdout] | [INFO] [stdout] 211 | trait InternKey { fn get_content(self) -> token::InternedString; } [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 213 | fn get_content(self) -> token::InternedString { token::get_ident(self) } [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:213:53 [INFO] [stdout] | [INFO] [stdout] 213 | fn get_content(self) -> token::InternedString { token::get_ident(self) } [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:216:29 [INFO] [stdout] | [INFO] [stdout] 216 | fn get_content(self) -> token::InternedString { token::get_name(self) } [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:216:53 [INFO] [stdout] | [INFO] [stdout] 216 | fn get_content(self) -> token::InternedString { token::get_name(self) } [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:218:34 [INFO] [stdout] | [INFO] [stdout] 218 | fn content(k: K) -> token::InternedString { k.get_content() } [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/hasher.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | pprust::to_string(|pp_state| pp_state.print_mac(mac, token::Paren)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:236:70 [INFO] [stdout] | [INFO] [stdout] 236 | pprust::to_string(|pp_state| pp_state.print_mac(mac, token::Paren)); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/hasher.rs:242:19 [INFO] [stdout] | [INFO] [stdout] 242 | pprust::to_string(|pp_state| pp_state.print_mac(mac, token::Paren))); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:242:72 [INFO] [stdout] | [INFO] [stdout] 242 | pprust::to_string(|pp_state| pp_state.print_mac(mac, token::Paren))); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | visit::walk_mac(self, mac); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/hasher.rs:247:37 [INFO] [stdout] | [INFO] [stdout] 247 | fn macro_name(mac: &Mac) -> token::InternedString { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | visit::walk_generics(self, g); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | visit::walk_struct_def(self, s) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | visit::walk_generics(self, g); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | visit::walk_variant(self, v, g) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:315:52 [INFO] [stdout] | [INFO] [stdout] 315 | SawExpr(saw_expr(&ex.node)).hash(self.st); visit::walk_expr(self, ex) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:319:51 [INFO] [stdout] | [INFO] [stdout] 319 | SawStmt(saw_stmt(&s.node)).hash(self.st); visit::walk_stmt(self, s) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:327:39 [INFO] [stdout] | [INFO] [stdout] 327 | SawForeignItem.hash(self.st); visit::walk_foreign_item(self, i) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:335:32 [INFO] [stdout] | [INFO] [stdout] 335 | SawItem.hash(self.st); visit::walk_item(self, i) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:339:31 [INFO] [stdout] | [INFO] [stdout] 339 | SawMod.hash(self.st); visit::walk_mod(self, m) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:343:32 [INFO] [stdout] | [INFO] [stdout] 343 | SawDecl.hash(self.st); visit::walk_decl(self, d) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:347:30 [INFO] [stdout] | [INFO] [stdout] 347 | SawTy.hash(self.st); visit::walk_ty(self, t) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:351:36 [INFO] [stdout] | [INFO] [stdout] 351 | SawGenerics.hash(self.st); visit::walk_generics(self, g) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:356:30 [INFO] [stdout] | [INFO] [stdout] 356 | SawFn.hash(self.st); visit::walk_fn(self, fk, fd, b, s) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:360:36 [INFO] [stdout] | [INFO] [stdout] 360 | SawTyMethod.hash(self.st); visit::walk_ty_method(self, t) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:364:39 [INFO] [stdout] | [INFO] [stdout] 364 | SawTraitMethod.hash(self.st); visit::walk_trait_item(self, t) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:368:39 [INFO] [stdout] | [INFO] [stdout] 368 | SawStructField.hash(self.st); visit::walk_struct_field(self, s) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:372:40 [INFO] [stdout] | [INFO] [stdout] 372 | SawExplicitSelf.hash(self.st); visit::walk_explicit_self(self, es) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/hasher.rs:375:46 [INFO] [stdout] | [INFO] [stdout] 375 | fn visit_path(&mut self, path: &Path, _: ast::NodeId) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:376:32 [INFO] [stdout] | [INFO] [stdout] 376 | SawPath.hash(self.st); visit::walk_path(self, path) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:380:33 [INFO] [stdout] | [INFO] [stdout] 380 | SawBlock.hash(self.st); visit::walk_block(self, b) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:384:31 [INFO] [stdout] | [INFO] [stdout] 384 | SawPat.hash(self.st); visit::walk_pat(self, p) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:388:33 [INFO] [stdout] | [INFO] [stdout] 388 | SawLocal.hash(self.st); visit::walk_local(self, l) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/hasher.rs:392:31 [INFO] [stdout] | [INFO] [stdout] 392 | SawArm.hash(self.st); visit::walk_arm(self, a) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:46:48 [INFO] [stdout] | [INFO] [stdout] 46 | fn check_expr(&mut self, cx: &Context, e: &ast::Expr) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | ast::ExprIf(ref cond, ref block, ref trailing @ Some(_)) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | ast::ExprMatch(_, ref arms, _) => check_match(cx, arms.as_slice()), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lint` [INFO] [stdout] --> src/lib.rs:98:60 [INFO] [stdout] | [INFO] [stdout] 98 | if *other_s == s && cx.current_level(COPY_PASTE) > lint::Allow { [INFO] [stdout] | ^^^^ use of undeclared crate or module `lint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | mut cond: &'a ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:113:27 [INFO] [stdout] | [INFO] [stdout] 113 | mut body: &'a ast::Block, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:114:36 [INFO] [stdout] | [INFO] [stdout] 114 | mut next: &'a Option>) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | ast::ExprBlock(ref body) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | ast::ExprIf(ref next_cond, ref next_body, ref next_next) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | arms: &[ast::Arm]) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | impl SourceObject for ast::Block { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/lib.rs:172:34 [INFO] [stdout] | [INFO] [stdout] 172 | fn string(&self) -> String { pprust::block_to_string(self) } [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | impl SourceObject for ast::Expr { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/lib.rs:177:34 [INFO] [stdout] | [INFO] [stdout] 177 | fn string(&self) -> String { pprust::expr_to_string(self) } [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:192:35 [INFO] [stdout] | [INFO] [stdout] 192 | impl<'a> SourceObject for (&'a [P], &'a Option>) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/lib.rs:192:60 [INFO] [stdout] | [INFO] [stdout] 192 | impl<'a> SourceObject for (&'a [P], &'a Option>) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/lib.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | visit::walk_pat(&mut visit, &**p) [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/lib.rs:205:32 [INFO] [stdout] | [INFO] [stdout] 205 | Some(ref e) => visit::walk_expr(&mut visit, &**e), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/lib.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | .map(|p| pprust::pat_to_string(&**p)).collect::>().connect(" | "); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr_` in this scope [INFO] [stdout] --> src/hasher.rs:151:27 [INFO] [stdout] | [INFO] [stdout] 151 | fn saw_expr<'a>(node: &'a Expr_) -> SawExprComponent<'a> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBox` in this scope [INFO] [stdout] --> src/hasher.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | ExprBox(..) => SawExprBox, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprVec` in this scope [INFO] [stdout] --> src/hasher.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | ExprVec(..) => SawExprVec, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprCall` in this scope [INFO] [stdout] --> src/hasher.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | ExprCall(..) => SawExprCall, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMethodCall` in this scope [INFO] [stdout] --> src/hasher.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | ExprMethodCall(..) => SawExprMethodCall, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprTup` in this scope [INFO] [stdout] --> src/hasher.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | ExprTup(..) => SawExprTup, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBinary` in this scope [INFO] [stdout] --> src/hasher.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 127 | SawExprBinary(ast::BinOp), [INFO] [stdout] | ------------------------- similarly named tuple variant `SawExprBinary` defined here [INFO] [stdout] ... [INFO] [stdout] 158 | ExprBinary(op, _, _) => SawExprBinary(op), [INFO] [stdout] | ^^^^^^^^^^ help: a tuple variant with a similar name exists: `SawExprBinary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprUnary` in this scope [INFO] [stdout] --> src/hasher.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 128 | SawExprUnary(ast::UnOp), [INFO] [stdout] | ----------------------- similarly named tuple variant `SawExprUnary` defined here [INFO] [stdout] ... [INFO] [stdout] 159 | ExprUnary(op, _) => SawExprUnary(op), [INFO] [stdout] | ^^^^^^^^^ help: a tuple variant with a similar name exists: `SawExprUnary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLit` in this scope [INFO] [stdout] --> src/hasher.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | ExprLit(ref lit) => SawExprLit(lit.node.clone()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprCast` in this scope [INFO] [stdout] --> src/hasher.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | ExprCast(..) => SawExprCast, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprIf` in this scope [INFO] [stdout] --> src/hasher.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | ExprIf(..) => SawExprIf, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprWhile` in this scope [INFO] [stdout] --> src/hasher.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | ExprWhile(..) => SawExprWhile, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprLoop` in this scope [INFO] [stdout] --> src/hasher.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | ExprLoop(_, id) => SawExprLoop(id.map(content)), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMatch` in this scope [INFO] [stdout] --> src/hasher.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | ExprMatch(..) => SawExprMatch, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprClosure` in this scope [INFO] [stdout] --> src/hasher.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | ExprClosure(..) => SawExprClosure, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBlock` in this scope [INFO] [stdout] --> src/hasher.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | ExprBlock(..) => SawExprBlock, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprAssign` in this scope [INFO] [stdout] --> src/hasher.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | ExprAssign(..) => SawExprAssign, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprAssignOp` in this scope [INFO] [stdout] --> src/hasher.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 137 | SawExprAssignOp(ast::BinOp), [INFO] [stdout] | --------------------------- similarly named tuple variant `SawExprAssignOp` defined here [INFO] [stdout] ... [INFO] [stdout] 169 | ExprAssignOp(op, _, _) => SawExprAssignOp(op), [INFO] [stdout] | ^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `SawExprAssignOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprField` in this scope [INFO] [stdout] --> src/hasher.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 117 | SawExprField(token::InternedString), [INFO] [stdout] | ----------------------------------- similarly named tuple variant `SawExprField` defined here [INFO] [stdout] ... [INFO] [stdout] 170 | ExprField(_, id) => SawExprField(content(id.node)), [INFO] [stdout] | ^^^^^^^^^ help: a tuple variant with a similar name exists: `SawExprField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprTupField` in this scope [INFO] [stdout] --> src/hasher.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 118 | SawExprTupField(usize), [INFO] [stdout] | ---------------------- similarly named tuple variant `SawExprTupField` defined here [INFO] [stdout] ... [INFO] [stdout] 171 | ExprTupField(_, id) => SawExprTupField(id.node), [INFO] [stdout] | ^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `SawExprTupField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprIndex` in this scope [INFO] [stdout] --> src/hasher.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | ExprIndex(..) => SawExprIndex, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprRange` in this scope [INFO] [stdout] --> src/hasher.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | ExprRange(..) => SawExprRange, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprPath` in this scope [INFO] [stdout] --> src/hasher.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | ExprPath(..) => SawExprPath, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprAddrOf` in this scope [INFO] [stdout] --> src/hasher.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 142 | SawExprAddrOf(ast::Mutability), [INFO] [stdout] | ------------------------------ similarly named tuple variant `SawExprAddrOf` defined here [INFO] [stdout] ... [INFO] [stdout] 175 | ExprAddrOf(m, _) => SawExprAddrOf(m), [INFO] [stdout] | ^^^^^^^^^^ help: a tuple variant with a similar name exists: `SawExprAddrOf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprQPath` in this scope [INFO] [stdout] --> src/hasher.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | ExprQPath(..) => SawExprQPath, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprBreak` in this scope [INFO] [stdout] --> src/hasher.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 119 | SawExprBreak(Option), [INFO] [stdout] | ------------------------------------------- similarly named tuple variant `SawExprBreak` defined here [INFO] [stdout] ... [INFO] [stdout] 177 | ExprBreak(id) => SawExprBreak(id.map(content)), [INFO] [stdout] | ^^^^^^^^^ help: a tuple variant with a similar name exists: `SawExprBreak` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprAgain` in this scope [INFO] [stdout] --> src/hasher.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 120 | SawExprAgain(Option), [INFO] [stdout] | ------------------------------------------- similarly named tuple variant `SawExprAgain` defined here [INFO] [stdout] ... [INFO] [stdout] 178 | ExprAgain(id) => SawExprAgain(id.map(content)), [INFO] [stdout] | ^^^^^^^^^ help: a tuple variant with a similar name exists: `SawExprAgain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprRet` in this scope [INFO] [stdout] --> src/hasher.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | ExprRet(..) => SawExprRet, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprInlineAsm` in this scope [INFO] [stdout] --> src/hasher.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 144 | SawExprInlineAsm(&'a ast::InlineAsm), [INFO] [stdout] | ------------------------------------ similarly named tuple variant `SawExprInlineAsm` defined here [INFO] [stdout] ... [INFO] [stdout] 180 | ExprInlineAsm(ref asm) => SawExprInlineAsm(asm), [INFO] [stdout] | ^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `SawExprInlineAsm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprStruct` in this scope [INFO] [stdout] --> src/hasher.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | ExprStruct(..) => SawExprStruct, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprRepeat` in this scope [INFO] [stdout] --> src/hasher.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | ExprRepeat(..) => SawExprRepeat, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprParen` in this scope [INFO] [stdout] --> src/hasher.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | ExprParen(..) => SawExprParen, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprForLoop` in this scope [INFO] [stdout] --> src/hasher.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | ExprForLoop(..) => SawExprForLoop, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprIfLet` in this scope [INFO] [stdout] --> src/hasher.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | ExprIfLet(..) => unreachable!(), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprWhileLet` in this scope [INFO] [stdout] --> src/hasher.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | ExprWhileLet(..) => unreachable!(), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ExprMac` in this scope [INFO] [stdout] --> src/hasher.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | ExprMac(..) => unreachable!(), [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/hasher.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | fn saw_stmt(node: &Stmt_) -> SawStmtComponent { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtDecl` in this scope [INFO] [stdout] --> src/hasher.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | StmtDecl(..) => SawStmtDecl, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtExpr` in this scope [INFO] [stdout] --> src/hasher.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | StmtExpr(..) => SawStmtExpr, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtSemi` in this scope [INFO] [stdout] --> src/hasher.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | StmtSemi(..) => SawStmtSemi, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StmtMac` in this scope [INFO] [stdout] --> src/hasher.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | StmtMac(..) => unreachable!(), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> src/hasher.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | impl InternKey for Ident { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> src/hasher.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | impl InternKey for Name { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Visitor` in this scope [INFO] [stdout] --> src/hasher.rs:220:14 [INFO] [stdout] | [INFO] [stdout] 220 | impl<'a, 'v> Visitor<'v> for StrictVersionHashVisitor<'a> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mac` in this scope [INFO] [stdout] --> src/hasher.rs:222:35 [INFO] [stdout] | [INFO] [stdout] 222 | fn visit_mac(&mut self, mac: &Mac) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mac` in this scope [INFO] [stdout] --> src/hasher.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 247 | fn macro_name(mac: &Mac) -> token::InternedString { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MacInvocTT` in this scope [INFO] [stdout] --> src/hasher.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 249 | &MacInvocTT(ref path, ref _tts, ref _stx_ctxt) => { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StructDef` in this scope [INFO] [stdout] --> src/hasher.rs:258:40 [INFO] [stdout] | [INFO] [stdout] 258 | fn visit_struct_def(&mut self, s: &StructDef, ident: Ident, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> src/hasher.rs:258:58 [INFO] [stdout] | [INFO] [stdout] 258 | fn visit_struct_def(&mut self, s: &StructDef, ident: Ident, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Generics` in this scope [INFO] [stdout] --> src/hasher.rs:259:29 [INFO] [stdout] | [INFO] [stdout] 259 | g: &Generics, _: NodeId) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> src/hasher.rs:259:42 [INFO] [stdout] | [INFO] [stdout] 259 | g: &Generics, _: NodeId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Variant` in this scope [INFO] [stdout] --> src/hasher.rs:265:37 [INFO] [stdout] | [INFO] [stdout] 265 | fn visit_variant(&mut self, v: &Variant, g: &Generics) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Generics` in this scope [INFO] [stdout] --> src/hasher.rs:265:50 [INFO] [stdout] | [INFO] [stdout] 265 | fn visit_variant(&mut self, v: &Variant, g: &Generics) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/hasher.rs:272:45 [INFO] [stdout] | [INFO] [stdout] 272 | fn visit_opt_lifetime_ref(&mut self, _: Span, l: &Option) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lifetime` in this scope [INFO] [stdout] --> src/hasher.rs:272:62 [INFO] [stdout] | [INFO] [stdout] 220 | impl<'a, 'v> Visitor<'v> for StrictVersionHashVisitor<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, Lifetime` [INFO] [stdout] ... [INFO] [stdout] 272 | fn visit_opt_lifetime_ref(&mut self, _: Span, l: &Option) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/hasher.rs:297:34 [INFO] [stdout] | [INFO] [stdout] 297 | fn visit_ident(&mut self, _: Span, ident: Ident) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ident` in this scope [INFO] [stdout] --> src/hasher.rs:297:47 [INFO] [stdout] | [INFO] [stdout] 297 | fn visit_ident(&mut self, _: Span, ident: Ident) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lifetime` in this scope [INFO] [stdout] --> src/hasher.rs:301:42 [INFO] [stdout] | [INFO] [stdout] 301 | fn visit_lifetime_ref(&mut self, l: &Lifetime) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LifetimeDef` in this scope [INFO] [stdout] --> src/hasher.rs:305:42 [INFO] [stdout] | [INFO] [stdout] 305 | fn visit_lifetime_def(&mut self, l: &LifetimeDef) { [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/hasher.rs:314:35 [INFO] [stdout] | [INFO] [stdout] 314 | fn visit_expr(&mut self, ex: &Expr) { [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/hasher.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 318 | fn visit_stmt(&mut self, s: &Stmt) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ForeignItem` in this scope [INFO] [stdout] --> src/hasher.rs:322:42 [INFO] [stdout] | [INFO] [stdout] 322 | fn visit_foreign_item(&mut self, i: &ForeignItem) { [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/hasher.rs:330:34 [INFO] [stdout] | [INFO] [stdout] 330 | fn visit_item(&mut self, i: &Item) { [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/hasher.rs:338:33 [INFO] [stdout] | [INFO] [stdout] 338 | fn visit_mod(&mut self, m: &Mod, _s: Span, _n: NodeId) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/hasher.rs:338:42 [INFO] [stdout] | [INFO] [stdout] 338 | fn visit_mod(&mut self, m: &Mod, _s: Span, _n: NodeId) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> src/hasher.rs:338:52 [INFO] [stdout] | [INFO] [stdout] 338 | fn visit_mod(&mut self, m: &Mod, _s: Span, _n: NodeId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decl` in this scope [INFO] [stdout] --> src/hasher.rs:342:34 [INFO] [stdout] | [INFO] [stdout] 342 | fn visit_decl(&mut self, d: &Decl) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/hasher.rs:346:32 [INFO] [stdout] | [INFO] [stdout] 346 | fn visit_ty(&mut self, t: &Ty) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Generics` in this scope [INFO] [stdout] --> src/hasher.rs:350:38 [INFO] [stdout] | [INFO] [stdout] 350 | fn visit_generics(&mut self, g: &Generics) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnKind` in this scope [INFO] [stdout] --> src/hasher.rs:354:32 [INFO] [stdout] | [INFO] [stdout] 354 | fn visit_fn(&mut self, fk: FnKind<'v>, fd: &'v FnDecl, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FnDecl` in this scope [INFO] [stdout] --> src/hasher.rs:354:52 [INFO] [stdout] | [INFO] [stdout] 354 | fn visit_fn(&mut self, fk: FnKind<'v>, fd: &'v FnDecl, [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/hasher.rs:355:24 [INFO] [stdout] | [INFO] [stdout] 355 | b: &'v Block, s: Span, _: NodeId) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/hasher.rs:355:34 [INFO] [stdout] | [INFO] [stdout] 355 | b: &'v Block, s: Span, _: NodeId) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> src/hasher.rs:355:43 [INFO] [stdout] | [INFO] [stdout] 355 | b: &'v Block, s: Span, _: NodeId) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TypeMethod` in this scope [INFO] [stdout] --> src/hasher.rs:359:39 [INFO] [stdout] | [INFO] [stdout] 359 | fn visit_ty_method(&mut self, t: &TypeMethod) { [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/hasher.rs:363:40 [INFO] [stdout] | [INFO] [stdout] 363 | fn visit_trait_item(&mut self, t: &TraitItem) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StructField` in this scope [INFO] [stdout] --> src/hasher.rs:367:42 [INFO] [stdout] | [INFO] [stdout] 367 | fn visit_struct_field(&mut self, s: &StructField) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExplicitSelf` in this scope [INFO] [stdout] --> src/hasher.rs:371:44 [INFO] [stdout] | [INFO] [stdout] 371 | fn visit_explicit_self(&mut self, es: &ExplicitSelf) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/hasher.rs:375:37 [INFO] [stdout] | [INFO] [stdout] 375 | fn visit_path(&mut self, path: &Path, _: ast::NodeId) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> src/hasher.rs:379:35 [INFO] [stdout] | [INFO] [stdout] 379 | fn visit_block(&mut self, b: &Block) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pat` in this scope [INFO] [stdout] --> src/hasher.rs:383:33 [INFO] [stdout] | [INFO] [stdout] 383 | fn visit_pat(&mut self, p: &Pat) { [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/hasher.rs:387:35 [INFO] [stdout] | [INFO] [stdout] 387 | fn visit_local(&mut self, l: &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/hasher.rs:391:33 [INFO] [stdout] | [INFO] [stdout] 391 | fn visit_arm(&mut self, a: &Arm) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> src/lib.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn plugin_registrar(reg: &mut Registry) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `NodeSet` in this scope [INFO] [stdout] --> src/lib.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | reg.register_lint_pass(Box::new(CopyPaste { checked_ifs: NodeSet() })); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeSet` in this scope [INFO] [stdout] --> src/lib.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | checked_ifs: NodeSet, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LintPass` in this scope [INFO] [stdout] --> src/lib.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | impl LintPass for CopyPaste { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LintArray` in this scope [INFO] [stdout] --> src/lib.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_lints(&self) -> LintArray { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | fn check_expr(&mut self, cx: &Context, e: &ast::Expr) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | fn check_and_insert(cx: &Context, seen: &mut Map, val: T, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COPY_PASTE` in this scope [INFO] [stdout] --> src/lib.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 98 | if *other_s == s && cx.current_level(COPY_PASTE) > lint::Allow { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COPY_PASTE` in this scope [INFO] [stdout] --> src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | cx.span_lint(COPY_PASTE, val.span(), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | fn check_if<'a>(cx: &Context, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeSet` in this scope [INFO] [stdout] --> src/lib.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | checked: &mut NodeSet, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/lib.rs:114:34 [INFO] [stdout] | [INFO] [stdout] 114 | mut next: &'a Option>) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | fn check_match(cx: &Context, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/lib.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | fn span(&self) -> Span; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/lib.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | fn span(&self) -> Span { self.span } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/lib.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | fn span(&self) -> Span { self.span } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/lib.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | fn span(&self) -> Span { SourceObject::span(*self) } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/lib.rs:185:40 [INFO] [stdout] | [INFO] [stdout] 185 | impl SourceObject for P { [INFO] [stdout] | - ^ help: a type parameter with a similar name exists: `S` [INFO] [stdout] | | [INFO] [stdout] | similarly named type parameter `S` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/lib.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | fn span(&self) -> Span { SourceObject::span(&**self) } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/lib.rs:192:33 [INFO] [stdout] | [INFO] [stdout] 192 | impl<'a> SourceObject for (&'a [P], &'a Option>) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/lib.rs:192:58 [INFO] [stdout] | [INFO] [stdout] 192 | impl<'a> SourceObject for (&'a [P], &'a Option>) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/lib.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | fn span(&self) -> Span { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `BytePos` in this scope [INFO] [stdout] --> src/lib.rs:221:28 [INFO] [stdout] | [INFO] [stdout] 221 | .map(|p| { let BytePos(x) = p.span.lo; x }) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/lib.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | let Span { lo: BytePos(x), hi: BytePos(y), .. } = e.span; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `BytePos` in this scope [INFO] [stdout] --> src/lib.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | let Span { lo: BytePos(x), hi: BytePos(y), .. } = e.span; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `BytePos` in this scope [INFO] [stdout] --> src/lib.rs:227:48 [INFO] [stdout] | [INFO] [stdout] 227 | let Span { lo: BytePos(x), hi: BytePos(y), .. } = e.span; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Span` in this scope [INFO] [stdout] --> src/lib.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | Span { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BytePos` in this scope [INFO] [stdout] --> src/lib.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | lo: BytePos(low), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BytePos` in this scope [INFO] [stdout] --> src/lib.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | hi: BytePos(high), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::hash::SipHasher`: use `std::collections::hash_map::DefaultHasher` instead [INFO] [stdout] --> src/lib.rs:198:31 [INFO] [stdout] | [INFO] [stdout] 198 | let mut state = hash::SipHasher::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::hash::SipHasher`: use `std::collections::hash_map::DefaultHasher` instead [INFO] [stdout] --> src/hasher.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use std::hash::{Hash, SipHasher, Hasher}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::hash::SipHasher`: use `std::collections::hash_map::DefaultHasher` instead [INFO] [stdout] --> src/hasher.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let mut state = SipHasher::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::hash::SipHasher`: use `std::collections::hash_map::DefaultHasher` instead [INFO] [stdout] --> src/hasher.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | let mut state = SipHasher::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::hash::SipHasher`: use `std::collections::hash_map::DefaultHasher` instead [INFO] [stdout] --> src/hasher.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | pub st: &'a mut SipHasher, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::hash::SipHasher`: use `std::collections::hash_map::DefaultHasher` instead [INFO] [stdout] --> src/hasher.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn make<'a>(st: &'a mut SipHasher) -> StrictVersionHashVisitor<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 190 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0433, E0463, E0531, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `copypasteck` due to 191 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eb4414354d78bb10b5bc87f05fcfd21510ad1b4c56a6917b91bc48eafe65dfbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb4414354d78bb10b5bc87f05fcfd21510ad1b4c56a6917b91bc48eafe65dfbf", kill_on_drop: false }` [INFO] [stdout] eb4414354d78bb10b5bc87f05fcfd21510ad1b4c56a6917b91bc48eafe65dfbf