[INFO] cloning repository https://github.com/cyrex562/ghidra-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cyrex562/ghidra-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyrex562%2Fghidra-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyrex562%2Fghidra-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6855fd66520a862cbc5fe6a1eb589cfaf2b24788 [INFO] testing cyrex562/ghidra-rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyrex562%2Fghidra-rs" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 15% (2450/15962) Updating files: 16% (2554/15962) Updating files: 17% (2714/15962) Updating files: 18% (2874/15962) Updating files: 19% (3033/15962) Updating files: 20% (3193/15962) Updating files: 20% (3229/15962) Updating files: 21% (3353/15962) Updating files: 21% (3461/15962) Updating files: 22% (3512/15962) Updating files: 23% (3672/15962) Updating files: 24% (3831/15962) Updating files: 25% (3991/15962) Updating files: 26% (4151/15962) Updating files: 27% (4310/15962) Updating files: 28% (4470/15962) Updating files: 29% (4629/15962) Updating files: 30% (4789/15962) Updating files: 31% (4949/15962) Updating files: 32% (5108/15962) Updating files: 33% (5268/15962) Updating files: 34% (5428/15962) Updating files: 35% (5587/15962) Updating files: 36% (5747/15962) Updating files: 37% (5906/15962) Updating files: 38% (6066/15962) Updating files: 39% (6226/15962) Updating files: 39% (6301/15962) Updating files: 40% (6385/15962) Updating files: 41% (6545/15962) Updating files: 42% (6705/15962) Updating files: 43% (6864/15962) Updating files: 44% (7024/15962) Updating files: 45% (7183/15962) Updating files: 46% (7343/15962) Updating files: 47% (7503/15962) Updating files: 48% (7662/15962) Updating files: 49% (7822/15962) Updating files: 50% (7981/15962) Updating files: 51% (8141/15962) Updating files: 52% (8301/15962) Updating files: 53% (8460/15962) Updating files: 54% (8620/15962) Updating files: 55% (8780/15962) Updating files: 56% (8939/15962) Updating files: 56% (9024/15962) Updating files: 57% (9099/15962) Updating files: 58% (9258/15962) Updating files: 59% (9418/15962) Updating files: 60% (9578/15962) Updating files: 61% (9737/15962) Updating files: 62% (9897/15962) Updating files: 63% (10057/15962) Updating files: 64% (10216/15962) Updating files: 65% (10376/15962) Updating files: 66% (10535/15962) Updating files: 67% (10695/15962) Updating files: 67% (10852/15962) Updating files: 68% (10855/15962) Updating files: 69% (11014/15962) Updating files: 70% (11174/15962) Updating files: 71% (11334/15962) Updating files: 72% (11493/15962) Updating files: 73% (11653/15962) Updating files: 74% (11812/15962) Updating files: 75% (11972/15962) Updating files: 76% (12132/15962) Updating files: 77% (12291/15962) Updating files: 78% (12451/15962) Updating files: 79% (12610/15962) Updating files: 80% (12770/15962) Updating files: 81% (12930/15962) Updating files: 82% (13089/15962) Updating files: 83% (13249/15962) Updating files: 84% (13409/15962) Updating files: 85% (13568/15962) Updating files: 86% (13728/15962) Updating files: 86% (13793/15962) Updating files: 87% (13887/15962) Updating files: 88% (14047/15962) Updating files: 89% (14207/15962) Updating files: 90% (14366/15962) Updating files: 91% (14526/15962) Updating files: 92% (14686/15962) Updating files: 93% (14845/15962) Updating files: 94% (15005/15962) Updating files: 95% (15164/15962) Updating files: 96% (15324/15962) Updating files: 97% (15484/15962) Updating files: 98% (15643/15962) Updating files: 99% (15803/15962) Updating files: 100% (15962/15962) Updating files: 100% (15962/15962), done. [INFO] validating manifest of git repo https://github.com/cyrex562/ghidra-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cyrex562/ghidra-rs [INFO] finished tweaking git repo https://github.com/cyrex562/ghidra-rs [INFO] tweaked toml for git repo https://github.com/cyrex562/ghidra-rs written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/cyrex562/ghidra-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9be2808015045f3012870cff4d6f25b3da7a4ed83abedec7a466226a7a7d9d30 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9be2808015045f3012870cff4d6f25b3da7a4ed83abedec7a466226a7a7d9d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9be2808015045f3012870cff4d6f25b3da7a4ed83abedec7a466226a7a7d9d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9be2808015045f3012870cff4d6f25b3da7a4ed83abedec7a466226a7a7d9d30", kill_on_drop: false }` [INFO] [stdout] 9be2808015045f3012870cff4d6f25b3da7a4ed83abedec7a466226a7a7d9d30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 07433d0444cffc4227848bee92bad05df9299b684638472959cf1d1b37a7e36a [INFO] running `Command { std: "docker" "start" "-a" "07433d0444cffc4227848bee92bad05df9299b684638472959cf1d1b37a7e36a", kill_on_drop: false }` [INFO] [stderr] Compiling ghidra-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `db` [INFO] [stdout] --> src/ghidra/framework/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod db; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `db`, create file "src/ghidra/framework/db.rs" or "src/ghidra/framework/db/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `{` [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:177:37 [INFO] [stdout] | [INFO] [stdout] 66 | impl BufferManager { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn get_lock_count(&self) -> { [INFO] [stdout] | ^ expected type [INFO] [stdout] ... [INFO] [stdout] 290 | } // end of impl BufferManager [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `if` [INFO] [stdout] --> src/ghidra/framework/buffer/data_buffer.rs:195:35 [INFO] [stdout] | [INFO] [stdout] 195 | out.write_bool(self.empty) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 196 | if self.data.is_empty() { [INFO] [stdout] | -- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `ChainedBuffer` [INFO] [stdout] --> src/ghidra/framework/buffer/chained_buffer.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 111 | impl ChainedBuffer { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 264 | public ChainedBuffer(BufferMgr bufferMgr, int bufferId) throws IOException { [INFO] [stdout] | ^^^^^^^^^^^^^ expected one of `!` or `::` [INFO] [stdout] ... [INFO] [stdout] 1502 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `bufferChanged` [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 56 | impl ChangeMapFile { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 248 | void bufferChanged(int index, boolean empty) throws IOException { [INFO] [stdout] | ^^^^^^^^^^^^^ expected one of `!` or `::` [INFO] [stdout] ... [INFO] [stdout] 276 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ghidra::framework::data_buffer` [INFO] [stdout] --> src/ghidra/framework/btree_node.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ghidra::framework::data_buffer::DataBuffer; [INFO] [stdout] | ^^^^^^^^^^^ could not find `data_buffer` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ghidra::framework::buffer_file` [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ghidra::framework::buffer_file::BufferFile; [INFO] [stdout] | ^^^^^^^^^^^ could not find `buffer_file` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ghidra::framework::buffer_node` [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ghidra::framework::buffer_node::BufferNode; [INFO] [stdout] | ^^^^^^^^^^^ could not find `buffer_node` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ghidra::framework::data_buffer` [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ghidra::framework::data_buffer::DataBuffer; [INFO] [stdout] | ^^^^^^^^^^^ could not find `data_buffer` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ghidra::framework::data_buffer` [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_file.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ghidra::framework::data_buffer::DataBuffer; [INFO] [stdout] | ^^^^^^^^^^^ could not find `data_buffer` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ghidra::framework::buffer_file` [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_file_adapter.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ghidra::framework::buffer_file::BufferFile; [INFO] [stdout] | ^^^^^^^^^^^ could not find `buffer_file` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ghidra::framework::buffer_file_handle` [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_file_adapter.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ghidra::framework::buffer_file_handle::BufferFileHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ could not find `buffer_file_handle` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ghidra::framework::data_buffer` [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_file_adapter.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ghidra::framework::data_buffer::DataBuffer; [INFO] [stdout] | ^^^^^^^^^^^ could not find `data_buffer` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ghidra::framework::buffer_file` [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_file_handle.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ghidra::framework::buffer_file::BufferFile; [INFO] [stdout] | ^^^^^^^^^^^ could not find `buffer_file` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ghidra::framework::data_buffer` [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_file_handle.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ghidra::framework::data_buffer::DataBuffer; [INFO] [stdout] | ^^^^^^^^^^^ could not find `data_buffer` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ghidra::framework::data_buffer` [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_node.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ghidra::framework::data_buffer::DataBuffer; [INFO] [stdout] | ^^^^^^^^^^^ could not find `data_buffer` in `framework` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fmt` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/chained_buffer.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | return Err(GhidraError::new(0, fmt!("maximum buffer size is {}; given size of {}", i64, size))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fmt` in this scope [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:167:54 [INFO] [stdout] | [INFO] [stdout] 167 | return Err(GhidraError{code: 0, message: fmt!("modification map file does not correspond to target: {:?}", file)}); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalBufferFile` [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:117:30 [INFO] [stdout] | [INFO] [stdout] 117 | let mut cache_file = LocalBufferFile::new(buf_size, CACHE_FILE_PREFIX, CACHE_FILE_EXT); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `LocalBufferFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Deflater` [INFO] [stdout] --> src/ghidra/framework/buffer/data_buffer.rs:210:33 [INFO] [stdout] | [INFO] [stdout] 210 | let deflate: Deflater = Deflater::new(DEFLATER_BEST_COMPRESSION, true); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Deflater` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Inflater` [INFO] [stdout] --> src/ghidra/framework/buffer/data_buffer.rs:266:34 [INFO] [stdout] | [INFO] [stdout] 266 | let inflater: Inflater = Inflater::new(true); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Inflater` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalBufferFile` [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | map_file = LocalBufferFile::new(file, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `LocalBufferFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalBufferFile` [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:152:28 [INFO] [stdout] | [INFO] [stdout] 152 | let mut map_file = LocalBufferFile::new(file, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `LocalBufferFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalBufferFile` [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:218:28 [INFO] [stdout] | [INFO] [stdout] 218 | map_file = LocalBufferFile::new(&tmp_file, self.buf_mgr.get_buffer_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `LocalBufferFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Field` in this scope [INFO] [stdout] --> src/ghidra/framework/btree_node.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_key_field(index: i64) -> Field; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Field` in this scope [INFO] [stdout] --> src/ghidra/framework/btree_node.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_key_index(key: &Field) -> i64; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `p64` in this scope [INFO] [stdout] --> src/ghidra/framework/btree_node.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_buffer_references() -> Vec; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 21 | fn get_buffer_references() -> Vec; [INFO] [stdout] | ~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | pub trait BTreeNode { [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TaskMonitor` in this scope [INFO] [stdout] --> src/ghidra/framework/btree_node.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | fn is_consistent(table_name: &String, monitor: &TaskMonitor) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalBufferFile` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | pub cache_file: LocalBufferFile, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `BufferFile` [INFO] [stdout] | [INFO] [stdout] ::: src/ghidra/framework/buffer/buffer_file.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait BufferFile { [INFO] [stdout] | -------------------- similarly named trait `BufferFile` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RecoveryManager` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | pub recovery_manager: RecoveryManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_CHECKPOINT_COUNT` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | max_check_points = DEFAULT_CHECKPOINT_COUNT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MINIMUM_CACHE_SIZE` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | if approx_cache_size < MINIMUM_CACHE_SIZE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MINIMUM_CACHE_SIZE` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:110:34 [INFO] [stdout] | [INFO] [stdout] 110 | approx_cache_size2 = MINIMUM_CACHE_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEAD` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:113:46 [INFO] [stdout] | [INFO] [stdout] 113 | let mut cache_head = BufferNode::new(HEAD, -1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TAIL` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:114:46 [INFO] [stdout] | [INFO] [stdout] 114 | let mut cache_tail = BufferNode::new(TAIL, -1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CACHE_FILE_PREFIX` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:117:61 [INFO] [stdout] | [INFO] [stdout] 117 | let mut cache_file = LocalBufferFile::new(buf_size, CACHE_FILE_PREFIX, CACHE_FILE_EXT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CACHE_FILE_EXT` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:117:80 [INFO] [stdout] | [INFO] [stdout] 117 | let mut cache_file = LocalBufferFile::new(buf_size, CACHE_FILE_PREFIX, CACHE_FILE_EXT); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `start_checkpoint` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | start_checkpoint(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `current_checkpoint_head` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:120:44 [INFO] [stdout] | [INFO] [stdout] 120 | let mut baseline_checkpoint_head = current_checkpoint_head; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ a field by this name exists in `Self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `current_checkpoint_head` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | current_checkpoint_head = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ a field by this name exists in `Self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `default` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | ..default() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::default::default; [INFO] [stdout] | [INFO] [stdout] 1 | use std::default::default; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add_instance` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | add_instance(&buf_mgr); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `always_pre_cache` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | if always_pre_cache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `start_pre_cache_if_needed` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | start_pre_cache_if_needed() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found enum `PreCacheStatus` [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:148:37 [INFO] [stdout] | [INFO] [stdout] 148 | if self.pre_cache_status == PreCacheStatus.INIT { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the enum is defined here [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / pub enum PreCacheStatus { [INFO] [stdout] 25 | | Init, [INFO] [stdout] 26 | | Running, [INFO] [stdout] 27 | | Interrupted, [INFO] [stdout] 28 | | Stopped, [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] help: you might have meant to use one of the following enum variants [INFO] [stdout] | [INFO] [stdout] 148 | if self.pre_cache_status == ghidra::framework::buffer::buffer_manager::PreCacheStatus::Init.INIT { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 148 | if self.pre_cache_status == ghidra::framework::buffer::buffer_manager::PreCacheStatus::Interrupted.INIT { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 148 | if self.pre_cache_status == ghidra::framework::buffer::buffer_manager::PreCacheStatus::Running.INIT { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 148 | if self.pre_cache_status == ghidra::framework::buffer::buffer_manager::PreCacheStatus::Stopped.INIT { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `start_pre_cache_if_needed` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | start_pre_cache_if_needed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `shutdown_hook_registry` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | shutdown_hook_registry.add_shutdown_hook(cleanup_task, ShutdownPriority.DISPOSE_FILE_HANDLES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `cleanup_task` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:160:54 [INFO] [stdout] | [INFO] [stdout] 160 | shutdown_hook_registry.add_shutdown_hook(cleanup_task, ShutdownPriority.DISPOSE_FILE_HANDLES); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ShutdownPriority` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:160:68 [INFO] [stdout] | [INFO] [stdout] 160 | shutdown_hook_registry.add_shutdown_hook(cleanup_task, ShutdownPriority.DISPOSE_FILE_HANDLES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ObjectOutput` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/data_buffer.rs:184:40 [INFO] [stdout] | [INFO] [stdout] 184 | fn write_external(&self, out: &mut ObjectOutput) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/data_buffer.rs:199:29 [INFO] [stdout] | [INFO] [stdout] 199 | out.write_usize(data.len()); [INFO] [stdout] | ^^^^ help: you might have meant to use the available field: `self.data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Deflater` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/data_buffer.rs:210:22 [INFO] [stdout] | [INFO] [stdout] 210 | let deflate: Deflater = Deflater::new(DEFLATER_BEST_COMPRESSION, true); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFLATER_BEST_COMPRESSION` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/data_buffer.rs:210:47 [INFO] [stdout] | [INFO] [stdout] 210 | let deflate: Deflater = Deflater::new(DEFLATER_BEST_COMPRESSION, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFLATER_HUFFMAN_ONLY` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/data_buffer.rs:211:30 [INFO] [stdout] | [INFO] [stdout] 211 | deflate.set_strategy(DEFLATER_HUFFMAN_ONLY); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFLATER_SYNC_FLUSH` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/data_buffer.rs:217:144 [INFO] [stdout] | [INFO] [stdout] 217 | ...pressed_data.len() - compressed_data_offset, DEFLATER_SYNC_FLUSH); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ObjectInput` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/data_buffer.rs:227:42 [INFO] [stdout] | [INFO] [stdout] 227 | fn read_external(&mut self, in_obj: &ObjectInput) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/data_buffer.rs:244:53 [INFO] [stdout] | [INFO] [stdout] 244 | self.inflate_data(&compressed_data, data) [INFO] [stdout] | ^^^^ help: you might have meant to use the available field: `self.data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/data_buffer.rs:246:35 [INFO] [stdout] | [INFO] [stdout] 246 | in_obj.read_fully(data); [INFO] [stdout] | ^^^^ help: you might have meant to use the available field: `self.data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Inflater` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/data_buffer.rs:266:23 [INFO] [stdout] | [INFO] [stdout] 266 | let inflater: Inflater = Inflater::new(true); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `infalter` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/data_buffer.rs:270:16 [INFO] [stdout] | [INFO] [stdout] 270 | if infalter.needs_dictionary() { [INFO] [stdout] | ^^^^^^^^ help: a local variable with a similar name exists: `inflater` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `unitialized_data_source` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/chained_buffer.rs:157:43 [INFO] [stdout] | [INFO] [stdout] 157 | x.set_unitialized_data_source(unitialized_data_source, uninitialized_data_source_offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `uninitialized_data_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `uninitialized_data_source_offset` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/chained_buffer.rs:157:68 [INFO] [stdout] | [INFO] [stdout] 157 | x.set_unitialized_data_source(unitialized_data_source, uninitialized_data_source_offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ a field by this name exists in `Self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dataSpace` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/chained_buffer.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 167 | if size <= dataSpace { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NodeMgr` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/chained_buffer.rs:170:44 [INFO] [stdout] | [INFO] [stdout] 170 | first_buffer.put_byte(NODE_TYPE_OFFSET, NodeMgr.CHAINED_BUFFER_DATA_NODE); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getObfuscationDataLengthFieldValue` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/chained_buffer.rs:171:45 [INFO] [stdout] | [INFO] [stdout] 171 | first_buffer.put_int(DATA_LENGTH_OFFSET, getObfuscationDataLengthFieldValue()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferMgr` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/chained_buffer.rs:192:66 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn new2(size: isize, enable_obfuscation: bool, buffer_mgr: &BufferMgr) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: a trait with a similar name exists: `Buffer` [INFO] [stdout] | [INFO] [stdout] ::: src/ghidra/framework/buffer/buffer.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Buffer { [INFO] [stdout] | ---------------- similarly named trait `Buffer` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferMgr` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/chained_buffer.rs:203:41 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn new3 (size: isize, buffer_mgr: &BufferMgr) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: a trait with a similar name exists: `Buffer` [INFO] [stdout] | [INFO] [stdout] ::: src/ghidra/framework/buffer/buffer.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Buffer { [INFO] [stdout] | ---------------- similarly named trait `Buffer` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `size` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/chained_buffer.rs:230:6 [INFO] [stdout] | [INFO] [stdout] 230 | if size < 0 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Integer` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/chained_buffer.rs:232:30 [INFO] [stdout] | [INFO] [stdout] 232 | x.buf_size = x.buf_size & Integer.MAX_VALUE; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NodeMgr` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/chained_buffer.rs:235:18 [INFO] [stdout] | [INFO] [stdout] 235 | if buf_type == NodeMgr.CHAINED_BUFFER_INDEX_NODE { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NodeMgr` in this scope [INFO] [stdout] --> src/ghidra/framework/buffer/chained_buffer.rs:238:23 [INFO] [stdout] | [INFO] [stdout] 238 | else if buf_type == NodeMgr.CHAINED_BUFFER_DATA_NODE { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `maxIndex` in this scope [INFO] [stdout] --> src/ghidra/framework/change_map.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | if index > maxIndex { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ChainedBuffer` in this scope [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | pub buffer: ChainedBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 | use crate::ghidra::framework::buffer::chained_buffer::ChainedBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalManagedBufferFile` in this scope [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:65:52 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new(&mut self, file: &mut File, old_file: &LocalManagedBufferFile, new_file: &LocalManagedBufferFile) -> Result src/ghidra/framework/change_map_file.rs:65:87 [INFO] [stdout] | [INFO] [stdout] 65 | ...d_file: &LocalManagedBufferFile, new_file: &LocalManagedBufferFile) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalBufferFile` in this scope [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | let mut map_file: LocalBufferFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_BUFFER_SIZE` in this scope [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | DEFAULT_BUFFER_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChainedBuffer` [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | let mut buffer = ChainedBuffer::new(size, &self.buf_mgr); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 | use crate::ghidra::framework::buffer::chained_buffer::ChainedBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `indexCnt` in this scope [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | let mut last_byte_offset: isize = (indexCnt-1) / 8; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChainedBuffer` [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | let mut buffer = ChainedBuffer::new(&self.buf_mgr, id); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 | use crate::ghidra::framework::buffer::chained_buffer::ChainedBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `int` in this scope [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:127:57 [INFO] [stdout] | [INFO] [stdout] 127 | self.buf_mgr.set_parameter(&TARGET_FILE_ID_HI_PARM, (int)(target_file_id >> 32)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `int` in this scope [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:128:58 [INFO] [stdout] | [INFO] [stdout] 128 | self.buf_mgr.set_parameter(&TARGET_FILE_ID_LOW_PARM, (int)(target_file_id & 0xffffffff)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalBufferFile` in this scope [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:151:41 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn new2(file: &File, target_file: &LocalBufferFile ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChainedBuffer` [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | buffer: ChainedBuffer::new(), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 | use crate::ghidra::framework::buffer::chained_buffer::ChainedBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChainedBuffer` [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | x.buffer = ChainedBuffer::new(&x.buf_mgr, id); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 | use crate::ghidra::framework::buffer::chained_buffer::ChainedBuffer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `success` in this scope [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | if !success { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalBufferFile` in this scope [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:192:43 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn is_valid_for(&self, target_file: &LocalBufferFile) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalBufferFile` in this scope [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | let mut map_file: LocalBufferFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TEMP_FILE_EXT` in this scope [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:217:52 [INFO] [stdout] | [INFO] [stdout] 217 | let tmp_file: File = File::create(&self.file + TEMP_FILE_EXT)?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `file` [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | file.delete(); [INFO] [stdout] | ^^^^ help: you might have meant to use the available field: `self.file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tmpFile` in this scope [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 223 | if (!tmpFile.renameTo(file)) { [INFO] [stdout] | ^^^^^^^ help: a local variable with a similar name exists: `tmp_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `file` [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:223:27 [INFO] [stdout] | [INFO] [stdout] 223 | if (!tmpFile.renameTo(file)) { [INFO] [stdout] | ^^^^ help: you might have meant to use the available field: `self.file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppError` in this scope [INFO] [stdout] --> src/ghidra_error.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | impl fmt::Display for AppError { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::RwLock` [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/ghidra/framework/buffer/data_buffer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Chain` [INFO] [stdout] --> src/ghidra/framework/buffer/chained_buffer.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::io::Chain; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/ghidra/framework/buffer/chained_buffer.rs:253:6 [INFO] [stdout] | [INFO] [stdout] 253 | if (uninitialized_data_source.is_some()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 253 - if (uninitialized_data_source.is_some()) { [INFO] [stdout] 253 + if uninitialized_data_source.is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | last_byte = (last_byte | bit_mask); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - last_byte = (last_byte | bit_mask); [INFO] [stdout] 96 + last_byte = last_byte | bit_mask; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/ghidra/framework/change_map_file.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | if (!tmpFile.renameTo(file)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 223 - if (!tmpFile.renameTo(file)) { [INFO] [stdout] 223 + if !tmpFile.renameTo(file) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ghidra/framework/buffer/buffer_manager.rs:87:41 [INFO] [stdout] | [INFO] [stdout] 87 | fn from_source_file_2(source_file: &BufferFile, approx_cache_size: isize, max_undos: isize) -> BufferManager { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn from_source_file_2(source_file: &BufferFile, approx_cache_size: isize, max_undos: isize) -> BufferManager { [INFO] [stdout] 87 + fn from_source_file_2(source_file: &dyn BufferFile, approx_cache_size: isize, max_undos: isize) -> BufferManager { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 93 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ghidra-rs` due to 94 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "07433d0444cffc4227848bee92bad05df9299b684638472959cf1d1b37a7e36a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07433d0444cffc4227848bee92bad05df9299b684638472959cf1d1b37a7e36a", kill_on_drop: false }` [INFO] [stdout] 07433d0444cffc4227848bee92bad05df9299b684638472959cf1d1b37a7e36a