[INFO] cloning repository https://github.com/adrq/TileFS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adrq/TileFS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrq%2FTileFS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrq%2FTileFS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 443dc27e9487722c55c7827209fde137cfc44ff9 [INFO] checking adrq/TileFS against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrq%2FTileFS" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adrq/TileFS on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-8/source/.cargo/config [INFO] started tweaking git repo https://github.com/adrq/TileFS [INFO] finished tweaking git repo https://github.com/adrq/TileFS [INFO] tweaked toml for git repo https://github.com/adrq/TileFS written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/adrq/TileFS already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98332bd6026c1b8e480de72f5b56f993dc5049e599e414b7b75493e77228f76c [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" "98332bd6026c1b8e480de72f5b56f993dc5049e599e414b7b75493e77228f76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98332bd6026c1b8e480de72f5b56f993dc5049e599e414b7b75493e77228f76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98332bd6026c1b8e480de72f5b56f993dc5049e599e414b7b75493e77228f76c", kill_on_drop: false }` [INFO] [stdout] 98332bd6026c1b8e480de72f5b56f993dc5049e599e414b7b75493e77228f76c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7cb86855b31f87a8eb11128c528ddfadc1b920d098409f8a4fe3b44cbfde737 [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" "c7cb86855b31f87a8eb11128c528ddfadc1b920d098409f8a4fe3b44cbfde737", kill_on_drop: false }` [INFO] [stderr] Compiling tilefs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] warning: src/mosaicfs.c: In function 'mosaicfs_open': [INFO] [stderr] warning: src/mosaicfs.c:179:60: warning: unused parameter 'fi' [-Wunused-parameter] [INFO] [stderr] warning: 179 | int mosaicfs_open(const char *path, struct fuse_file_info *fi) [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: src/mosaicfs.c: In function 'mosaicfs_release': [INFO] [stderr] warning: src/mosaicfs.c:188:65: warning: unused parameter 'fi' [-Wunused-parameter] [INFO] [stderr] warning: 188 | int mosaicfs_release(const char * path, struct fuse_file_info * fi) [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: In file included from src/mosaicfs.c:1: [INFO] [stderr] warning: src/mosaicfs.c: In function 'mosaicfs_read': [INFO] [stderr] warning: src/mosaicfs.h:16:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] [INFO] [stderr] warning: 16 | #define min(a,b) (((a)<(b))?(a):(b)) [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/mosaicfs.c:208:12: note: in expansion of macro 'min' [INFO] [stderr] warning: 208 | size = min( size, max(mosaic.size-offset,(off_t)0) ); [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: src/mosaicfs.h:16:33: warning: operand of ?: changes signedness from 'long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] [INFO] [stderr] warning: 16 | #define min(a,b) (((a)<(b))?(a):(b)) [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: src/mosaicfs.c:208:12: note: in expansion of macro 'min' [INFO] [stderr] warning: 208 | size = min( size, max(mosaic.size-offset,(off_t)0) ); [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: src/mosaicfs.h:16:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'off_t' {aka 'long int'} [-Wsign-compare] [INFO] [stderr] warning: 16 | #define min(a,b) (((a)<(b))?(a):(b)) [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/mosaicfs.c:218:17: note: in expansion of macro 'min' [INFO] [stderr] warning: 218 | r = min(size-bufpos,mosaic.tile_size-tile_offset); [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: src/mosaicfs.h:16:33: warning: operand of ?: changes signedness from 'off_t' {aka 'long int'} to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] [INFO] [stderr] warning: 16 | #define min(a,b) (((a)<(b))?(a):(b)) [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: src/mosaicfs.c:218:17: note: in expansion of macro 'min' [INFO] [stderr] warning: 218 | r = min(size-bufpos,mosaic.tile_size-tile_offset); [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: src/mosaicfs.c:198:28: warning: unused parameter 'fi' [-Wunused-parameter] [INFO] [stderr] warning: 198 | struct fuse_file_info *fi) [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: In file included from src/mosaicfs.c:1: [INFO] [stderr] warning: src/mosaicfs.c: In function 'mosaicfs_write': [INFO] [stderr] warning: src/mosaicfs.h:16:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] [INFO] [stderr] warning: 16 | #define min(a,b) (((a)<(b))?(a):(b)) [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/mosaicfs.c:239:12: note: in expansion of macro 'min' [INFO] [stderr] warning: 239 | size = min( size, max(mosaic.size-offset, (off_t)0) ); [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: src/mosaicfs.h:16:33: warning: operand of ?: changes signedness from 'long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] [INFO] [stderr] warning: 16 | #define min(a,b) (((a)<(b))?(a):(b)) [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: src/mosaicfs.c:239:12: note: in expansion of macro 'min' [INFO] [stderr] warning: 239 | size = min( size, max(mosaic.size-offset, (off_t)0) ); [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: src/mosaicfs.h:16:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'off_t' {aka 'long int'} [-Wsign-compare] [INFO] [stderr] warning: 16 | #define min(a,b) (((a)<(b))?(a):(b)) [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/mosaicfs.c:245:13: note: in expansion of macro 'min' [INFO] [stderr] warning: 245 | r = min(size-bufpos, mosaic.tile_size-tile_offset); [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: src/mosaicfs.h:16:33: warning: operand of ?: changes signedness from 'off_t' {aka 'long int'} to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] [INFO] [stderr] warning: 16 | #define min(a,b) (((a)<(b))?(a):(b)) [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: src/mosaicfs.c:245:13: note: in expansion of macro 'min' [INFO] [stderr] warning: 245 | r = min(size-bufpos, mosaic.tile_size-tile_offset); [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: src/mosaicfs.c:248:16: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] [INFO] [stderr] warning: 248 | if (rv < 0) { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/mosaicfs.c:228:29: warning: unused parameter 'fi' [-Wunused-parameter] [INFO] [stderr] warning: 228 | struct fuse_file_info *fi) [INFO] [stderr] warning: | ~~~~~~~~~~~~~~~~~~~~~~~^~ [INFO] [stderr] warning: src/mosaicfs.c: In function 'mosaicfs_truncate': [INFO] [stderr] warning: src/mosaicfs.c:258:47: warning: unused parameter 'nsize' [-Wunused-parameter] [INFO] [stderr] warning: 258 | int mosaicfs_truncate(const char *path, off_t nsize) [INFO] [stderr] warning: | ~~~~~~^~~~~ [INFO] [stderr] warning: src/mosaicfs.c: In function 'open_tile_read': [INFO] [stderr] warning: src/mosaicfs.c:60:40: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] [INFO] [stderr] warning: 60 | snprintf(fpath, sizeof(fpath), "%s/%s", mosaic.dir, tile_name); [INFO] [stderr] warning: | ^~ ~~~~~~~~~ [INFO] [stderr] warning: src/mosaicfs.c:60:5: note: 'snprintf' output between 2 and 4128 bytes into a destination of size 4096 [INFO] [stderr] warning: 60 | snprintf(fpath, sizeof(fpath), "%s/%s", mosaic.dir, tile_name); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: src/mosaicfs.c: In function 'open_tile_write': [INFO] [stderr] warning: src/mosaicfs.c:93:40: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] [INFO] [stderr] warning: 93 | snprintf(fpath, sizeof(fpath), "%s/%s", mosaic.dir, tile_name); [INFO] [stderr] warning: | ^~ ~~~~~~~~~ [INFO] [stderr] warning: src/mosaicfs.c:93:5: note: 'snprintf' output between 2 and 4128 bytes into a destination of size 4096 [INFO] [stderr] warning: 93 | snprintf(fpath, sizeof(fpath), "%s/%s", mosaic.dir, tile_name); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: src/mosaicfs.c: In function 'mount_cmd': [INFO] [stderr] warning: src/mosaicfs.c:314:56: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] [INFO] [stderr] warning: 314 | snprintf(mosaic.dir, sizeof(mosaic.dir), "%s/%s", cwd, archive_path); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: src/mosaicfs.c:314:9: note: 'snprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 [INFO] [stderr] warning: 314 | snprintf(mosaic.dir, sizeof(mosaic.dir), "%s/%s", cwd, archive_path); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: src/mosaicfs.c:339:39: warning: '/mosaicfs.index' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] [INFO] [stderr] warning: 339 | snprintf(fpath, sizeof(fpath), "%s/mosaicfs.index", mosaic.dir); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: src/mosaicfs.c:339:5: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 [INFO] [stderr] warning: 339 | snprintf(fpath, sizeof(fpath), "%s/mosaicfs.index", mosaic.dir); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:95:96 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe {mount_cmd(CString::new(archive_path.to_string()).expect("Failed to cast path").as_ptr(), CString::new(mount_path.to_strin... [INFO] [stdout] | -------------------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:95:173 [INFO] [stdout] | [INFO] [stdout] 95 | ...to cast path").as_ptr(), CString::new(mount_path.to_string()).expect("Failed to cast path").as_ptr(), false)}; [INFO] [stdout] | ------------------------------------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:108:119 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe {create_cmd(num_tiles, tile_size, CString::new(archive_path.to_string()).expect("Failed to cast path").as_ptr())}; [INFO] [stdout] | -------------------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:95:96 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe {mount_cmd(CString::new(archive_path.to_string()).expect("Failed to cast path").as_ptr(), CString::new(mount_path.to_strin... [INFO] [stdout] | -------------------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:95:173 [INFO] [stdout] | [INFO] [stdout] 95 | ...to cast path").as_ptr(), CString::new(mount_path.to_string()).expect("Failed to cast path").as_ptr(), false)}; [INFO] [stdout] | ------------------------------------------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/main.rs:108:119 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe {create_cmd(num_tiles, tile_size, CString::new(archive_path.to_string()).expect("Failed to cast path").as_ptr())}; [INFO] [stdout] | -------------------------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.81s [INFO] running `Command { std: "docker" "inspect" "c7cb86855b31f87a8eb11128c528ddfadc1b920d098409f8a4fe3b44cbfde737", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7cb86855b31f87a8eb11128c528ddfadc1b920d098409f8a4fe3b44cbfde737", kill_on_drop: false }` [INFO] [stdout] c7cb86855b31f87a8eb11128c528ddfadc1b920d098409f8a4fe3b44cbfde737