[INFO] cloning repository https://github.com/rustanlys/rupta [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rustanlys/rupta" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustanlys%2Frupta", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustanlys%2Frupta'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b19f187e9cbe37b5afb1103d88b663253e1f0a03 [INFO] checking rustanlys/rupta against 8006091eb71ae7d9e9bccb66c6122c9d68af4466 for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustanlys%2Frupta" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/rustanlys/rupta [INFO] finished tweaking git repo https://github.com/rustanlys/rupta [INFO] tweaked toml for git repo https://github.com/rustanlys/rupta written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rustanlys/rupta on toolchain 8006091eb71ae7d9e9bccb66c6122c9d68af4466 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rustanlys/rupta already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shellwords v1.1.0 [INFO] [stderr] Downloaded clap_lex v0.2.4 [INFO] [stderr] Downloaded fixedbitset v0.4.1 [INFO] [stderr] Downloaded rustc_tools_util v0.2.0 [INFO] [stderr] Downloaded log-derive v0.3.2 [INFO] [stderr] Downloaded serde v1.0.137 [INFO] [stderr] Downloaded env_logger v0.6.2 [INFO] [stderr] Downloaded os_str_bytes v6.6.1 [INFO] [stderr] Downloaded semver v1.0.9 [INFO] [stderr] Downloaded camino v1.0.9 [INFO] [stderr] Downloaded unicode-ident v1.0.0 [INFO] [stderr] Downloaded quote v1.0.18 [INFO] [stderr] Downloaded proc-macro2 v1.0.39 [INFO] [stderr] Downloaded archery v0.4.0 [INFO] [stderr] Downloaded serde_derive v1.0.137 [INFO] [stderr] Downloaded indexmap v1.8.2 [INFO] [stderr] Downloaded textwrap v0.16.0 [INFO] [stderr] Downloaded anyhow v1.0.57 [INFO] [stderr] Downloaded crossbeam-utils v0.8.19 [INFO] [stderr] Downloaded rpds v0.11.0 [INFO] [stderr] Downloaded rayon-core v1.10.2 [INFO] [stderr] Downloaded crossbeam-channel v0.5.12 [INFO] [stderr] Downloaded serde_json v1.0.81 [INFO] [stderr] Downloaded syn v1.0.95 [INFO] [stderr] Downloaded rayon v1.6.1 [INFO] [stderr] Downloaded petgraph v0.6.2 [INFO] [stderr] Downloaded clap v3.2.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 68dd74dce9f204b0101fff31c164d89c10a233a91aa6949ed0c2772c33a7ceee [INFO] running `Command { std: "docker" "start" "68dd74dce9f204b0101fff31c164d89c10a233a91aa6949ed0c2772c33a7ceee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68dd74dce9f204b0101fff31c164d89c10a233a91aa6949ed0c2772c33a7ceee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "68dd74dce9f204b0101fff31c164d89c10a233a91aa6949ed0c2772c33a7ceee" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68dd74dce9f204b0101fff31c164d89c10a233a91aa6949ed0c2772c33a7ceee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "68dd74dce9f204b0101fff31c164d89c10a233a91aa6949ed0c2772c33a7ceee" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling rayon-core v1.10.2 [INFO] [stderr] Compiling camino v1.0.9 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking archery v0.4.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking fixedbitset v0.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rayon v1.6.1 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking petgraph v0.6.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking rustc_tools_util v0.2.0 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking shellwords v1.1.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling log-derive v0.3.2 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Checking rpds v0.11.0 [INFO] [stderr] Checking cargo_metadata v0.14.2 [INFO] [stderr] Checking rupta v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | box_patterns, // for conciseness [INFO] [stdout] | ^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.100.0 [INFO] [stdout] = note: superseded by `deref_patterns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | box_patterns, // for conciseness [INFO] [stdout] | ^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.100.0 [INFO] [stdout] = note: superseded by `deref_patterns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/builder/fpag_builder.rs:180:40 [INFO] [stdout] | [INFO] [stdout] 180 | mir::StatementKind::Assign(box (place, rvalue)) => self.visit_assign(place, rvalue), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 180 - mir::StatementKind::Assign(box (place, rvalue)) => self.visit_assign(place, rvalue), [INFO] [stdout] 180 + mir::StatementKind::Assign((place, rvalue)) => self.visit_assign(place, rvalue), [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 180 - mir::StatementKind::Assign(box (place, rvalue)) => self.visit_assign(place, rvalue), [INFO] [stdout] 180 + mir::StatementKind::Assign(deref!((place, rvalue))) => self.visit_assign(place, rvalue), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/builder/fpag_builder.rs:185:40 [INFO] [stdout] | [INFO] [stdout] 185 | mir::StatementKind::Deinit(box place) => self.visit_deinit(place), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 185 - mir::StatementKind::Deinit(box place) => self.visit_deinit(place), [INFO] [stdout] 185 + mir::StatementKind::Deinit(place) => self.visit_deinit(place), [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 185 - mir::StatementKind::Deinit(box place) => self.visit_deinit(place), [INFO] [stdout] 185 + mir::StatementKind::Deinit(deref!(place)) => self.visit_deinit(place), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/builder/fpag_builder.rs:192:43 [INFO] [stdout] | [INFO] [stdout] 192 | mir::StatementKind::Intrinsic(box non_diverging_intrinsic) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 192 - mir::StatementKind::Intrinsic(box non_diverging_intrinsic) => { [INFO] [stdout] 192 + mir::StatementKind::Intrinsic(non_diverging_intrinsic) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 192 - mir::StatementKind::Intrinsic(box non_diverging_intrinsic) => { [INFO] [stdout] 192 + mir::StatementKind::Intrinsic(deref!(non_diverging_intrinsic)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/builder/fpag_builder.rs:347:36 [INFO] [stdout] | [INFO] [stdout] 347 | mir::Operand::Constant(box constant) => match constant.ty().kind() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 347 - mir::Operand::Constant(box constant) => match constant.ty().kind() { [INFO] [stdout] 347 + mir::Operand::Constant(constant) => match constant.ty().kind() { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 347 - mir::Operand::Constant(box constant) => match constant.ty().kind() { [INFO] [stdout] 347 + mir::Operand::Constant(deref!(constant)) => match constant.ty().kind() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/builder/fpag_builder.rs:419:43 [INFO] [stdout] | [INFO] [stdout] 419 | mir::Rvalue::BinaryOp(bin_op, box (left_operand, right_operand)) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 419 - mir::Rvalue::BinaryOp(bin_op, box (left_operand, right_operand)) => { [INFO] [stdout] 419 + mir::Rvalue::BinaryOp(bin_op, (left_operand, right_operand)) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 419 - mir::Rvalue::BinaryOp(bin_op, box (left_operand, right_operand)) => { [INFO] [stdout] 419 + mir::Rvalue::BinaryOp(bin_op, deref!((left_operand, right_operand))) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/builder/fpag_builder.rs:422:51 [INFO] [stdout] | [INFO] [stdout] 422 | mir::Rvalue::CheckedBinaryOp(_bin_op, box (_left_operand, _right_operand)) => {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 422 - mir::Rvalue::CheckedBinaryOp(_bin_op, box (_left_operand, _right_operand)) => {} [INFO] [stdout] 422 + mir::Rvalue::CheckedBinaryOp(_bin_op, (_left_operand, _right_operand)) => {} [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 422 - mir::Rvalue::CheckedBinaryOp(_bin_op, box (_left_operand, _right_operand)) => {} [INFO] [stdout] 422 + mir::Rvalue::CheckedBinaryOp(_bin_op, deref!((_left_operand, _right_operand))) => {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/builder/fpag_builder.rs:762:44 [INFO] [stdout] | [INFO] [stdout] 762 | mir::Operand::Constant(box const_op) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 762 - mir::Operand::Constant(box const_op) => { [INFO] [stdout] 762 + mir::Operand::Constant(const_op) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 762 - mir::Operand::Constant(box const_op) => { [INFO] [stdout] 762 + mir::Operand::Constant(deref!(const_op)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/builder/fpag_builder.rs:789:44 [INFO] [stdout] | [INFO] [stdout] 789 | mir::Operand::Constant(box const_op) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 789 - mir::Operand::Constant(box const_op) => { [INFO] [stdout] 789 + mir::Operand::Constant(const_op) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 789 - mir::Operand::Constant(box const_op) => { [INFO] [stdout] 789 + mir::Operand::Constant(deref!(const_op)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/builder/fpag_builder.rs:180:40 [INFO] [stdout] | [INFO] [stdout] 180 | mir::StatementKind::Assign(box (place, rvalue)) => self.visit_assign(place, rvalue), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 180 - mir::StatementKind::Assign(box (place, rvalue)) => self.visit_assign(place, rvalue), [INFO] [stdout] 180 + mir::StatementKind::Assign((place, rvalue)) => self.visit_assign(place, rvalue), [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 180 - mir::StatementKind::Assign(box (place, rvalue)) => self.visit_assign(place, rvalue), [INFO] [stdout] 180 + mir::StatementKind::Assign(deref!((place, rvalue))) => self.visit_assign(place, rvalue), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/builder/fpag_builder.rs:185:40 [INFO] [stdout] | [INFO] [stdout] 185 | mir::StatementKind::Deinit(box place) => self.visit_deinit(place), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 185 - mir::StatementKind::Deinit(box place) => self.visit_deinit(place), [INFO] [stdout] 185 + mir::StatementKind::Deinit(place) => self.visit_deinit(place), [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 185 - mir::StatementKind::Deinit(box place) => self.visit_deinit(place), [INFO] [stdout] 185 + mir::StatementKind::Deinit(deref!(place)) => self.visit_deinit(place), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/builder/fpag_builder.rs:192:43 [INFO] [stdout] | [INFO] [stdout] 192 | mir::StatementKind::Intrinsic(box non_diverging_intrinsic) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 192 - mir::StatementKind::Intrinsic(box non_diverging_intrinsic) => { [INFO] [stdout] 192 + mir::StatementKind::Intrinsic(non_diverging_intrinsic) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 192 - mir::StatementKind::Intrinsic(box non_diverging_intrinsic) => { [INFO] [stdout] 192 + mir::StatementKind::Intrinsic(deref!(non_diverging_intrinsic)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/builder/fpag_builder.rs:347:36 [INFO] [stdout] | [INFO] [stdout] 347 | mir::Operand::Constant(box constant) => match constant.ty().kind() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 347 - mir::Operand::Constant(box constant) => match constant.ty().kind() { [INFO] [stdout] 347 + mir::Operand::Constant(constant) => match constant.ty().kind() { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 347 - mir::Operand::Constant(box constant) => match constant.ty().kind() { [INFO] [stdout] 347 + mir::Operand::Constant(deref!(constant)) => match constant.ty().kind() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/builder/fpag_builder.rs:419:43 [INFO] [stdout] | [INFO] [stdout] 419 | mir::Rvalue::BinaryOp(bin_op, box (left_operand, right_operand)) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 419 - mir::Rvalue::BinaryOp(bin_op, box (left_operand, right_operand)) => { [INFO] [stdout] 419 + mir::Rvalue::BinaryOp(bin_op, (left_operand, right_operand)) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 419 - mir::Rvalue::BinaryOp(bin_op, box (left_operand, right_operand)) => { [INFO] [stdout] 419 + mir::Rvalue::BinaryOp(bin_op, deref!((left_operand, right_operand))) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/builder/fpag_builder.rs:422:51 [INFO] [stdout] | [INFO] [stdout] 422 | mir::Rvalue::CheckedBinaryOp(_bin_op, box (_left_operand, _right_operand)) => {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 422 - mir::Rvalue::CheckedBinaryOp(_bin_op, box (_left_operand, _right_operand)) => {} [INFO] [stdout] 422 + mir::Rvalue::CheckedBinaryOp(_bin_op, (_left_operand, _right_operand)) => {} [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 422 - mir::Rvalue::CheckedBinaryOp(_bin_op, box (_left_operand, _right_operand)) => {} [INFO] [stdout] 422 + mir::Rvalue::CheckedBinaryOp(_bin_op, deref!((_left_operand, _right_operand))) => {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/builder/fpag_builder.rs:762:44 [INFO] [stdout] | [INFO] [stdout] 762 | mir::Operand::Constant(box const_op) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 762 - mir::Operand::Constant(box const_op) => { [INFO] [stdout] 762 + mir::Operand::Constant(const_op) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 762 - mir::Operand::Constant(box const_op) => { [INFO] [stdout] 762 + mir::Operand::Constant(deref!(const_op)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/builder/fpag_builder.rs:789:44 [INFO] [stdout] | [INFO] [stdout] 789 | mir::Operand::Constant(box const_op) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 789 - mir::Operand::Constant(box const_op) => { [INFO] [stdout] 789 + mir::Operand::Constant(const_op) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 789 - mir::Operand::Constant(box const_op) => { [INFO] [stdout] 789 + mir::Operand::Constant(deref!(const_op)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/pre_analysis/rta/body_visitor.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | mir::StatementKind::Assign(box (place, rvalue)) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 100 - mir::StatementKind::Assign(box (place, rvalue)) => { [INFO] [stdout] 100 + mir::StatementKind::Assign((place, rvalue)) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 100 - mir::StatementKind::Assign(box (place, rvalue)) => { [INFO] [stdout] 100 + mir::StatementKind::Assign(deref!((place, rvalue))) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/pre_analysis/rta/body_visitor.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | mir::StatementKind::Assign(box (place, rvalue)) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 100 - mir::StatementKind::Assign(box (place, rvalue)) => { [INFO] [stdout] 100 + mir::StatementKind::Assign((place, rvalue)) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 100 - mir::StatementKind::Assign(box (place, rvalue)) => { [INFO] [stdout] 100 + mir::StatementKind::Assign(deref!((place, rvalue))) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/pre_analysis/rta/body_visitor.rs:215:36 [INFO] [stdout] | [INFO] [stdout] 215 | mir::Operand::Constant(box constant) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 215 - mir::Operand::Constant(box constant) => { [INFO] [stdout] 215 + mir::Operand::Constant(constant) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 215 - mir::Operand::Constant(box constant) => { [INFO] [stdout] 215 + mir::Operand::Constant(deref!(constant)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/pre_analysis/rta/body_visitor.rs:215:36 [INFO] [stdout] | [INFO] [stdout] 215 | mir::Operand::Constant(box constant) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 215 - mir::Operand::Constant(box constant) => { [INFO] [stdout] 215 + mir::Operand::Constant(constant) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 215 - mir::Operand::Constant(box constant) => { [INFO] [stdout] 215 + mir::Operand::Constant(deref!(constant)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/pre_analysis/precision_critical_func_identification/func_pointer_flow_analysis.rs:323:40 [INFO] [stdout] | [INFO] [stdout] 323 | mir::StatementKind::Assign(box (place, rvalue)) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 323 - mir::StatementKind::Assign(box (place, rvalue)) => { [INFO] [stdout] 323 + mir::StatementKind::Assign((place, rvalue)) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 323 - mir::StatementKind::Assign(box (place, rvalue)) => { [INFO] [stdout] 323 + mir::StatementKind::Assign(deref!((place, rvalue))) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/pre_analysis/precision_critical_func_identification/func_pointer_flow_analysis.rs:354:38 [INFO] [stdout] | [INFO] [stdout] 354 | mir::Rvalue::BinaryOp(_, box (loperand, _roperand)) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 354 - mir::Rvalue::BinaryOp(_, box (loperand, _roperand)) => { [INFO] [stdout] 354 + mir::Rvalue::BinaryOp(_, (loperand, _roperand)) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 354 - mir::Rvalue::BinaryOp(_, box (loperand, _roperand)) => { [INFO] [stdout] 354 + mir::Rvalue::BinaryOp(_, deref!((loperand, _roperand))) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/pre_analysis/precision_critical_func_identification/func_pointer_flow_analysis.rs:470:36 [INFO] [stdout] | [INFO] [stdout] 470 | mir::Operand::Constant(box constant) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 470 - mir::Operand::Constant(box constant) => { [INFO] [stdout] 470 + mir::Operand::Constant(constant) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 470 - mir::Operand::Constant(box constant) => { [INFO] [stdout] 470 + mir::Operand::Constant(deref!(constant)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/pre_analysis/precision_critical_func_identification/func_pointer_flow_analysis.rs:323:40 [INFO] [stdout] | [INFO] [stdout] 323 | mir::StatementKind::Assign(box (place, rvalue)) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 323 - mir::StatementKind::Assign(box (place, rvalue)) => { [INFO] [stdout] 323 + mir::StatementKind::Assign((place, rvalue)) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 323 - mir::StatementKind::Assign(box (place, rvalue)) => { [INFO] [stdout] 323 + mir::StatementKind::Assign(deref!((place, rvalue))) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/pre_analysis/precision_critical_func_identification/func_pointer_flow_analysis.rs:354:38 [INFO] [stdout] | [INFO] [stdout] 354 | mir::Rvalue::BinaryOp(_, box (loperand, _roperand)) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 354 - mir::Rvalue::BinaryOp(_, box (loperand, _roperand)) => { [INFO] [stdout] 354 + mir::Rvalue::BinaryOp(_, (loperand, _roperand)) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 354 - mir::Rvalue::BinaryOp(_, box (loperand, _roperand)) => { [INFO] [stdout] 354 + mir::Rvalue::BinaryOp(_, deref!((loperand, _roperand))) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box` patterns have been removed (feature `box_patterns`) [INFO] [stdout] --> src/pre_analysis/precision_critical_func_identification/func_pointer_flow_analysis.rs:470:36 [INFO] [stdout] | [INFO] [stdout] 470 | mir::Operand::Constant(box constant) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: enable feature `deref_patterns` instead and... [INFO] [stdout] help: ...if possible just remove keyword `box`... [INFO] [stdout] | [INFO] [stdout] 470 - mir::Operand::Constant(box constant) => { [INFO] [stdout] 470 + mir::Operand::Constant(constant) => { [INFO] [stdout] | [INFO] [stdout] help: ...otherwise replace it with an invocation of macro `deref` [INFO] [stdout] | [INFO] [stdout] 470 - mir::Operand::Constant(box constant) => { [INFO] [stdout] 470 + mir::Operand::Constant(deref!(constant)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_borrowck` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate rustc_borrowck; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_data_structures` [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate rustc_data_structures; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern crate rustc_driver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_errors` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate rustc_errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_hir` [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | extern crate rustc_hir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_index` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | extern crate rustc_index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_interface` [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate rustc_interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_macros` [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | extern crate rustc_macros; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_middle` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | extern crate rustc_middle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_serialize` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate rustc_serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_session` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | extern crate rustc_session; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_span` [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate rustc_span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_target` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | extern crate rustc_target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_attr` [INFO] [stdout] --> src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate rustc_attr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_borrowck` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate rustc_borrowck; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_data_structures` [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate rustc_data_structures; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern crate rustc_driver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_errors` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate rustc_errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_hir` [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | extern crate rustc_hir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_index` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | extern crate rustc_index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_interface` [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate rustc_interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_macros` [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | extern crate rustc_macros; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_middle` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | extern crate rustc_middle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_serialize` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate rustc_serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_session` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | extern crate rustc_session; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_span` [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate rustc_span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_target` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | extern crate rustc_target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_attr` [INFO] [stdout] --> src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate rustc_attr; [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 `crate::mir::function::FuncId` [INFO] [stdout] --> src/builder/fpag_builder.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::mir::function::{FuncId, FunctionReference}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 30 | use crate::mir::function::{CSFuncId, FunctionReference}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/graph/call_graph.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::mir::function::{FuncId, CSFuncId}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 14 | use crate::mir::function::{CSFuncId, CSFuncId}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/graph/func_pag.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/graph/pag.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::mir::function::{FuncId, GenericArgE}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 20 | use crate::mir::function::{CSFuncId, GenericArgE}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/mir/call_site.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mir::function::{FuncId, CSFuncId}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mir::function::{CSFuncId, CSFuncId}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::context::ContextId` [INFO] [stdout] --> src/mir/function.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::mir::context::ContextId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | no `ContextId` in `mir::context` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 - use crate::mir::context::ContextId; [INFO] [stdout] 11 + use crate::mir::context::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/mir/analysis_context.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::mir::function::{FuncId, FunctionReference, GenericArgE}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 18 | use crate::mir::function::{CSFuncId, FunctionReference, GenericArgE}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::context::ContextId` [INFO] [stdout] --> src/mir/path.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::mir::context::ContextId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | no `ContextId` in `mir::context` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 15 - use crate::mir::context::ContextId; [INFO] [stdout] 15 + use crate::mir::context::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/mir/path.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 16 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/pta/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 17 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/pta/andersen.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 19 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 19 - use crate::mir::function::FuncId; [INFO] [stdout] 19 + use crate::pta::FuncId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::context::ContextId` [INFO] [stdout] --> src/pta/context_sensitive.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::mir::context::{Context, ContextId}; [INFO] [stdout] | ^^^^^^^^^ no `ContextId` in `mir::context` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 22 - use crate::mir::context::{Context, ContextId}; [INFO] [stdout] 22 + use crate::mir::context::{Context, Context}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/pta/context_sensitive.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::mir::function::{FuncId, CSFuncId}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::pta::FuncId [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 23 | use crate::mir::function::{CSFuncId, CSFuncId}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::context::ContextId` [INFO] [stdout] --> src/pta/strategies/context_strategy.rs:16:66 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::mir::context::{Context, ContextCache, ContextElement, ContextId, HybridCtxElem}; [INFO] [stdout] | ^^^^^^^^^ no `ContextId` in `mir::context` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 16 - use crate::mir::context::{Context, ContextCache, ContextElement, ContextId, HybridCtxElem}; [INFO] [stdout] 16 + use crate::mir::context::{Context, ContextCache, ContextElement, Context, HybridCtxElem}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/pta/strategies/context_strategy.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 17 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 17 - use crate::mir::function::FuncId; [INFO] [stdout] 17 + use crate::pta::FuncId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/pre_analysis/rta/body_visitor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::pta::propagator::propagator::FuncId` exists but is inaccessible [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 17 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/pre_analysis/rta/rta.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::mir::function::{FuncId, FunctionReference, GenericArgE}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::pta::propagator::propagator::FuncId` exists but is inaccessible [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 12 | use crate::mir::function::{CSFuncId, FunctionReference, GenericArgE}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/pre_analysis/precision_critical_func_identification/func_pointer_flow_analysis.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::pta::propagator::propagator::FuncId` exists but is inaccessible [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/pre_analysis/precision_critical_func_identification/precision_critical_func_identification.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::pta::propagator::propagator::FuncId` exists but is inaccessible [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/util/call_graph_stat.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mir::function::{FuncId, CSFuncId}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::pta::propagator::propagator::FuncId` exists but is inaccessible [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mir::function::{CSFuncId, CSFuncId}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::context::ContextId` [INFO] [stdout] --> src/util/results_dumper.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::mir::context::{Context, ContextId}; [INFO] [stdout] | ^^^^^^^^^ no `ContextId` in `mir::context` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 16 - use crate::mir::context::{Context, ContextId}; [INFO] [stdout] 16 + use crate::mir::context::{Context, Context}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/util/results_dumper.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::pta::propagator::propagator::FuncId` exists but is inaccessible [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 17 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/util/type_util.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::mir::function::{FuncId, GenericArgE}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::pta::propagator::propagator::FuncId` exists but is inaccessible [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 20 | use crate::mir::function::{CSFuncId, GenericArgE}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/util/unsafe_statistics.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::pta::propagator::propagator::FuncId` exists but is inaccessible [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 19 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/builder/fpag_builder.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::mir::function::{FuncId, FunctionReference}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 30 | use crate::mir::function::{CSFuncId, FunctionReference}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/graph/call_graph.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::mir::function::{FuncId, CSFuncId}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 14 | use crate::mir::function::{CSFuncId, CSFuncId}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/graph/func_pag.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/graph/pag.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::mir::function::{FuncId, GenericArgE}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 20 | use crate::mir::function::{CSFuncId, GenericArgE}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/mir/call_site.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mir::function::{FuncId, CSFuncId}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mir::function::{CSFuncId, CSFuncId}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::context::ContextId` [INFO] [stdout] --> src/mir/function.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::mir::context::ContextId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | no `ContextId` in `mir::context` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 - use crate::mir::context::ContextId; [INFO] [stdout] 11 + use crate::mir::context::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ContextId` in this scope [INFO] [stdout] --> src/mir/context.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | context_list: IndexVec>>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `Context` defined here [INFO] [stdout] --> src/mir/context.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 94 - context_list: IndexVec>>, [INFO] [stdout] 94 + context_list: IndexVec>>, [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 93 | pub struct ContextCache { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ContextId` in this scope [INFO] [stdout] --> src/mir/context.rs:95:51 [INFO] [stdout] | [INFO] [stdout] 95 | context_to_index_map: HashMap>, ContextId>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `Context` defined here [INFO] [stdout] --> src/mir/context.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 95 - context_to_index_map: HashMap>, ContextId>, [INFO] [stdout] 95 + context_to_index_map: HashMap>, Context>, [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 93 | pub struct ContextCache { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ContextId` in this scope [INFO] [stdout] --> src/mir/context.rs:113:67 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_context_id(&mut self, context: &Rc>) -> ContextId { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `Context` defined here [INFO] [stdout] --> src/mir/context.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 113 - pub fn get_context_id(&mut self, context: &Rc>) -> ContextId { [INFO] [stdout] 113 + pub fn get_context_id(&mut self, context: &Rc>) -> Context { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ContextId` in this scope [INFO] [stdout] --> src/mir/context.rs:125:35 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_context(&self, id: ContextId) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `Context` defined here [INFO] [stdout] --> src/mir/context.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 125 - pub fn get_context(&self, id: ContextId) -> Option>> { [INFO] [stdout] 125 + pub fn get_context(&self, id: Context) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ContextId` in this scope [INFO] [stdout] --> src/mir/context.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn context_list(&self) -> &IndexVec>> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `Context` defined here [INFO] [stdout] --> src/mir/context.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 129 - pub fn context_list(&self) -> &IndexVec>> { [INFO] [stdout] 129 + pub fn context_list(&self) -> &IndexVec>> { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 104 | impl ContextCache { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ContextId` in this scope [INFO] [stdout] --> src/mir/context.rs:133:92 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn get_context_iter(&self) -> std::collections::hash_map::Iter<'_, Rc>, ContextId> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `Context` defined here [INFO] [stdout] --> src/mir/context.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 133 - pub fn get_context_iter(&self) -> std::collections::hash_map::Iter<'_, Rc>, ContextId> { [INFO] [stdout] 133 + pub fn get_context_iter(&self) -> std::collections::hash_map::Iter<'_, Rc>, Context> { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 104 | impl ContextCache { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/mir/analysis_context.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::mir::function::{FuncId, FunctionReference, GenericArgE}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 18 | use crate::mir::function::{CSFuncId, FunctionReference, GenericArgE}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FuncId` in this scope [INFO] [stdout] --> src/mir/function.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | pub func_id: FuncId, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FuncId` in this scope [INFO] [stdout] --> src/mir/function.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Copy, Clone, Debug, Eq, PartialOrd, PartialEq, Hash, Ord)] [INFO] [stdout] | ----- in this derive macro [INFO] [stdout] ... [INFO] [stdout] 26 | pub func_id: FuncId, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FuncId` in this scope [INFO] [stdout] --> src/mir/function.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Copy, Clone, Debug, Eq, PartialOrd, PartialEq, Hash, Ord)] [INFO] [stdout] | -- in this derive macro [INFO] [stdout] ... [INFO] [stdout] 26 | pub func_id: FuncId, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FuncId` in this scope [INFO] [stdout] --> src/mir/function.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(cid: ContextId, func_id: FuncId) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `CSFuncId` defined here [INFO] [stdout] --> src/mir/function.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CSFuncId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(cid: ContextId, func_id: CSFuncId) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FuncId` in this scope [INFO] [stdout] --> src/mir/function.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | impl From for FuncId { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `CSFuncId` defined here [INFO] [stdout] --> src/mir/function.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CSFuncId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 35 | impl From for CSFuncId { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::context::ContextId` [INFO] [stdout] --> src/mir/path.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::mir::context::ContextId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | no `ContextId` in `mir::context` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 15 - use crate::mir::context::ContextId; [INFO] [stdout] 15 + use crate::mir::context::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TypeNs` in this scope [INFO] [stdout] --> src/mir/known_names.rs:224:25 [INFO] [stdout] | [INFO] [stdout] 224 | TypeNs(name) | ValueNs(name) => Some(*name), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ValueNs` in this scope [INFO] [stdout] --> src/mir/known_names.rs:224:40 [INFO] [stdout] | [INFO] [stdout] 224 | TypeNs(name) | ValueNs(name) => Some(*name), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/mir/path.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 16 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/pta/context_sensitive.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/pta/propagator/propagator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::graph::pag::*` [INFO] [stdout] --> src/pta/propagator/propagator.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::graph::pag::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/pta/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 17 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/pta/andersen.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 19 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 19 - use crate::mir::function::FuncId; [INFO] [stdout] 19 + use crate::pta::FuncId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::context::ContextId` [INFO] [stdout] --> src/pta/context_sensitive.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::mir::context::{Context, ContextId}; [INFO] [stdout] | ^^^^^^^^^ no `ContextId` in `mir::context` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 22 - use crate::mir::context::{Context, ContextId}; [INFO] [stdout] 22 + use crate::mir::context::{Context, Context}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/pta/context_sensitive.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::mir::function::{FuncId, CSFuncId}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::pta::FuncId [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 23 | use crate::mir::function::{CSFuncId, CSFuncId}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::context::ContextId` [INFO] [stdout] --> src/pta/strategies/context_strategy.rs:16:66 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::mir::context::{Context, ContextCache, ContextElement, ContextId, HybridCtxElem}; [INFO] [stdout] | ^^^^^^^^^ no `ContextId` in `mir::context` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 16 - use crate::mir::context::{Context, ContextCache, ContextElement, ContextId, HybridCtxElem}; [INFO] [stdout] 16 + use crate::mir::context::{Context, ContextCache, ContextElement, Context, HybridCtxElem}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/pta/strategies/context_strategy.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 17 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 17 - use crate::mir::function::FuncId; [INFO] [stdout] 17 + use crate::pta::FuncId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/pre_analysis/rta/body_visitor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::pta::propagator::propagator::FuncId` exists but is inaccessible [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 17 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/pre_analysis/rta/rta.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::mir::function::{FuncId, FunctionReference, GenericArgE}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::pta::propagator::propagator::FuncId` exists but is inaccessible [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 12 | use crate::mir::function::{CSFuncId, FunctionReference, GenericArgE}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/pre_analysis/precision_critical_func_identification/func_pointer_flow_analysis.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::pta::propagator::propagator::FuncId` exists but is inaccessible [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/pre_analysis/precision_critical_func_identification/precision_critical_func_identification.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::pta::propagator::propagator::FuncId` exists but is inaccessible [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/util/call_graph_stat.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mir::function::{FuncId, CSFuncId}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::pta::propagator::propagator::FuncId` exists but is inaccessible [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 13 | use crate::mir::function::{CSFuncId, CSFuncId}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::context::ContextId` [INFO] [stdout] --> src/util/results_dumper.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::mir::context::{Context, ContextId}; [INFO] [stdout] | ^^^^^^^^^ no `ContextId` in `mir::context` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 16 - use crate::mir::context::{Context, ContextId}; [INFO] [stdout] 16 + use crate::mir::context::{Context, Context}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/util/results_dumper.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::pta::propagator::propagator::FuncId` exists but is inaccessible [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 17 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | let_chains, // for let chains in match arms [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/util/type_util.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::mir::function::{FuncId, GenericArgE}; [INFO] [stdout] | ^^^^^^ no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::pta::propagator::propagator::FuncId` exists but is inaccessible [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 20 | use crate::mir::function::{CSFuncId, GenericArgE}; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::mir::function::FuncId` [INFO] [stdout] --> src/util/unsafe_statistics.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::mir::function::FuncId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | no `FuncId` in `mir::function` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::pta::propagator::propagator::FuncId` exists but is inaccessible [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 19 | use crate::mir::function::CSFuncId; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0463, E0531, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rupta` (lib) due to 65 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find type `ContextId` in this scope [INFO] [stdout] --> src/mir/context.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | context_list: IndexVec>>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `Context` defined here [INFO] [stdout] --> src/mir/context.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 94 - context_list: IndexVec>>, [INFO] [stdout] 94 + context_list: IndexVec>>, [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 93 | pub struct ContextCache { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ContextId` in this scope [INFO] [stdout] --> src/mir/context.rs:95:51 [INFO] [stdout] | [INFO] [stdout] 95 | context_to_index_map: HashMap>, ContextId>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `Context` defined here [INFO] [stdout] --> src/mir/context.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 95 - context_to_index_map: HashMap>, ContextId>, [INFO] [stdout] 95 + context_to_index_map: HashMap>, Context>, [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 93 | pub struct ContextCache { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ContextId` in this scope [INFO] [stdout] --> src/mir/context.rs:113:67 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_context_id(&mut self, context: &Rc>) -> ContextId { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `Context` defined here [INFO] [stdout] --> src/mir/context.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 113 - pub fn get_context_id(&mut self, context: &Rc>) -> ContextId { [INFO] [stdout] 113 + pub fn get_context_id(&mut self, context: &Rc>) -> Context { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ContextId` in this scope [INFO] [stdout] --> src/mir/context.rs:125:35 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_context(&self, id: ContextId) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `Context` defined here [INFO] [stdout] --> src/mir/context.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 125 - pub fn get_context(&self, id: ContextId) -> Option>> { [INFO] [stdout] 125 + pub fn get_context(&self, id: Context) -> Option>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ContextId` in this scope [INFO] [stdout] --> src/mir/context.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn context_list(&self) -> &IndexVec>> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `Context` defined here [INFO] [stdout] --> src/mir/context.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 129 - pub fn context_list(&self) -> &IndexVec>> { [INFO] [stdout] 129 + pub fn context_list(&self) -> &IndexVec>> { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 104 | impl ContextCache { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ContextId` in this scope [INFO] [stdout] --> src/mir/context.rs:133:92 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn get_context_iter(&self) -> std::collections::hash_map::Iter<'_, Rc>, ContextId> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `Context` defined here [INFO] [stdout] --> src/mir/context.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Context { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 133 - pub fn get_context_iter(&self) -> std::collections::hash_map::Iter<'_, Rc>, ContextId> { [INFO] [stdout] 133 + pub fn get_context_iter(&self) -> std::collections::hash_map::Iter<'_, Rc>, Context> { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 104 | impl ContextCache { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FuncId` in this scope [INFO] [stdout] --> src/mir/function.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | pub func_id: FuncId, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FuncId` in this scope [INFO] [stdout] --> src/mir/function.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Copy, Clone, Debug, Eq, PartialOrd, PartialEq, Hash, Ord)] [INFO] [stdout] | ----- in this derive macro [INFO] [stdout] ... [INFO] [stdout] 26 | pub func_id: FuncId, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FuncId` in this scope [INFO] [stdout] --> src/mir/function.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Copy, Clone, Debug, Eq, PartialOrd, PartialEq, Hash, Ord)] [INFO] [stdout] | -- in this derive macro [INFO] [stdout] ... [INFO] [stdout] 26 | pub func_id: FuncId, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FuncId` in this scope [INFO] [stdout] --> src/mir/function.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(cid: ContextId, func_id: FuncId) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `CSFuncId` defined here [INFO] [stdout] --> src/mir/function.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CSFuncId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(cid: ContextId, func_id: CSFuncId) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `FuncId` in this scope [INFO] [stdout] --> src/mir/function.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | impl From for FuncId { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named struct `CSFuncId` defined here [INFO] [stdout] --> src/mir/function.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CSFuncId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 35 | impl From for CSFuncId { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TypeNs` in this scope [INFO] [stdout] --> src/mir/known_names.rs:224:25 [INFO] [stdout] | [INFO] [stdout] 224 | TypeNs(name) | ValueNs(name) => Some(*name), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `ValueNs` in this scope [INFO] [stdout] --> src/mir/known_names.rs:224:40 [INFO] [stdout] | [INFO] [stdout] 224 | TypeNs(name) | ValueNs(name) => Some(*name), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/pta/context_sensitive.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/pta/propagator/propagator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::graph::pag::*` [INFO] [stdout] --> src/pta/propagator/propagator.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::graph::pag::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | let_chains, // for let chains in match arms [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0463, E0531, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rupta` (lib test) due to 65 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "68dd74dce9f204b0101fff31c164d89c10a233a91aa6949ed0c2772c33a7ceee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68dd74dce9f204b0101fff31c164d89c10a233a91aa6949ed0c2772c33a7ceee", kill_on_drop: false }` [INFO] [stdout] 68dd74dce9f204b0101fff31c164d89c10a233a91aa6949ed0c2772c33a7ceee