[INFO] cloning repository https://github.com/andresrsanchez/sqlite-lsm1-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andresrsanchez/sqlite-lsm1-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandresrsanchez%2Fsqlite-lsm1-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandresrsanchez%2Fsqlite-lsm1-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f87d9d4c8ae9d369044e820d3d189ab7ce103d01 [INFO] checking andresrsanchez/sqlite-lsm1-rust against master#6f40082313d8374bdf962aba943a712d5322fae6 for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandresrsanchez%2Fsqlite-lsm1-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andresrsanchez/sqlite-lsm1-rust on toolchain 6f40082313d8374bdf962aba943a712d5322fae6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f40082313d8374bdf962aba943a712d5322fae6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andresrsanchez/sqlite-lsm1-rust [INFO] finished tweaking git repo https://github.com/andresrsanchez/sqlite-lsm1-rust [INFO] tweaked toml for git repo https://github.com/andresrsanchez/sqlite-lsm1-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/andresrsanchez/sqlite-lsm1-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f40082313d8374bdf962aba943a712d5322fae6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking andresrsanchez/sqlite-lsm1-rust against try#57fd74335bb14b59b719dc3cc5bc4257e73f33ce for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandresrsanchez%2Fsqlite-lsm1-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andresrsanchez/sqlite-lsm1-rust on toolchain 57fd74335bb14b59b719dc3cc5bc4257e73f33ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andresrsanchez/sqlite-lsm1-rust [INFO] finished tweaking git repo https://github.com/andresrsanchez/sqlite-lsm1-rust [INFO] tweaked toml for git repo https://github.com/andresrsanchez/sqlite-lsm1-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/andresrsanchez/sqlite-lsm1-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking andresrsanchez/sqlite-lsm1-rust against try#57fd74335bb14b59b719dc3cc5bc4257e73f33ce for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandresrsanchez%2Fsqlite-lsm1-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andresrsanchez/sqlite-lsm1-rust on toolchain 57fd74335bb14b59b719dc3cc5bc4257e73f33ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andresrsanchez/sqlite-lsm1-rust [INFO] finished tweaking git repo https://github.com/andresrsanchez/sqlite-lsm1-rust [INFO] tweaked toml for git repo https://github.com/andresrsanchez/sqlite-lsm1-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/andresrsanchez/sqlite-lsm1-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd0e545c4fbb510a06c32a8cd24faa5ca2ab7d811a699358fa9297a5c672c906 [INFO] running `Command { std: "docker" "start" "-a" "cd0e545c4fbb510a06c32a8cd24faa5ca2ab7d811a699358fa9297a5c672c906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd0e545c4fbb510a06c32a8cd24faa5ca2ab7d811a699358fa9297a5c672c906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd0e545c4fbb510a06c32a8cd24faa5ca2ab7d811a699358fa9297a5c672c906", kill_on_drop: false }` [INFO] [stdout] cd0e545c4fbb510a06c32a8cd24faa5ca2ab7d811a699358fa9297a5c672c906 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7614fa9ff9d54ce22d193b2f907ae200f41ecaf4ec5a6bd980315d2cbd673967 [INFO] running `Command { std: "docker" "start" "-a" "7614fa9ff9d54ce22d193b2f907ae200f41ecaf4ec5a6bd980315d2cbd673967", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling dummycrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsmInt.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsm.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_ckpt.c: In function 'lsmCheckpointLoad': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_ckpt.c:875:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: dummycrust@0.1.0: 875 | if( nInt<=(LSM_META_RW_PAGE_SIZE / sizeof(u32)) ){ [INFO] [stderr] warning: dummycrust@0.1.0: | ^~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_ckpt.c:884:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: dummycrust@0.1.0: 884 | if( nInt<=(LSM_META_RW_PAGE_SIZE / sizeof(u32)) ){ [INFO] [stderr] warning: dummycrust@0.1.0: | ^~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_ckpt.c: In function 'lsmCheckpointSynced': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_ckpt.c:1127:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: dummycrust@0.1.0: 1127 | if( nCkpt<(LSM_META_RW_PAGE_SIZE/sizeof(u32)) ){ [INFO] [stderr] warning: dummycrust@0.1.0: | ^ [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsmInt.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsm.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_file.c: In function 'assert_lists_are_ok': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_file.c:337:45: warning: unused parameter 'pFS' [-Wunused-parameter] [INFO] [stderr] warning: dummycrust@0.1.0: 337 | static void assert_lists_are_ok(FileSystem *pFS){ [INFO] [stderr] warning: dummycrust@0.1.0: | ~~~~~~~~~~~~^~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_file.c: In function 'lsmFsSyncDb': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_file.c:1167:38: warning: unused parameter 'nBlock' [-Wunused-parameter] [INFO] [stderr] warning: dummycrust@0.1.0: 1167 | int lsmFsSyncDb(FileSystem *pFS, int nBlock){ [INFO] [stderr] warning: dummycrust@0.1.0: | ~~~~^~~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_file.c: In function 'lsmFsSortedAppend': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_file.c:2099:13: warning: unused parameter 'pSnapshot' [-Wunused-parameter] [INFO] [stderr] warning: dummycrust@0.1.0: 2099 | Snapshot *pSnapshot, [INFO] [stderr] warning: dummycrust@0.1.0: | ~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_file.c: In function 'lsmFsSortedPadding': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_file.c:2807:13: warning: unused parameter 'pSnapshot' [-Wunused-parameter] [INFO] [stderr] warning: dummycrust@0.1.0: 2807 | Snapshot *pSnapshot, [INFO] [stderr] warning: dummycrust@0.1.0: | ~~~~~~~~~~^~~~~~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_file.c: In function 'lsmFsSegmentContainsPg': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_file.c:3043:11: warning: unused parameter 'iPg' [-Wunused-parameter] [INFO] [stderr] warning: dummycrust@0.1.0: 3043 | LsmPgno iPg, [INFO] [stderr] warning: dummycrust@0.1.0: | ~~~~~~~~^~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_file.c: In function 'checkBlocks': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_file.c:3155:7: warning: unused parameter 'nUsed' [-Wunused-parameter] [INFO] [stderr] warning: dummycrust@0.1.0: 3155 | int nUsed, [INFO] [stderr] warning: dummycrust@0.1.0: | ~~~~^~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_file.c: In function 'checkFreelistCb': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_file.c:3226:54: warning: unused parameter 'iSnapshot' [-Wunused-parameter] [INFO] [stderr] warning: dummycrust@0.1.0: 3226 | static int checkFreelistCb(void *pCtx, int iBlk, i64 iSnapshot){ [INFO] [stderr] warning: dummycrust@0.1.0: | ~~~~^~~~~~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsmInt.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsm.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsmInt.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsm.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsmInt.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsm.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsmInt.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsm.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsmInt.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsm.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_shared.c: In function 'dbTruncate': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_shared.c:178:31: warning: unused parameter 'pDb' [-Wunused-parameter] [INFO] [stderr] warning: dummycrust@0.1.0: 178 | static int dbTruncate(lsm_db *pDb, i64 iInUse){ [INFO] [stderr] warning: dummycrust@0.1.0: | ~~~~~~~~^~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_shared.c:178:40: warning: unused parameter 'iInUse' [-Wunused-parameter] [INFO] [stderr] warning: dummycrust@0.1.0: 178 | static int dbTruncate(lsm_db *pDb, i64 iInUse){ [INFO] [stderr] warning: dummycrust@0.1.0: | ~~~~^~~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_shared.c: In function 'lsmShmLock': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_shared.c:1782:7: warning: unused parameter 'bBlock' [-Wunused-parameter] [INFO] [stderr] warning: dummycrust@0.1.0: 1782 | int bBlock /* True for a blocking lock */ [INFO] [stderr] warning: dummycrust@0.1.0: | ~~~~^~~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsmInt.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsm.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_sorted.c: In function 'btreeCursorRestore': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_sorted.c:869:7: warning: missing initializer for field 'nAlloc' of 'LsmBlob' [-Wmissing-field-initializers] [INFO] [stderr] warning: dummycrust@0.1.0: 869 | LsmBlob blob = {0,0,0}; [INFO] [stderr] warning: dummycrust@0.1.0: | ^~~~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_sorted.c:113:7: note: 'nAlloc' declared here [INFO] [stderr] warning: dummycrust@0.1.0: 113 | int nAlloc; [INFO] [stderr] warning: dummycrust@0.1.0: | ^~~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_sorted.c: In function 'seekInBtree': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_sorted.c:1778:3: warning: missing initializer for field 'nAlloc' of 'LsmBlob' [-Wmissing-field-initializers] [INFO] [stderr] warning: dummycrust@0.1.0: 1778 | LsmBlob blob = {0, 0, 0}; [INFO] [stderr] warning: dummycrust@0.1.0: | ^~~~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_sorted.c:113:7: note: 'nAlloc' declared here [INFO] [stderr] warning: dummycrust@0.1.0: 113 | int nAlloc; [INFO] [stderr] warning: dummycrust@0.1.0: | ^~~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_sorted.c: In function 'mergeWorkerMoveHierarchy': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_sorted.c:3396:7: warning: unused parameter 'bSep' [-Wunused-parameter] [INFO] [stderr] warning: dummycrust@0.1.0: 3396 | int bSep /* True for separators run */ [INFO] [stderr] warning: dummycrust@0.1.0: | ~~~~^~~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_sorted.c: In function 'mergeWorkerData': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_sorted.c:3874:7: warning: unused parameter 'bSep' [-Wunused-parameter] [INFO] [stderr] warning: dummycrust@0.1.0: 3874 | int bSep, /* True to write to separators run */ [INFO] [stderr] warning: dummycrust@0.1.0: | ~~~~^~~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_sorted.c: In function 'moveBlockCb': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_sorted.c:4770:50: warning: unused parameter 'iSnapshot' [-Wunused-parameter] [INFO] [stderr] warning: dummycrust@0.1.0: 4770 | static int moveBlockCb(void *pCtx, int iBlk, i64 iSnapshot){ [INFO] [stderr] warning: dummycrust@0.1.0: | ~~~~^~~~~~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_sorted.c: In function 'sortedDumpPage': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_sorted.c:5534:3: warning: missing initializer for field 'nAlloc' of 'LsmBlob' [-Wmissing-field-initializers] [INFO] [stderr] warning: dummycrust@0.1.0: 5534 | LsmBlob blob = {0, 0, 0}; /* LsmBlob used for keys */ [INFO] [stderr] warning: dummycrust@0.1.0: | ^~~~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_sorted.c:113:7: note: 'nAlloc' declared here [INFO] [stderr] warning: dummycrust@0.1.0: 113 | int nAlloc; [INFO] [stderr] warning: dummycrust@0.1.0: | ^~~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsmInt.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsm.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsmInt.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsm.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_tree.c: In function 'intArrayFree': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_tree.c:240:35: warning: unused parameter 'pEnv' [-Wunused-parameter] [INFO] [stderr] warning: dummycrust@0.1.0: 240 | static void intArrayFree(lsm_env *pEnv, IntArray *p){ [INFO] [stderr] warning: dummycrust@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: dummycrust@0.1.0: In file included from src/lsmInt.h:18, [INFO] [stderr] warning: dummycrust@0.1.0: from src/lsm_tree.c:85: [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_tree.c: In function 'getChildPtr': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_tree.c:282:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: dummycrust@0.1.0: 282 | assert( iCell>=0 && iCell<=array_size(p->aiChildPtr) ); [INFO] [stderr] warning: dummycrust@0.1.0: | ^~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_tree.c: In function 'treeShmalloc': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_tree.c:628:5: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] [INFO] [stderr] warning: dummycrust@0.1.0: 628 | const static int CHUNK_SIZE = LSM_SHM_CHUNK_SIZE; [INFO] [stderr] warning: dummycrust@0.1.0: | ^~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_tree.c:629:5: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] [INFO] [stderr] warning: dummycrust@0.1.0: 629 | const static int CHUNK_HDR = LSM_SHM_CHUNK_HDR; [INFO] [stderr] warning: dummycrust@0.1.0: | ^~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_tree.c: In function 'treeHeaderChecksum': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_tree.c:1147:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: dummycrust@0.1.0: 1147 | for(i=0; i<(offsetof(TreeHeader, aCksum) / sizeof(u32)); i+=2){ [INFO] [stderr] warning: dummycrust@0.1.0: | ^ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_tree.c: In function 'lsmTreeEndTransaction': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_tree.c:2411:44: warning: unused parameter 'bCommit' [-Wunused-parameter] [INFO] [stderr] warning: dummycrust@0.1.0: 2411 | int lsmTreeEndTransaction(lsm_db *pDb, int bCommit){ [INFO] [stderr] warning: dummycrust@0.1.0: | ~~~~^~~~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsmInt.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: cc1: warning: src/lsm.h: not a directory [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_unix.c: In function 'lsmPosixOsSectorSize': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_unix.c:193:43: warning: unused parameter 'pFile' [-Wunused-parameter] [INFO] [stderr] warning: dummycrust@0.1.0: 193 | static int lsmPosixOsSectorSize(lsm_file *pFile){ [INFO] [stderr] warning: dummycrust@0.1.0: | ~~~~~~~~~~^~~~~ [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_unix.c: In function 'lsmPosixOsUnlink': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_unix.c:307:38: warning: unused parameter 'pEnv' [-Wunused-parameter] [INFO] [stderr] warning: dummycrust@0.1.0: 307 | static int lsmPosixOsUnlink(lsm_env *pEnv, const char *zFile){ [INFO] [stderr] warning: dummycrust@0.1.0: | ~~~~~~~~~^~~~ [INFO] [stderr] warning: dummycrust@0.1.0: In file included from src/lsmInt.h:18, [INFO] [stderr] warning: dummycrust@0.1.0: from src/lsm_unix.c:42: [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_unix.c: In function 'lsmPosixOsLock': [INFO] [stderr] warning: dummycrust@0.1.0: src/lsm_unix.c:321:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: dummycrust@0.1.0: 321 | assert( eType>=0 && eType=0 && eType::from_raw` that must be used [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | to_raw!(i8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `to_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | to_raw!(i16); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `to_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | to_raw!(i32); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `to_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | to_raw!(i64); //test [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `to_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | to_raw!(u8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `to_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | to_raw!(u16); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `to_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | to_raw!(u32); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `to_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | to_raw!(u64); //test [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `to_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | to_raw!(i8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `to_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | to_raw!(i16); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `to_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | to_raw!(i32); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `to_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | to_raw!(i64); //test [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `to_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | to_raw!(u8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `to_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | to_raw!(u16); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `to_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | to_raw!(u32); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `to_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | to_raw!(u64); //test [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `to_raw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | lsm.insert("1", "1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 306 | let _ = lsm.insert("1", "1"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | lsm.insert("2", "2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 307 | let _ = lsm.insert("2", "2"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | lsm.insert("1".to_string(), "1".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 318 | let _ = lsm.insert("1".to_string(), "1".to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | lsm.insert("2".to_string(), "2".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 319 | let _ = lsm.insert("2".to_string(), "2".to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | lsm.insert(k.as_str(), v.as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 338 | let _ = lsm.insert(k.as_str(), v.as_str()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.96s [INFO] running `Command { std: "docker" "inspect" "7614fa9ff9d54ce22d193b2f907ae200f41ecaf4ec5a6bd980315d2cbd673967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7614fa9ff9d54ce22d193b2f907ae200f41ecaf4ec5a6bd980315d2cbd673967", kill_on_drop: false }` [INFO] [stdout] 7614fa9ff9d54ce22d193b2f907ae200f41ecaf4ec5a6bd980315d2cbd673967