[INFO] cloning repository https://github.com/PathfindersMC/Bedrock-Worlds [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PathfindersMC/Bedrock-Worlds" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPathfindersMC%2FBedrock-Worlds", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPathfindersMC%2FBedrock-Worlds'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80aa1bbad124506852ef9402713dfe25430249bc [INFO] checking PathfindersMC/Bedrock-Worlds against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPathfindersMC%2FBedrock-Worlds" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PathfindersMC/Bedrock-Worlds on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PathfindersMC/Bedrock-Worlds [INFO] finished tweaking git repo https://github.com/PathfindersMC/Bedrock-Worlds [INFO] tweaked toml for git repo https://github.com/PathfindersMC/Bedrock-Worlds written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bindgen v0.54.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca4ff7c53415497f9ef98b236023009ae913585db6ef2166d938dccf4adae3ad [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" "ca4ff7c53415497f9ef98b236023009ae913585db6ef2166d938dccf4adae3ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca4ff7c53415497f9ef98b236023009ae913585db6ef2166d938dccf4adae3ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca4ff7c53415497f9ef98b236023009ae913585db6ef2166d938dccf4adae3ad", kill_on_drop: false }` [INFO] [stdout] ca4ff7c53415497f9ef98b236023009ae913585db6ef2166d938dccf4adae3ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ffd81f3d3e1492fb2ee0a2e7681ab005ce2ff59326ec1458d680274235791fc [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" "1ffd81f3d3e1492fb2ee0a2e7681ab005ce2ff59326ec1458d680274235791fc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bindgen v0.54.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking rustc-demangle v0.1.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking backtrace v0.3.52 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling bedrock_format v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: In file included from ./lib/leveldb/include/leveldb/iterator.h:18, [INFO] [stderr] warning: from lib/leveldb/level.hpp:4, [INFO] [stderr] warning: from lib/leveldb/level.cpp:1: [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h:27:12: error: expected initializer before 'Slice' [INFO] [stderr] warning: 27 | class DLLX Slice { [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h:89:30: error: 'Slice' does not name a type [INFO] [stderr] warning: 89 | inline bool operator==(const Slice& x, const Slice& y) { [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h:89:46: error: 'Slice' does not name a type [INFO] [stderr] warning: 89 | inline bool operator==(const Slice& x, const Slice& y) { [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h:89:13: error: 'bool leveldb::operator==(const int&, const int&)' must have an argument of class or enumerated type [INFO] [stderr] warning: 89 | inline bool operator==(const Slice& x, const Slice& y) { [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h:94:30: error: 'Slice' does not name a type [INFO] [stderr] warning: 94 | inline bool operator!=(const Slice& x, const Slice& y) { [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h:94:46: error: 'Slice' does not name a type [INFO] [stderr] warning: 94 | inline bool operator!=(const Slice& x, const Slice& y) { [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h:94:13: error: 'bool leveldb::operator!=(const int&, const int&)' must have an argument of class or enumerated type [INFO] [stderr] warning: 94 | inline bool operator!=(const Slice& x, const Slice& y) { [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h:98:12: error: 'Slice' has not been declared [INFO] [stderr] warning: 98 | inline int Slice::compare(const Slice& b) const { [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h:98:33: error: 'Slice' does not name a type [INFO] [stderr] warning: 98 | inline int Slice::compare(const Slice& b) const { [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h:98:43: error: non-member function 'int leveldb::compare(const int&)' cannot have cv-qualifier [INFO] [stderr] warning: 98 | inline int Slice::compare(const Slice& b) const { [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h: In function 'int leveldb::compare(const int&)': [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h:99:27: error: 'size_' was not declared in this scope; did you mean 'size_t'? [INFO] [stderr] warning: 99 | const size_t min_len = (size_ < b.size_) ? size_ : b.size_; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: | size_t [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h:99:37: error: request for member 'size_' in 'b', which is of non-class type 'const int' [INFO] [stderr] warning: 99 | const size_t min_len = (size_ < b.size_) ? size_ : b.size_; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h:99:56: error: request for member 'size_' in 'b', which is of non-class type 'const int' [INFO] [stderr] warning: 99 | const size_t min_len = (size_ < b.size_) ? size_ : b.size_; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h:100:18: error: 'data_' was not declared in this scope [INFO] [stderr] warning: 100 | int r = memcmp(data_, b.data_, min_len); [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h:100:27: error: request for member 'data_' in 'b', which is of non-class type 'const int' [INFO] [stderr] warning: 100 | int r = memcmp(data_, b.data_, min_len); [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h:102:19: error: request for member 'size_' in 'b', which is of non-class type 'const int' [INFO] [stderr] warning: 102 | if (size_ < b.size_) r = -1; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/slice.h:103:24: error: request for member 'size_' in 'b', which is of non-class type 'const int' [INFO] [stderr] warning: 103 | else if (size_ > b.size_) r = +1; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: In file included from ./lib/leveldb/include/leveldb/iterator.h:19, [INFO] [stderr] warning: from lib/leveldb/level.hpp:4, [INFO] [stderr] warning: from lib/leveldb/level.cpp:1: [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/status.h: At global scope: [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/status.h:21:12: error: expected initializer before 'Status' [INFO] [stderr] warning: 21 | class DLLX Status { [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/status.h:99:8: error: 'Status' does not name a type [INFO] [stderr] warning: 99 | inline Status::Status(const Status& s) { [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/status.h:102:13: error: 'Status' has not been declared [INFO] [stderr] warning: 102 | inline void Status::operator=(const Status& s) { [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/status.h:102:37: error: 'Status' does not name a type [INFO] [stderr] warning: 102 | inline void Status::operator=(const Status& s) { [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/status.h:102:13: error: 'void leveldb::operator=(const int&)' must be a nonstatic member function [INFO] [stderr] warning: 102 | inline void Status::operator=(const Status& s) { [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: In file included from lib/leveldb/level.hpp:4, [INFO] [stderr] warning: from lib/leveldb/level.cpp:1: [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/iterator.h:23:12: error: expected initializer before 'Iterator' [INFO] [stderr] warning: 23 | class DLLX Iterator { [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/iterator.h:93:8: error: 'Iterator' does not name a type [INFO] [stderr] warning: 93 | extern Iterator* NewEmptyIterator(); [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/iterator.h:96:8: error: 'Iterator' does not name a type [INFO] [stderr] warning: 96 | extern Iterator* NewErrorIterator(const Status& status); [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: In file included from ./lib/leveldb/include/leveldb/db.h:11, [INFO] [stderr] warning: from lib/leveldb/level.hpp:5, [INFO] [stderr] warning: from lib/leveldb/level.cpp:1: [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/options.h:15:12: error: expected initializer before 'Cache' [INFO] [stderr] warning: 15 | class DLLX Cache; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/options.h:16:12: error: expected initializer before 'Comparator' [INFO] [stderr] warning: 16 | class DLLX Comparator; [INFO] [stderr] warning: | ^~~~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/options.h:17:12: error: expected initializer before 'Env' [INFO] [stderr] warning: 17 | class DLLX Env; [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/options.h:18:12: error: expected initializer before 'FilterPolicy' [INFO] [stderr] warning: 18 | class DLLX FilterPolicy; [INFO] [stderr] warning: | ^~~~~~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/options.h:19:12: error: expected initializer before 'Logger' [INFO] [stderr] warning: 19 | class DLLX Logger; [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/options.h:20:12: error: expected initializer before 'Snapshot' [INFO] [stderr] warning: 20 | class DLLX Snapshot; [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/options.h:21:12: error: expected initializer before 'Compressor' [INFO] [stderr] warning: 21 | class DLLX Compressor; [INFO] [stderr] warning: | ^~~~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/options.h:22:12: error: expected initializer before 'DecompressAllocator' [INFO] [stderr] warning: 22 | class DLLX DecompressAllocator; [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/options.h:25:13: error: expected initializer before 'Options' [INFO] [stderr] warning: 25 | struct DLLX Options { [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/options.h:155:13: error: expected initializer before 'ReadOptions' [INFO] [stderr] warning: 155 | struct DLLX ReadOptions { [INFO] [stderr] warning: | ^~~~~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/options.h:186:13: error: expected initializer before 'WriteOptions' [INFO] [stderr] warning: 186 | struct DLLX WriteOptions { [INFO] [stderr] warning: | ^~~~~~~~~~~~ [INFO] [stderr] warning: In file included from lib/leveldb/level.hpp:5, [INFO] [stderr] warning: from lib/leveldb/level.cpp:1: [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/db.h:19:13: error: expected initializer before 'Options' [INFO] [stderr] warning: 19 | struct DLLX Options; [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/db.h:20:13: error: expected initializer before 'ReadOptions' [INFO] [stderr] warning: 20 | struct DLLX ReadOptions; [INFO] [stderr] warning: | ^~~~~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/db.h:21:13: error: expected initializer before 'WriteOptions' [INFO] [stderr] warning: 21 | struct DLLX WriteOptions; [INFO] [stderr] warning: | ^~~~~~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/db.h:22:12: error: expected initializer before 'WriteBatch' [INFO] [stderr] warning: 22 | class DLLX WriteBatch; [INFO] [stderr] warning: | ^~~~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/db.h:27:12: error: expected initializer before 'Snapshot' [INFO] [stderr] warning: 27 | class DLLX Snapshot { [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/db.h:33:13: error: expected initializer before 'Range' [INFO] [stderr] warning: 33 | struct DLLX Range { [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/db.h:44:12: error: expected initializer before 'DB' [INFO] [stderr] warning: 44 | class DLLX DB { [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/db.h:159:13: error: expected initializer before 'Status' [INFO] [stderr] warning: 159 | extern DLLX Status DestroyDB(const std::string& name, const Options& options); [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/db.h:165:13: error: expected initializer before 'Status' [INFO] [stderr] warning: 165 | extern DLLX Status RepairDB(const std::string& dbname, const Options& options); [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: In file included from lib/leveldb/level.hpp:6, [INFO] [stderr] warning: from lib/leveldb/level.cpp:1: [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/cache.h:26:12: error: expected initializer before 'Cache' [INFO] [stderr] warning: 26 | class DLLX Cache; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/cache.h:30:13: error: expected initializer before 'Cache' [INFO] [stderr] warning: 30 | extern DLLX Cache* NewLRUCache(size_t capacity); [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/cache.h:32:12: error: expected initializer before 'Cache' [INFO] [stderr] warning: 32 | class DLLX Cache { [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: In file included from lib/leveldb/level.cpp:1: [INFO] [stderr] warning: lib/leveldb/level.hpp:23:18: error: 'DB' in namespace 'leveldb' does not name a type [INFO] [stderr] warning: 23 | leveldb::DB* db = nullptr; [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: lib/leveldb/level.hpp:24:18: error: 'ReadOptions' in namespace 'leveldb' does not name a type [INFO] [stderr] warning: 24 | leveldb::ReadOptions readOptions; [INFO] [stderr] warning: | ^~~~~~~~~~~ [INFO] [stderr] warning: lib/leveldb/level.hpp:25:18: error: 'WriteOptions' in namespace 'leveldb' does not name a type [INFO] [stderr] warning: 25 | leveldb::WriteOptions writeOptions; [INFO] [stderr] warning: | ^~~~~~~~~~~~ [INFO] [stderr] warning: lib/leveldb/level.hpp:27:18: error: 'Slice' in namespace 'leveldb' does not name a type [INFO] [stderr] warning: 27 | leveldb::Slice slice; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: lib/leveldb/level.hpp:28:18: error: 'Cache' in namespace 'leveldb' does not name a type [INFO] [stderr] warning: 28 | leveldb::Cache* cache; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: In file included from lib/leveldb/level.cpp:6: [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/decompress_allocator.h:11:16: error: expected initializer before 'DecompressAllocator' [INFO] [stderr] warning: 11 | class DLLX DecompressAllocator { [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from ./lib/leveldb/include/leveldb/zlib_compressor.h:4, [INFO] [stderr] warning: from lib/leveldb/level.cpp:7: [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/compressor.h:10:13: error: expected initializer before 'Slice' [INFO] [stderr] warning: 10 | class DLLX Slice; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/compressor.h:12:13: error: expected initializer before 'Compressor' [INFO] [stderr] warning: 12 | class DLLX Compressor [INFO] [stderr] warning: | ^~~~~~~~~~ [INFO] [stderr] warning: In file included from lib/leveldb/level.cpp:7: [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/zlib_compressor.h:8:13: error: expected initializer before 'ZlibCompressorBase' [INFO] [stderr] warning: 8 | class DLLX ZlibCompressorBase : public Compressor [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/zlib_compressor.h:38:13: error: expected initializer before 'ZlibCompressor' [INFO] [stderr] warning: 38 | class DLLX ZlibCompressor : public ZlibCompressorBase { [INFO] [stderr] warning: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/zlib_compressor.h:48:13: error: expected initializer before 'ZlibCompressorRaw' [INFO] [stderr] warning: 48 | class DLLX ZlibCompressorRaw : public ZlibCompressorBase { [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from lib/leveldb/level.cpp:8: [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/filter_policy.h:23:12: error: expected initializer before 'Slice' [INFO] [stderr] warning: 23 | class DLLX Slice; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/filter_policy.h:25:12: error: expected initializer before 'FilterPolicy' [INFO] [stderr] warning: 25 | class DLLX FilterPolicy { [INFO] [stderr] warning: | ^~~~~~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/filter_policy.h:66:13: error: expected initializer before 'const' [INFO] [stderr] warning: 66 | extern DLLX const FilterPolicy* NewBloomFilterPolicy(int bits_per_key); [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: In file included from lib/leveldb/level.cpp:9: [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:24:12: error: expected initializer before 'FileLock' [INFO] [stderr] warning: 24 | class DLLX FileLock; [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:25:12: error: expected initializer before 'Logger' [INFO] [stderr] warning: 25 | class DLLX Logger; [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:26:12: error: expected initializer before 'RandomAccessFile' [INFO] [stderr] warning: 26 | class DLLX RandomAccessFile; [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:27:12: error: expected initializer before 'SequentialFile' [INFO] [stderr] warning: 27 | class DLLX SequentialFile; [INFO] [stderr] warning: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:28:12: error: expected initializer before 'Slice' [INFO] [stderr] warning: 28 | class DLLX Slice; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:29:12: error: expected initializer before 'WritableFile' [INFO] [stderr] warning: 29 | class DLLX WritableFile; [INFO] [stderr] warning: | ^~~~~~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:31:12: error: expected initializer before 'Env' [INFO] [stderr] warning: 31 | class DLLX Env { [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:172:12: error: expected initializer before 'SequentialFile' [INFO] [stderr] warning: 172 | class DLLX SequentialFile { [INFO] [stderr] warning: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:203:12: error: expected initializer before 'RandomAccessFile' [INFO] [stderr] warning: 203 | class DLLX RandomAccessFile { [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:229:12: error: expected initializer before 'WritableFile' [INFO] [stderr] warning: 229 | class DLLX WritableFile { [INFO] [stderr] warning: | ^~~~~~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:246:12: error: expected initializer before 'Logger' [INFO] [stderr] warning: 246 | class DLLX Logger { [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:262:12: error: expected initializer before 'FileLock' [INFO] [stderr] warning: 262 | class DLLX FileLock { [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:273:17: error: variable or field 'Log' declared void [INFO] [stderr] warning: 273 | extern void Log(Logger* info_log, const char* format, ...) [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:273:17: error: 'Logger' was not declared in this scope [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:273:25: error: 'info_log' was not declared in this scope [INFO] [stderr] warning: 273 | extern void Log(Logger* info_log, const char* format, ...) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:273:35: error: expected primary-expression before 'const' [INFO] [stderr] warning: 273 | extern void Log(Logger* info_log, const char* format, ...) [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:273:55: error: expected primary-expression before '...' token [INFO] [stderr] warning: 273 | extern void Log(Logger* info_log, const char* format, ...) [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:275:50: error: attributes after parenthesized initializer ignored [-fpermissive] [INFO] [stderr] warning: 275 | __attribute__((__format__ (__printf__, 2, 3))) [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:280:8: error: 'Status' does not name a type [INFO] [stderr] warning: 280 | extern Status WriteStringToFile(Env* env, const Slice& data, [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:284:8: error: 'Status' does not name a type [INFO] [stderr] warning: 284 | extern Status ReadFileToString(Env* env, const std::string& fname, [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: ./lib/leveldb/include/leveldb/env.h:290:12: error: expected initializer before 'EnvWrapper' [INFO] [stderr] warning: 290 | class DLLX EnvWrapper : public Env { [INFO] [stderr] warning: | ^~~~~~~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:11:43: error: expected class-name before '{' token [INFO] [stderr] warning: 11 | class NullLogger : public leveldb::Logger { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: lib/leveldb/level.cpp:13:14: error: 'void NullLogger::Logv(const char*, __va_list_tag*)' marked 'override', but does not override [INFO] [stderr] warning: 13 | void Logv(const char*, va_list) override {} [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp: In constructor 'Level::Level(const char*)': [INFO] [stderr] warning: lib/leveldb/level.cpp:17:14: error: 'Options' is not a member of 'leveldb' [INFO] [stderr] warning: 17 | leveldb::Options options; [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:18:5: error: 'options' was not declared in this scope [INFO] [stderr] warning: 18 | options.filter_policy = leveldb::NewBloomFilterPolicy(10); [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:18:38: error: 'NewBloomFilterPolicy' is not a member of 'leveldb' [INFO] [stderr] warning: 18 | options.filter_policy = leveldb::NewBloomFilterPolicy(10); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:20:11: error: 'class Level' has no member named 'cache' [INFO] [stderr] warning: 20 | this->cache = leveldb::NewLRUCache(40 * 1024 * 1024); [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:20:28: error: 'NewLRUCache' is not a member of 'leveldb' [INFO] [stderr] warning: 20 | this->cache = leveldb::NewLRUCache(40 * 1024 * 1024); [INFO] [stderr] warning: | ^~~~~~~~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:21:33: error: 'class Level' has no member named 'cache' [INFO] [stderr] warning: 21 | options.block_cache = this->cache; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:26:34: error: expected type-specifier [INFO] [stderr] warning: 26 | options.compressors[0] = new leveldb::ZlibCompressorRaw(); [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:27:34: error: expected type-specifier [INFO] [stderr] warning: 27 | options.compressors[1] = new leveldb::ZlibCompressor(); [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:29:5: error: 'readOptions' was not declared in this scope [INFO] [stderr] warning: 29 | readOptions.decompress_allocator = new leveldb::DecompressAllocator(); [INFO] [stderr] warning: | ^~~~~~~~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:29:44: error: expected type-specifier [INFO] [stderr] warning: 29 | readOptions.decompress_allocator = new leveldb::DecompressAllocator(); [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:33:5: error: 'writeOptions' was not declared in this scope [INFO] [stderr] warning: 33 | writeOptions.sync = true; [INFO] [stderr] warning: | ^~~~~~~~~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:36:14: error: 'Status' is not a member of 'leveldb' [INFO] [stderr] warning: 36 | leveldb::Status status = leveldb::DB::Open(options, path, &this->db); [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:37:9: error: 'status' was not declared in this scope; did you mean 'static'? [INFO] [stderr] warning: 37 | if(!status.ok()) { [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: | static [INFO] [stderr] warning: lib/leveldb/level.cpp:16:26: warning: unused parameter 'path' [-Wunused-parameter] [INFO] [stderr] warning: 16 | Level::Level(const char* path) { [INFO] [stderr] warning: | ~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp: In destructor 'Level::~Level()': [INFO] [stderr] warning: lib/leveldb/level.cpp:62:12: error: 'db' was not declared in this scope [INFO] [stderr] warning: 62 | delete db; [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: lib/leveldb/level.cpp: In member function 'result_t Level::getData(const char*, size_t)': [INFO] [stderr] warning: lib/leveldb/level.cpp:66:11: error: 'Slice' is not a member of 'leveldb' [INFO] [stderr] warning: 66 | leveldb::Slice keySlice = leveldb::Slice(key, len); [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:69:14: error: 'Status' is not a member of 'leveldb' [INFO] [stderr] warning: 69 | leveldb::Status status = db->Get(readOptions, keySlice, &data); [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:70:9: error: 'status' was not declared in this scope; did you mean 'static'? [INFO] [stderr] warning: 70 | if(!status.ok()) { [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: | static [INFO] [stderr] warning: lib/leveldb/level.cpp:65:37: warning: unused parameter 'key' [-Wunused-parameter] [INFO] [stderr] warning: 65 | result_t Level::getData(const char* key, size_t len) { [INFO] [stderr] warning: | ~~~~~~~~~~~~^~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:65:49: warning: unused parameter 'len' [-Wunused-parameter] [INFO] [stderr] warning: 65 | result_t Level::getData(const char* key, size_t len) { [INFO] [stderr] warning: | ~~~~~~~^~~ [INFO] [stderr] warning: lib/leveldb/level.cpp: In member function 'result_t Level::putData(const char*, size_t, const char*, size_t)': [INFO] [stderr] warning: lib/leveldb/level.cpp:90:14: error: 'Status' is not a member of 'leveldb' [INFO] [stderr] warning: 90 | leveldb::Status status = db->Put(writeOptions, leveldb::Slice(key, key_len), leveldb::Slice(data, data_len)); [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:91:9: error: 'status' was not declared in this scope; did you mean 'static'? [INFO] [stderr] warning: 91 | if(!status.ok()) { [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: | static [INFO] [stderr] warning: lib/leveldb/level.cpp:89:37: warning: unused parameter 'key' [-Wunused-parameter] [INFO] [stderr] warning: 89 | result_t Level::putData(const char* key, size_t key_len, const char* data, size_t data_len) { [INFO] [stderr] warning: | ~~~~~~~~~~~~^~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:89:49: warning: unused parameter 'key_len' [-Wunused-parameter] [INFO] [stderr] warning: 89 | result_t Level::putData(const char* key, size_t key_len, const char* data, size_t data_len) { [INFO] [stderr] warning: | ~~~~~~~^~~~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:89:70: warning: unused parameter 'data' [-Wunused-parameter] [INFO] [stderr] warning: 89 | result_t Level::putData(const char* key, size_t key_len, const char* data, size_t data_len) { [INFO] [stderr] warning: | ~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:89:83: warning: unused parameter 'data_len' [-Wunused-parameter] [INFO] [stderr] warning: 89 | result_t Level::putData(const char* key, size_t key_len, const char* data, size_t data_len) { [INFO] [stderr] warning: | ~~~~~~~^~~~~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp: In member function 'result_t Level::deleteData(const char*, size_t)': [INFO] [stderr] warning: lib/leveldb/level.cpp:104:14: error: 'Status' is not a member of 'leveldb' [INFO] [stderr] warning: 104 | leveldb::Status status = db->Delete(writeOptions, leveldb::Slice(key, key_len)); [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:105:9: error: 'status' was not declared in this scope; did you mean 'static'? [INFO] [stderr] warning: 105 | if(!status.ok()) { [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: | static [INFO] [stderr] warning: lib/leveldb/level.cpp:103:40: warning: unused parameter 'key' [-Wunused-parameter] [INFO] [stderr] warning: 103 | result_t Level::deleteData(const char* key, size_t key_len) { [INFO] [stderr] warning: | ~~~~~~~~~~~~^~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:103:52: warning: unused parameter 'key_len' [-Wunused-parameter] [INFO] [stderr] warning: 103 | result_t Level::deleteData(const char* key, size_t key_len) { [INFO] [stderr] warning: | ~~~~~~~^~~~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp: In member function 'void Level::pruneCache()': [INFO] [stderr] warning: lib/leveldb/level.cpp:118:11: error: 'class Level' has no member named 'cache' [INFO] [stderr] warning: 118 | this->cache->Prune(); [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: lib/leveldb/level.cpp:119:24: error: 'class Level' has no member named 'cache' [INFO] [stderr] warning: 119 | std::cout << this->cache->TotalCharge() << std::endl; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `bedrock_format v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/bedrock_format-4d675c3eec71178f/build-script-build` (exit code: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-link-lib=lib/leveldb/leveldb-mcpe [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CXX_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXX_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXX = None [INFO] [stderr] CXX = None [INFO] [stderr] CXXFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CXXFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CXXFLAGS = None [INFO] [stderr] CXXFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [INFO] [stderr] running: "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "./lib/leveldb/include/" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/bedrock_format-18bb6ad52ce2b703/out/lib/leveldb/level.o" "-c" "lib/leveldb/level.cpp" [INFO] [stderr] cargo:warning=In file included from ./lib/leveldb/include/leveldb/iterator.h:18, [INFO] [stderr] cargo:warning= from lib/leveldb/level.hpp:4, [INFO] [stderr] cargo:warning= from lib/leveldb/level.cpp:1: [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h:27:12: error: expected initializer before 'Slice' [INFO] [stderr] cargo:warning= 27 | class DLLX Slice { [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h:89:30: error: 'Slice' does not name a type [INFO] [stderr] cargo:warning= 89 | inline bool operator==(const Slice& x, const Slice& y) { [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h:89:46: error: 'Slice' does not name a type [INFO] [stderr] cargo:warning= 89 | inline bool operator==(const Slice& x, const Slice& y) { [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h:89:13: error: 'bool leveldb::operator==(const int&, const int&)' must have an argument of class or enumerated type [INFO] [stderr] cargo:warning= 89 | inline bool operator==(const Slice& x, const Slice& y) { [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h:94:30: error: 'Slice' does not name a type [INFO] [stderr] cargo:warning= 94 | inline bool operator!=(const Slice& x, const Slice& y) { [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h:94:46: error: 'Slice' does not name a type [INFO] [stderr] cargo:warning= 94 | inline bool operator!=(const Slice& x, const Slice& y) { [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h:94:13: error: 'bool leveldb::operator!=(const int&, const int&)' must have an argument of class or enumerated type [INFO] [stderr] cargo:warning= 94 | inline bool operator!=(const Slice& x, const Slice& y) { [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h:98:12: error: 'Slice' has not been declared [INFO] [stderr] cargo:warning= 98 | inline int Slice::compare(const Slice& b) const { [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h:98:33: error: 'Slice' does not name a type [INFO] [stderr] cargo:warning= 98 | inline int Slice::compare(const Slice& b) const { [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h:98:43: error: non-member function 'int leveldb::compare(const int&)' cannot have cv-qualifier [INFO] [stderr] cargo:warning= 98 | inline int Slice::compare(const Slice& b) const { [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h: In function 'int leveldb::compare(const int&)': [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h:99:27: error: 'size_' was not declared in this scope; did you mean 'size_t'? [INFO] [stderr] cargo:warning= 99 | const size_t min_len = (size_ < b.size_) ? size_ : b.size_; [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning= | size_t [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h:99:37: error: request for member 'size_' in 'b', which is of non-class type 'const int' [INFO] [stderr] cargo:warning= 99 | const size_t min_len = (size_ < b.size_) ? size_ : b.size_; [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h:99:56: error: request for member 'size_' in 'b', which is of non-class type 'const int' [INFO] [stderr] cargo:warning= 99 | const size_t min_len = (size_ < b.size_) ? size_ : b.size_; [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h:100:18: error: 'data_' was not declared in this scope [INFO] [stderr] cargo:warning= 100 | int r = memcmp(data_, b.data_, min_len); [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h:100:27: error: request for member 'data_' in 'b', which is of non-class type 'const int' [INFO] [stderr] cargo:warning= 100 | int r = memcmp(data_, b.data_, min_len); [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h:102:19: error: request for member 'size_' in 'b', which is of non-class type 'const int' [INFO] [stderr] cargo:warning= 102 | if (size_ < b.size_) r = -1; [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/slice.h:103:24: error: request for member 'size_' in 'b', which is of non-class type 'const int' [INFO] [stderr] cargo:warning= 103 | else if (size_ > b.size_) r = +1; [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=In file included from ./lib/leveldb/include/leveldb/iterator.h:19, [INFO] [stderr] cargo:warning= from lib/leveldb/level.hpp:4, [INFO] [stderr] cargo:warning= from lib/leveldb/level.cpp:1: [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/status.h: At global scope: [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/status.h:21:12: error: expected initializer before 'Status' [INFO] [stderr] cargo:warning= 21 | class DLLX Status { [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/status.h:99:8: error: 'Status' does not name a type [INFO] [stderr] cargo:warning= 99 | inline Status::Status(const Status& s) { [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/status.h:102:13: error: 'Status' has not been declared [INFO] [stderr] cargo:warning= 102 | inline void Status::operator=(const Status& s) { [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/status.h:102:37: error: 'Status' does not name a type [INFO] [stderr] cargo:warning= 102 | inline void Status::operator=(const Status& s) { [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/status.h:102:13: error: 'void leveldb::operator=(const int&)' must be a nonstatic member function [INFO] [stderr] cargo:warning= 102 | inline void Status::operator=(const Status& s) { [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=In file included from lib/leveldb/level.hpp:4, [INFO] [stderr] cargo:warning= from lib/leveldb/level.cpp:1: [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/iterator.h:23:12: error: expected initializer before 'Iterator' [INFO] [stderr] cargo:warning= 23 | class DLLX Iterator { [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/iterator.h:93:8: error: 'Iterator' does not name a type [INFO] [stderr] cargo:warning= 93 | extern Iterator* NewEmptyIterator(); [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/iterator.h:96:8: error: 'Iterator' does not name a type [INFO] [stderr] cargo:warning= 96 | extern Iterator* NewErrorIterator(const Status& status); [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=In file included from ./lib/leveldb/include/leveldb/db.h:11, [INFO] [stderr] cargo:warning= from lib/leveldb/level.hpp:5, [INFO] [stderr] cargo:warning= from lib/leveldb/level.cpp:1: [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/options.h:15:12: error: expected initializer before 'Cache' [INFO] [stderr] cargo:warning= 15 | class DLLX Cache; [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/options.h:16:12: error: expected initializer before 'Comparator' [INFO] [stderr] cargo:warning= 16 | class DLLX Comparator; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/options.h:17:12: error: expected initializer before 'Env' [INFO] [stderr] cargo:warning= 17 | class DLLX Env; [INFO] [stderr] cargo:warning= | ^~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/options.h:18:12: error: expected initializer before 'FilterPolicy' [INFO] [stderr] cargo:warning= 18 | class DLLX FilterPolicy; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/options.h:19:12: error: expected initializer before 'Logger' [INFO] [stderr] cargo:warning= 19 | class DLLX Logger; [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/options.h:20:12: error: expected initializer before 'Snapshot' [INFO] [stderr] cargo:warning= 20 | class DLLX Snapshot; [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/options.h:21:12: error: expected initializer before 'Compressor' [INFO] [stderr] cargo:warning= 21 | class DLLX Compressor; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/options.h:22:12: error: expected initializer before 'DecompressAllocator' [INFO] [stderr] cargo:warning= 22 | class DLLX DecompressAllocator; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/options.h:25:13: error: expected initializer before 'Options' [INFO] [stderr] cargo:warning= 25 | struct DLLX Options { [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/options.h:155:13: error: expected initializer before 'ReadOptions' [INFO] [stderr] cargo:warning= 155 | struct DLLX ReadOptions { [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/options.h:186:13: error: expected initializer before 'WriteOptions' [INFO] [stderr] cargo:warning= 186 | struct DLLX WriteOptions { [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~ [INFO] [stderr] cargo:warning=In file included from lib/leveldb/level.hpp:5, [INFO] [stderr] cargo:warning= from lib/leveldb/level.cpp:1: [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/db.h:19:13: error: expected initializer before 'Options' [INFO] [stderr] cargo:warning= 19 | struct DLLX Options; [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/db.h:20:13: error: expected initializer before 'ReadOptions' [INFO] [stderr] cargo:warning= 20 | struct DLLX ReadOptions; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/db.h:21:13: error: expected initializer before 'WriteOptions' [INFO] [stderr] cargo:warning= 21 | struct DLLX WriteOptions; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/db.h:22:12: error: expected initializer before 'WriteBatch' [INFO] [stderr] cargo:warning= 22 | class DLLX WriteBatch; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/db.h:27:12: error: expected initializer before 'Snapshot' [INFO] [stderr] cargo:warning= 27 | class DLLX Snapshot { [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/db.h:33:13: error: expected initializer before 'Range' [INFO] [stderr] cargo:warning= 33 | struct DLLX Range { [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/db.h:44:12: error: expected initializer before 'DB' [INFO] [stderr] cargo:warning= 44 | class DLLX DB { [INFO] [stderr] cargo:warning= | ^~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/db.h:159:13: error: expected initializer before 'Status' [INFO] [stderr] cargo:warning= 159 | extern DLLX Status DestroyDB(const std::string& name, const Options& options); [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/db.h:165:13: error: expected initializer before 'Status' [INFO] [stderr] cargo:warning= 165 | extern DLLX Status RepairDB(const std::string& dbname, const Options& options); [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=In file included from lib/leveldb/level.hpp:6, [INFO] [stderr] cargo:warning= from lib/leveldb/level.cpp:1: [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/cache.h:26:12: error: expected initializer before 'Cache' [INFO] [stderr] cargo:warning= 26 | class DLLX Cache; [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/cache.h:30:13: error: expected initializer before 'Cache' [INFO] [stderr] cargo:warning= 30 | extern DLLX Cache* NewLRUCache(size_t capacity); [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/cache.h:32:12: error: expected initializer before 'Cache' [INFO] [stderr] cargo:warning= 32 | class DLLX Cache { [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=In file included from lib/leveldb/level.cpp:1: [INFO] [stderr] cargo:warning=lib/leveldb/level.hpp:23:18: error: 'DB' in namespace 'leveldb' does not name a type [INFO] [stderr] cargo:warning= 23 | leveldb::DB* db = nullptr; [INFO] [stderr] cargo:warning= | ^~ [INFO] [stderr] cargo:warning=lib/leveldb/level.hpp:24:18: error: 'ReadOptions' in namespace 'leveldb' does not name a type [INFO] [stderr] cargo:warning= 24 | leveldb::ReadOptions readOptions; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.hpp:25:18: error: 'WriteOptions' in namespace 'leveldb' does not name a type [INFO] [stderr] cargo:warning= 25 | leveldb::WriteOptions writeOptions; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.hpp:27:18: error: 'Slice' in namespace 'leveldb' does not name a type [INFO] [stderr] cargo:warning= 27 | leveldb::Slice slice; [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.hpp:28:18: error: 'Cache' in namespace 'leveldb' does not name a type [INFO] [stderr] cargo:warning= 28 | leveldb::Cache* cache; [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=In file included from lib/leveldb/level.cpp:6: [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/decompress_allocator.h:11:16: error: expected initializer before 'DecompressAllocator' [INFO] [stderr] cargo:warning= 11 | class DLLX DecompressAllocator { [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=In file included from ./lib/leveldb/include/leveldb/zlib_compressor.h:4, [INFO] [stderr] cargo:warning= from lib/leveldb/level.cpp:7: [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/compressor.h:10:13: error: expected initializer before 'Slice' [INFO] [stderr] cargo:warning= 10 | class DLLX Slice; [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/compressor.h:12:13: error: expected initializer before 'Compressor' [INFO] [stderr] cargo:warning= 12 | class DLLX Compressor [INFO] [stderr] cargo:warning= | ^~~~~~~~~~ [INFO] [stderr] cargo:warning=In file included from lib/leveldb/level.cpp:7: [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/zlib_compressor.h:8:13: error: expected initializer before 'ZlibCompressorBase' [INFO] [stderr] cargo:warning= 8 | class DLLX ZlibCompressorBase : public Compressor [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/zlib_compressor.h:38:13: error: expected initializer before 'ZlibCompressor' [INFO] [stderr] cargo:warning= 38 | class DLLX ZlibCompressor : public ZlibCompressorBase { [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/zlib_compressor.h:48:13: error: expected initializer before 'ZlibCompressorRaw' [INFO] [stderr] cargo:warning= 48 | class DLLX ZlibCompressorRaw : public ZlibCompressorBase { [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=In file included from lib/leveldb/level.cpp:8: [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/filter_policy.h:23:12: error: expected initializer before 'Slice' [INFO] [stderr] cargo:warning= 23 | class DLLX Slice; [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/filter_policy.h:25:12: error: expected initializer before 'FilterPolicy' [INFO] [stderr] cargo:warning= 25 | class DLLX FilterPolicy { [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/filter_policy.h:66:13: error: expected initializer before 'const' [INFO] [stderr] cargo:warning= 66 | extern DLLX const FilterPolicy* NewBloomFilterPolicy(int bits_per_key); [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=In file included from lib/leveldb/level.cpp:9: [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:24:12: error: expected initializer before 'FileLock' [INFO] [stderr] cargo:warning= 24 | class DLLX FileLock; [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:25:12: error: expected initializer before 'Logger' [INFO] [stderr] cargo:warning= 25 | class DLLX Logger; [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:26:12: error: expected initializer before 'RandomAccessFile' [INFO] [stderr] cargo:warning= 26 | class DLLX RandomAccessFile; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:27:12: error: expected initializer before 'SequentialFile' [INFO] [stderr] cargo:warning= 27 | class DLLX SequentialFile; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:28:12: error: expected initializer before 'Slice' [INFO] [stderr] cargo:warning= 28 | class DLLX Slice; [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:29:12: error: expected initializer before 'WritableFile' [INFO] [stderr] cargo:warning= 29 | class DLLX WritableFile; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:31:12: error: expected initializer before 'Env' [INFO] [stderr] cargo:warning= 31 | class DLLX Env { [INFO] [stderr] cargo:warning= | ^~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:172:12: error: expected initializer before 'SequentialFile' [INFO] [stderr] cargo:warning= 172 | class DLLX SequentialFile { [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:203:12: error: expected initializer before 'RandomAccessFile' [INFO] [stderr] cargo:warning= 203 | class DLLX RandomAccessFile { [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:229:12: error: expected initializer before 'WritableFile' [INFO] [stderr] cargo:warning= 229 | class DLLX WritableFile { [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:246:12: error: expected initializer before 'Logger' [INFO] [stderr] cargo:warning= 246 | class DLLX Logger { [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:262:12: error: expected initializer before 'FileLock' [INFO] [stderr] cargo:warning= 262 | class DLLX FileLock { [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:273:17: error: variable or field 'Log' declared void [INFO] [stderr] cargo:warning= 273 | extern void Log(Logger* info_log, const char* format, ...) [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:273:17: error: 'Logger' was not declared in this scope [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:273:25: error: 'info_log' was not declared in this scope [INFO] [stderr] cargo:warning= 273 | extern void Log(Logger* info_log, const char* format, ...) [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:273:35: error: expected primary-expression before 'const' [INFO] [stderr] cargo:warning= 273 | extern void Log(Logger* info_log, const char* format, ...) [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:273:55: error: expected primary-expression before '...' token [INFO] [stderr] cargo:warning= 273 | extern void Log(Logger* info_log, const char* format, ...) [INFO] [stderr] cargo:warning= | ^~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:275:50: error: attributes after parenthesized initializer ignored [-fpermissive] [INFO] [stderr] cargo:warning= 275 | __attribute__((__format__ (__printf__, 2, 3))) [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:280:8: error: 'Status' does not name a type [INFO] [stderr] cargo:warning= 280 | extern Status WriteStringToFile(Env* env, const Slice& data, [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:284:8: error: 'Status' does not name a type [INFO] [stderr] cargo:warning= 284 | extern Status ReadFileToString(Env* env, const std::string& fname, [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=./lib/leveldb/include/leveldb/env.h:290:12: error: expected initializer before 'EnvWrapper' [INFO] [stderr] cargo:warning= 290 | class DLLX EnvWrapper : public Env { [INFO] [stderr] cargo:warning= | ^~~~~~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:11:43: error: expected class-name before '{' token [INFO] [stderr] cargo:warning= 11 | class NullLogger : public leveldb::Logger { [INFO] [stderr] cargo:warning= | ^ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:13:14: error: 'void NullLogger::Logv(const char*, __va_list_tag*)' marked 'override', but does not override [INFO] [stderr] cargo:warning= 13 | void Logv(const char*, va_list) override {} [INFO] [stderr] cargo:warning= | ^~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp: In constructor 'Level::Level(const char*)': [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:17:14: error: 'Options' is not a member of 'leveldb' [INFO] [stderr] cargo:warning= 17 | leveldb::Options options; [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:18:5: error: 'options' was not declared in this scope [INFO] [stderr] cargo:warning= 18 | options.filter_policy = leveldb::NewBloomFilterPolicy(10); [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:18:38: error: 'NewBloomFilterPolicy' is not a member of 'leveldb' [INFO] [stderr] cargo:warning= 18 | options.filter_policy = leveldb::NewBloomFilterPolicy(10); [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:20:11: error: 'class Level' has no member named 'cache' [INFO] [stderr] cargo:warning= 20 | this->cache = leveldb::NewLRUCache(40 * 1024 * 1024); [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:20:28: error: 'NewLRUCache' is not a member of 'leveldb' [INFO] [stderr] cargo:warning= 20 | this->cache = leveldb::NewLRUCache(40 * 1024 * 1024); [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:21:33: error: 'class Level' has no member named 'cache' [INFO] [stderr] cargo:warning= 21 | options.block_cache = this->cache; [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:26:34: error: expected type-specifier [INFO] [stderr] cargo:warning= 26 | options.compressors[0] = new leveldb::ZlibCompressorRaw(); [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:27:34: error: expected type-specifier [INFO] [stderr] cargo:warning= 27 | options.compressors[1] = new leveldb::ZlibCompressor(); [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:29:5: error: 'readOptions' was not declared in this scope [INFO] [stderr] cargo:warning= 29 | readOptions.decompress_allocator = new leveldb::DecompressAllocator(); [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:29:44: error: expected type-specifier [INFO] [stderr] cargo:warning= 29 | readOptions.decompress_allocator = new leveldb::DecompressAllocator(); [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:33:5: error: 'writeOptions' was not declared in this scope [INFO] [stderr] cargo:warning= 33 | writeOptions.sync = true; [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:36:14: error: 'Status' is not a member of 'leveldb' [INFO] [stderr] cargo:warning= 36 | leveldb::Status status = leveldb::DB::Open(options, path, &this->db); [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:37:9: error: 'status' was not declared in this scope; did you mean 'static'? [INFO] [stderr] cargo:warning= 37 | if(!status.ok()) { [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning= | static [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:16:26: warning: unused parameter 'path' [-Wunused-parameter] [INFO] [stderr] cargo:warning= 16 | Level::Level(const char* path) { [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~^~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp: In destructor 'Level::~Level()': [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:62:12: error: 'db' was not declared in this scope [INFO] [stderr] cargo:warning= 62 | delete db; [INFO] [stderr] cargo:warning= | ^~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp: In member function 'result_t Level::getData(const char*, size_t)': [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:66:11: error: 'Slice' is not a member of 'leveldb' [INFO] [stderr] cargo:warning= 66 | leveldb::Slice keySlice = leveldb::Slice(key, len); [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:69:14: error: 'Status' is not a member of 'leveldb' [INFO] [stderr] cargo:warning= 69 | leveldb::Status status = db->Get(readOptions, keySlice, &data); [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:70:9: error: 'status' was not declared in this scope; did you mean 'static'? [INFO] [stderr] cargo:warning= 70 | if(!status.ok()) { [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning= | static [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:65:37: warning: unused parameter 'key' [-Wunused-parameter] [INFO] [stderr] cargo:warning= 65 | result_t Level::getData(const char* key, size_t len) { [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~^~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:65:49: warning: unused parameter 'len' [-Wunused-parameter] [INFO] [stderr] cargo:warning= 65 | result_t Level::getData(const char* key, size_t len) { [INFO] [stderr] cargo:warning= | ~~~~~~~^~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp: In member function 'result_t Level::putData(const char*, size_t, const char*, size_t)': [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:90:14: error: 'Status' is not a member of 'leveldb' [INFO] [stderr] cargo:warning= 90 | leveldb::Status status = db->Put(writeOptions, leveldb::Slice(key, key_len), leveldb::Slice(data, data_len)); [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:91:9: error: 'status' was not declared in this scope; did you mean 'static'? [INFO] [stderr] cargo:warning= 91 | if(!status.ok()) { [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning= | static [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:89:37: warning: unused parameter 'key' [-Wunused-parameter] [INFO] [stderr] cargo:warning= 89 | result_t Level::putData(const char* key, size_t key_len, const char* data, size_t data_len) { [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~^~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:89:49: warning: unused parameter 'key_len' [-Wunused-parameter] [INFO] [stderr] cargo:warning= 89 | result_t Level::putData(const char* key, size_t key_len, const char* data, size_t data_len) { [INFO] [stderr] cargo:warning= | ~~~~~~~^~~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:89:70: warning: unused parameter 'data' [-Wunused-parameter] [INFO] [stderr] cargo:warning= 89 | result_t Level::putData(const char* key, size_t key_len, const char* data, size_t data_len) { [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~^~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:89:83: warning: unused parameter 'data_len' [-Wunused-parameter] [INFO] [stderr] cargo:warning= 89 | result_t Level::putData(const char* key, size_t key_len, const char* data, size_t data_len) { [INFO] [stderr] cargo:warning= | ~~~~~~~^~~~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp: In member function 'result_t Level::deleteData(const char*, size_t)': [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:104:14: error: 'Status' is not a member of 'leveldb' [INFO] [stderr] cargo:warning= 104 | leveldb::Status status = db->Delete(writeOptions, leveldb::Slice(key, key_len)); [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:105:9: error: 'status' was not declared in this scope; did you mean 'static'? [INFO] [stderr] cargo:warning= 105 | if(!status.ok()) { [INFO] [stderr] cargo:warning= | ^~~~~~ [INFO] [stderr] cargo:warning= | static [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:103:40: warning: unused parameter 'key' [-Wunused-parameter] [INFO] [stderr] cargo:warning= 103 | result_t Level::deleteData(const char* key, size_t key_len) { [INFO] [stderr] cargo:warning= | ~~~~~~~~~~~~^~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:103:52: warning: unused parameter 'key_len' [-Wunused-parameter] [INFO] [stderr] cargo:warning= 103 | result_t Level::deleteData(const char* key, size_t key_len) { [INFO] [stderr] cargo:warning= | ~~~~~~~^~~~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp: In member function 'void Level::pruneCache()': [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:118:11: error: 'class Level' has no member named 'cache' [INFO] [stderr] cargo:warning= 118 | this->cache->Prune(); [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] cargo:warning=lib/leveldb/level.cpp:119:24: error: 'class Level' has no member named 'cache' [INFO] [stderr] cargo:warning= 119 | std::cout << this->cache->TotalCharge() << std::endl; [INFO] [stderr] cargo:warning= | ^~~~~ [INFO] [stderr] exit code: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "./lib/leveldb/include/" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/bedrock_format-18bb6ad52ce2b703/out/lib/leveldb/level.o" "-c" "lib/leveldb/level.cpp" with args "c++" did not execute successfully (status code exit code: 1). [INFO] [stderr] [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "1ffd81f3d3e1492fb2ee0a2e7681ab005ce2ff59326ec1458d680274235791fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ffd81f3d3e1492fb2ee0a2e7681ab005ce2ff59326ec1458d680274235791fc", kill_on_drop: false }` [INFO] [stdout] 1ffd81f3d3e1492fb2ee0a2e7681ab005ce2ff59326ec1458d680274235791fc