[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 master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrq%2FTileFS" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adrq/TileFS on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/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-5/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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62aa84e8ee46a074c590228b545d53354e3351addd26b2f916278875684287a6 [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" "62aa84e8ee46a074c590228b545d53354e3351addd26b2f916278875684287a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62aa84e8ee46a074c590228b545d53354e3351addd26b2f916278875684287a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62aa84e8ee46a074c590228b545d53354e3351addd26b2f916278875684287a6", kill_on_drop: false }` [INFO] [stdout] 62aa84e8ee46a074c590228b545d53354e3351addd26b2f916278875684287a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a56e6372b6a4b7d16447d016ad20e414e46f6f93b5b66f8f096d0b01f5c331fe [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" "a56e6372b6a4b7d16447d016ad20e414e46f6f93b5b66f8f096d0b01f5c331fe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling tilefs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking atty v0.2.14 [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: 3 warnings emitted [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.87s [INFO] running `Command { std: "docker" "inspect" "a56e6372b6a4b7d16447d016ad20e414e46f6f93b5b66f8f096d0b01f5c331fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a56e6372b6a4b7d16447d016ad20e414e46f6f93b5b66f8f096d0b01f5c331fe", kill_on_drop: false }` [INFO] [stdout] a56e6372b6a4b7d16447d016ad20e414e46f6f93b5b66f8f096d0b01f5c331fe