[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] testing adrq/TileFS against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrq%2FTileFS" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adrq/TileFS on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-11/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-11/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" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a8a92d700afbbb16123f91d929253779c553c642b60b5c6c2561e3a58d56493 [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" "3a8a92d700afbbb16123f91d929253779c553c642b60b5c6c2561e3a58d56493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a8a92d700afbbb16123f91d929253779c553c642b60b5c6c2561e3a58d56493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a8a92d700afbbb16123f91d929253779c553c642b60b5c6c2561e3a58d56493", kill_on_drop: false }` [INFO] [stdout] 3a8a92d700afbbb16123f91d929253779c553c642b60b5c6c2561e3a58d56493 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2647af78d560d2be0eb68f2a29d8fd5a6bde060c7ea2fc46617358507a14a03 [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" "e2647af78d560d2be0eb68f2a29d8fd5a6bde060c7ea2fc46617358507a14a03", kill_on_drop: false }` [INFO] [stderr] Compiling tilefs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling 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] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8.tilefs.9y5fjupv-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8.tilefs.9y5fjupv-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8.tilefs.9y5fjupv-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8.tilefs.9y5fjupv-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8.tilefs.9y5fjupv-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8.tilefs.9y5fjupv-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8.tilefs.9y5fjupv-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8.tilefs.9y5fjupv-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8.tilefs.9y5fjupv-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8.tilefs.9y5fjupv-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8.tilefs.9y5fjupv-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8.tilefs.9y5fjupv-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8.tilefs.9y5fjupv-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8.tilefs.9y5fjupv-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8.tilefs.9y5fjupv-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8.tilefs.9y5fjupv-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8" "/opt/rustwide/target/debug/deps/tilefs-abfe3d5beeb2a0b8.539mntnep05dt6b4.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/tilefs-e179872fe0ee9e26/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-lmosaicfs" "-Wl,--no-whole-archive" "/opt/rustwide/target/debug/deps/libclap-6095f665c0225c4a.rlib" "/opt/rustwide/target/debug/deps/libvec_map-97b2d50686bf36e9.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-c6e5ad5dd55bdd8b.rlib" "/opt/rustwide/target/debug/deps/libunicode_width-6a2548713a451fe0.rlib" "/opt/rustwide/target/debug/deps/libstrsim-8b805b0832095d99.rlib" "/opt/rustwide/target/debug/deps/libbitflags-de31228f2c0549ed.rlib" "/opt/rustwide/target/debug/deps/libatty-a40b5048c4df52dd.rlib" "/opt/rustwide/target/debug/deps/liblibc-d0670b4675e0de4d.rlib" "/opt/rustwide/target/debug/deps/libansi_term-017778a055950e81.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e12de7683a34c500.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-446a53c2e468675f.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-86fef9fb252a2d33.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-3bed9bfd30304751.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-0e38eeb474a7b386.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-a846ed547b824740.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-c9540f0a4fb9265d.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7d2ca66c92c356eb.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-147e2c808f949493.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-bd2a4369506670e9.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74bfdd0ce7d0ed48.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6777f47f1c491841.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-b104f1790174f2be.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-db37898996f45c13.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-25b7435131fc4938.rlib" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9d4b6f3c097e876e.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-3f953ad652ab829a.rlib" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/build/tilefs-e179872fe0ee9e26/out/libmosaicfs.a(mosaicfs.o): in function `mount_cmd': [INFO] [stdout] /opt/rustwide/workdir/src/mosaicfs.c:385: undefined reference to `fuse_main_real' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [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] [stderr] [INFO] [stderr] error: could not compile `tilefs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e2647af78d560d2be0eb68f2a29d8fd5a6bde060c7ea2fc46617358507a14a03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2647af78d560d2be0eb68f2a29d8fd5a6bde060c7ea2fc46617358507a14a03", kill_on_drop: false }` [INFO] [stdout] e2647af78d560d2be0eb68f2a29d8fd5a6bde060c7ea2fc46617358507a14a03