Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when building the library #188

Closed
antonioaddis opened this issue Mar 30, 2023 · 3 comments
Closed

Issue when building the library #188

antonioaddis opened this issue Mar 30, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@antonioaddis
Copy link

Mountpoint for Amazon S3 version

main branch

AWS Region

us-east-1

Describe the running environment

MCP Amazon Linux 2 ECS-Optimized 20230315T152228

What happened?

Hi guys! I got an issue building your repository. I am following your instructions but when I run cargo build --release I got the error below.
Thanks a lot for your assistance!

Relevant log output

[ec2-user@ip-10-51-165-222 mountpoint-s3]$ cargo build --release
    Updating crates.io index
  Downloaded aho-corasick v0.7.20
  Downloaded backtrace v0.3.67
  Downloaded which v4.4.0
  Downloaded xml-rs v0.8.4
  Downloaded zerocopy v0.6.1
  Downloaded zerocopy-derive v0.3.2
  Downloaded slab v0.4.8
  Downloaded tracing v0.1.37
  Downloaded proc-macro2 v1.0.51
  Downloaded rustc-demangle v0.1.21
  Downloaded serde_derive v1.0.152
  Downloaded clap_lex v0.3.3
  Downloaded const_format_proc_macros v0.2.29
  Downloaded metrics-macros v0.6.0
  Downloaded portable-atomic v0.3.19
  Downloaded quote v1.0.23
  Downloaded unicode-normalization v0.1.22
  Downloaded unicode-bidi v0.3.10
  Downloaded tracing-attributes v0.1.23
  Downloaded thiserror-impl v1.0.38
  Downloaded linux-raw-sys v0.1.4
  Downloaded rustflags v0.1.2
  Downloaded libz-sys v1.1.8
  Downloaded libgit2-sys v0.14.2+1.5.1
  Downloaded semver v1.0.16
  Downloaded rustc-hash v1.1.0
  Downloaded unicode-ident v1.0.6
  Downloaded tracing-subscriber v0.3.16
  Downloaded tracing-log v0.1.3
  Downloaded tracing-core v0.1.30
  Downloaded libc v0.2.139
  Downloaded gimli v0.27.2
  Downloaded libc-stdhandle v0.1.0
  Downloaded futures v0.3.26
  Downloaded built v0.6.0
  Downloaded parking v2.0.0
  Downloaded page_size v0.4.2
  Downloaded metrics v0.20.1
  Downloaded git2 v0.16.1
  Downloaded futures-macro v0.3.26
  Downloaded futures-executor v0.3.26
  Downloaded const_format v0.2.30
  Downloaded clap v4.1.9
  Downloaded clap_derive v4.1.9
  Downloaded rustix v0.36.8
  Downloaded regex-syntax v0.6.28
  Downloaded regex-automata v0.1.10
  Downloaded regex v1.7.1
  Downloaded proc-macro-error-attr v1.0.4
  Downloaded proc-macro-error v1.0.4
  Downloaded pkg-config v0.3.26
  Downloaded pin-utils v0.1.0
  Downloaded pin-project-lite v0.2.9
  Downloaded pin-project-internal v1.0.12
  Downloaded pin-project v1.0.12
  Downloaded percent-encoding v2.2.0
  Downloaded peeking_take_while v0.1.2
  Downloaded overload v0.1.1
  Downloaded os_str_bytes v6.4.1
  Downloaded once_cell v1.17.1
  Downloaded object v0.30.3
  Downloaded num_cpus v1.15.0
  Downloaded num-traits v0.2.15
  Downloaded nu-ansi-term v0.46.0
  Downloaded nom v7.1.3
  Downloaded nix v0.26.2
  Downloaded toml v0.5.11
  Downloaded tinyvec_macros v0.1.1
  Downloaded tinyvec v1.6.0
  Downloaded time-macros v0.2.8
  Downloaded time-core v0.1.0
  Downloaded time v0.3.20
  Downloaded thread_local v1.1.7
  Downloaded thiserror v1.0.38
  Downloaded termcolor v1.2.0
  Downloaded syn v1.0.109
  Downloaded supports-color v1.3.1
  Downloaded strsim v0.10.0
  Downloaded static_assertions v1.1.0
  Downloaded smallvec v1.10.0
  Downloaded smallstr v0.3.0
  Downloaded serde v1.0.152
  Downloaded miniz_oxide v0.6.2
  Downloaded minimal-lexical v0.2.1
  Downloaded memoffset v0.7.1
  Downloaded memchr v2.5.0
  Downloaded matchers v0.1.0
  Downloaded shlex v1.1.0
  Downloaded log v0.4.17
  Downloaded libm v0.2.6
  Downloaded libloading v0.7.4
  Downloaded lazycell v1.3.0
  Downloaded lazy_static v1.4.0
  Downloaded jobserver v0.1.26
  Downloaded itoa v1.0.5
  Downloaded is_ci v1.1.1
  Downloaded is-terminal v0.4.4
  Downloaded io-lifetimes v1.0.5
  Downloaded idna v0.3.0
  Downloaded hdrhistogram v7.5.2
  Downloaded ahash v0.7.6
  Downloaded adler v1.0.2
  Downloaded addr2line v0.19.0
  Downloaded home v0.5.4
  Downloaded heck v0.4.1
  Downloaded glob v0.3.1
  Downloaded futures-task v0.3.26
  Downloaded xmltree v0.10.3
  Downloaded users v0.11.0
  Downloaded getrandom v0.2.8
  Downloaded futures-util v0.3.26
  Downloaded futures-sink v0.3.26
  Downloaded futures-lite v1.12.0
  Downloaded futures-io v0.3.26
  Downloaded futures-channel v0.3.26
  Downloaded waker-fn v1.1.0
  Downloaded futures-core v0.3.26
  Downloaded form_urlencoded v1.1.0
  Downloaded fastrand v1.9.0
  Downloaded event-listener v2.5.3
  Downloaded either v1.8.1
  Downloaded ctrlc v3.2.5
  Downloaded crossbeam-utils v0.8.15
  Downloaded concurrent-queue v2.1.0
  Downloaded cmake v0.1.49
  Downloaded clang-sys v1.6.0
  Downloaded cfg-if v1.0.0
  Downloaded cexpr v0.6.0
  Downloaded cc v1.0.79
  Downloaded cargo-lock v8.0.3
  Downloaded bytes v1.4.0
  Downloaded byteorder v1.4.3
  Downloaded bindgen v0.60.1
  Downloaded version_check v0.9.4
  Downloaded url v2.3.1
  Downloaded unicode-xid v0.2.4
  Downloaded sharded-slab v0.1.4
  Downloaded bitflags v1.3.2
  Downloaded auto_impl v1.0.1
  Downloaded async-lock v2.6.0
  Downloaded autocfg v1.1.0
  Downloaded atty v0.2.14
  Downloaded async-trait v0.1.64
  Downloaded async-channel v1.8.0
  Downloaded anyhow v1.0.69
  Downloaded 145 crates (14.0 MB) in 3.96s (largest was `libz-sys` at 2.5 MB)
   Compiling libc v0.2.139
   Compiling proc-macro2 v1.0.51
   Compiling quote v1.0.23
   Compiling unicode-ident v1.0.6
   Compiling syn v1.0.109
   Compiling memchr v2.5.0
   Compiling jobserver v0.1.26
   Compiling cc v1.0.79
   Compiling cfg-if v1.0.0
   Compiling autocfg v1.1.0
   Compiling log v0.4.17
   Compiling version_check v0.9.4
   Compiling pkg-config v0.3.26
   Compiling futures-core v0.3.26
   Compiling bitflags v1.3.2
   Compiling glob v0.3.1
   Compiling clang-sys v1.6.0
   Compiling serde_derive v1.0.152
   Compiling pin-project-lite v0.2.9
   Compiling tinyvec_macros v0.1.1
   Compiling once_cell v1.17.1
   Compiling tinyvec v1.6.0
   Compiling libz-sys v1.1.8
   Compiling serde v1.0.152
   Compiling minimal-lexical v0.2.1
   Compiling nom v7.1.3
   Compiling unicode-normalization v0.1.22
   Compiling aho-corasick v0.7.20
   Compiling libloading v0.7.4
   Compiling proc-macro-error-attr v1.0.4
   Compiling slab v0.4.8
   Compiling unicode-bidi v0.3.10
   Compiling futures-io v0.3.26
   Compiling pin-utils v0.1.0
   Compiling futures-task v0.3.26
   Compiling percent-encoding v2.2.0
   Compiling futures-channel v0.3.26
   Compiling regex-syntax v0.6.28
   Compiling bindgen v0.60.1
   Compiling regex v1.7.1
   Compiling form_urlencoded v1.1.0
   Compiling idna v0.3.0
   Compiling cexpr v0.6.0
   Compiling libgit2-sys v0.14.2+1.5.1
   Compiling proc-macro-error v1.0.4
   Compiling peeking_take_while v0.1.2
   Compiling rustc-hash v1.1.0
   Compiling futures-util v0.3.26
   Compiling either v1.8.1
   Compiling shlex v1.1.0
   Compiling semver v1.0.16
   Compiling smallvec v1.10.0
   Compiling futures-sink v0.3.26
   Compiling lazy_static v1.4.0
   Compiling lazycell v1.3.0
   Compiling which v4.4.0
   Compiling url v2.3.1
   Compiling cmake v0.1.49
   Compiling futures-macro v0.3.26
   Compiling rustflags v0.1.2
   Compiling io-lifetimes v1.0.5
   Compiling mountpoint-s3-crt-sys v0.2.0 (/home/ec2-user/mountpoint-s3/mountpoint-s3-crt-sys)
   Compiling toml v0.5.11
   Compiling tracing-core v0.1.30
   Compiling ahash v0.7.6
   Compiling memoffset v0.7.1
   Compiling num_cpus v1.15.0
   Compiling libm v0.2.6
   Compiling static_assertions v1.1.0
   Compiling portable-atomic v0.3.19
   Compiling thiserror v1.0.38
   Compiling rustix v0.36.8
   Compiling crossbeam-utils v0.8.15
   Compiling futures-executor v0.3.26
   Compiling cargo-lock v8.0.3
   Compiling smallstr v0.3.0
   Compiling num-traits v0.2.15
   Compiling getrandom v0.2.8
   Compiling libc-stdhandle v0.1.0
   Compiling backtrace v0.3.67
   Compiling thiserror-impl v1.0.38
   Compiling tracing-attributes v0.1.23
   Compiling async-trait v0.1.64
   Compiling time-core v0.1.0
   Compiling byteorder v1.4.3
   Compiling metrics v0.20.1
   Compiling linux-raw-sys v0.1.4
   Compiling adler v1.0.2
   Compiling gimli v0.27.2
   Compiling addr2line v0.19.0
   Compiling miniz_oxide v0.6.2
   Compiling time-macros v0.2.8
   Compiling tracing v0.1.37
   Compiling futures v0.3.26
   Compiling regex-automata v0.1.10
   Compiling fuser v0.12.0 (/home/ec2-user/mountpoint-s3/vendor/fuser)
   Compiling object v0.30.3
   Compiling zerocopy-derive v0.3.2
   Compiling metrics-macros v0.6.0
   Compiling pin-project-internal v1.0.12
   Compiling itoa v1.0.5
   Compiling os_str_bytes v6.4.1
   Compiling unicode-xid v0.2.4
   Compiling event-listener v2.5.3
   Compiling xml-rs v0.8.4
   Compiling overload v0.1.1
   Compiling anyhow v1.0.69
   Compiling heck v0.4.1
   Compiling fastrand v1.9.0
   Compiling waker-fn v1.1.0
   Compiling parking v2.0.0
   Compiling rustc-demangle v0.1.21
   Compiling futures-lite v1.12.0
   Compiling clap_derive v4.1.9
   Compiling nu-ansi-term v0.46.0
   Compiling xmltree v0.10.3
   Compiling time v0.3.20
   Compiling const_format_proc_macros v0.2.29
   Compiling clap_lex v0.3.3
   Compiling pin-project v1.0.12
   Compiling zerocopy v0.6.1
   Compiling matchers v0.1.0
   Compiling concurrent-queue v2.1.0
   Compiling nix v0.26.2
   Compiling is-terminal v0.4.4
   Compiling sharded-slab v0.1.4
   Compiling tracing-log v0.1.3
   Compiling auto_impl v1.0.1
   Compiling users v0.11.0
   Compiling thread_local v1.1.7
   Compiling page_size v0.4.2
   Compiling atty v0.2.14
   Compiling is_ci v1.1.1
   Compiling termcolor v1.2.0
   Compiling strsim v0.10.0
   Compiling clap v4.1.9
   Compiling supports-color v1.3.1
warning: `#[must_use]` has no effect when applied to an implementation block
  --> vendor/fuser/src/ll/reply.rs:27:1
   |
27 | #[must_use]
   | ^^^^^^^^^^^
   |
   = note: `#[warn(unused_attributes)]` on by default

warning: field `ino` is never read
   --> vendor/fuser/src/ll/reply.rs:421:5
    |
420 | pub struct DirEntryPlus<T: AsRef<Path>> {
    |            ------------ field in this struct
421 |     ino: INodeNo,
    |     ^^^
    |
    = note: `DirEntryPlus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
    = note: `#[warn(dead_code)]` on by default

warning: field `arg` is never read
    --> vendor/fuser/src/ll/request.rs:1343:9
     |
1341 |     pub struct NotifyReply<'a> {
     |                ----------- field in this struct
1342 |         header: &'a fuse_in_header,
1343 |         arg: &'a [u8],
     |         ^^^
     |
     = note: `NotifyReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

warning: field `arg` is never read
    --> vendor/fuser/src/ll/request.rs:1353:9
     |
1351 |     pub struct BatchForget<'a> {
     |                ----------- field in this struct
1352 |         header: &'a fuse_in_header,
1353 |         arg: &'a fuse_batch_forget_in,
     |         ^^^
     |
     = note: `BatchForget` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

warning: field `arg` is never read
    --> vendor/fuser/src/ll/request.rs:1590:9
     |
1588 |     pub struct CuseInit<'a> {
     |                -------- field in this struct
1589 |         header: &'a fuse_in_header,
1590 |         arg: &'a fuse_init_in,
     |         ^^^
     |
     = note: `CuseInit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

warning: field `data` is never read
  --> vendor/fuser/src/request.rs:31:5
   |
27 | pub struct Request<'a> {
   |            ------- field in this struct
...
31 |     data: &'a [u8],
   |     ^^^^
   |
   = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

warning: `fuser` (lib) generated 6 warnings
   Compiling tracing-subscriber v0.3.16
   Compiling ctrlc v3.2.5
   Compiling hdrhistogram v7.5.2
   Compiling async-channel v1.8.0
   Compiling const_format v0.2.30
   Compiling async-lock v2.6.0
   Compiling bytes v1.4.0
   Compiling home v0.5.4
   Compiling mountpoint-s3-crt v0.2.0 (/home/ec2-user/mountpoint-s3/mountpoint-s3-crt)
   Compiling mountpoint-s3-client v0.2.0 (/home/ec2-user/mountpoint-s3/mountpoint-s3-client)
   Compiling git2 v0.16.1
   Compiling built v0.6.0
   Compiling mountpoint-s3 v0.2.0 (/home/ec2-user/mountpoint-s3/mountpoint-s3)
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/ec2-user/.cargo/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/ec2-user/.local/bin:/home/ec2-user/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcsvDvsO/symbols.o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2.mount_s3.9485140d-cgu.0.rcgu.o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2.mount_s3.9485140d-cgu.1.rcgu.o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2.mount_s3.9485140d-cgu.10.rcgu.o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2.mount_s3.9485140d-cgu.11.rcgu.o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2.mount_s3.9485140d-cgu.12.rcgu.o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2.mount_s3.9485140d-cgu.13.rcgu.o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2.mount_s3.9485140d-cgu.14.rcgu.o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2.mount_s3.9485140d-cgu.15.rcgu.o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2.mount_s3.9485140d-cgu.2.rcgu.o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2.mount_s3.9485140d-cgu.3.rcgu.o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2.mount_s3.9485140d-cgu.4.rcgu.o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2.mount_s3.9485140d-cgu.5.rcgu.o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2.mount_s3.9485140d-cgu.6.rcgu.o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2.mount_s3.9485140d-cgu.7.rcgu.o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2.mount_s3.9485140d-cgu.8.rcgu.o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2.mount_s3.9485140d-cgu.9.rcgu.o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2.2qbp78qpiafb442w.rcgu.o" "-Wl,--as-needed" "-L" "/home/ec2-user/mountpoint-s3/target/release/deps" "-L" "/usr/lib64" "-L" "/home/ec2-user/mountpoint-s3/target/release/build/libc-stdhandle-3d8b414b30efaafb/out" "-L" "/home/ec2-user/mountpoint-s3/target/release/build/mountpoint-s3-crt-sys-642dec47ccddc4fb/out/target/lib" "-L" "/home/ec2-user/mountpoint-s3/target/release/build/mountpoint-s3-crt-sys-642dec47ccddc4fb/out/target/lib64" "-L" "/home/ec2-user/mountpoint-s3/target/release/build/mountpoint-s3-crt-sys-642dec47ccddc4fb/out" "-L" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/ec2-user/mountpoint-s3/target/release/deps/libsupports_color-8370f99538e386b3.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libis_ci-7c59187811efa63c.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libatty-14d7e4c442724454.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libhome-c48df774585a7a31.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libconst_format-239a916623628c9f.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libmountpoint_s3-0d261237dba5743e.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libhdrhistogram-b7eb7b0436373aaf.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libnum_traits-5a34359267fd709a.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libctrlc-766687849c428cb1.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libasync_channel-6d58bfe47a84aff2.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libconcurrent_queue-1627765264ca60d2.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libcrossbeam_utils-8f274228d4002ef6.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libasync_lock-902596829a35d0b2.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libfutures_lite-027cd448e4cd740c.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libfastrand-1aa688919a34d73b.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libwaker_fn-2f8e23818ff079c8.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libparking-9927a2c137c8bf31.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libevent_listener-f7572606ce63eba8.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libbytes-cdfeee84295e0f8c.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libtracing_subscriber-6a247d4bb275c284.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libnu_ansi_term-47159545872d9b6e.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/liboverload-b75b5e1febc110f9.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libsharded_slab-80b3b1ffe73bf31d.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libmatchers-8108c124dadc0688.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libregex_automata-7e86c0ccb6d00adb.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libthread_local-f2dd01f3084ad54a.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libtracing_log-92e19161a9547533.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libmountpoint_s3_client-c0cb43f57de3fd1a.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libxmltree-74ac0525e2f07d9b.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libxml-12dbaf5c84297e6f.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libmetrics-9f31c119312aeff9.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libportable_atomic-645b5da76ca4ae93.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libahash-a42432db116135b9.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libgetrandom-038abb3da67da884.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libpercent_encoding-a86f807164ade46d.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libtime-4c47ff5dd3f5df98.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libitoa-c140742e0f1a4125.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libtime_core-57429d85df6bf743.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libpin_project-c2f99ad96fb822f8.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libregex-1e2ea2407ff4e1eb.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libaho_corasick-9a3cbf57abbd5e50.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libregex_syntax-5124a62b88df7b5a.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libmountpoint_s3_crt-bb74a04512679b5f.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libthiserror-23a79cd3e1a334c2.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libsmallstr-5208b621becfb9e9.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libmountpoint_s3_crt_sys-e977bd9e71bea9cc.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/liblazy_static-be2195437140b06f.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libtracing-e37b76d49a6aadc6.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libtracing_core-212def7f09d5dbf6.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libnix-039a0edcdd5e5f3a.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libmemoffset-2079b0b7c32525c1.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libstatic_assertions-7c17852e4a3192bb.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libfutures-96608768dfd63489.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libfutures_executor-191624add7001aa3.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libnum_cpus-63ef66e7f969e583.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libfutures_util-3237bfb26ac5d2a4.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libfutures_io-a786ff852a3177db.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libslab-7058c761af8ba710.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libfutures_channel-2707cfd81065c1d9.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libpin_project_lite-e8df18a793b7a3f8.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libfutures_sink-472d8a2cbb8fab00.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libfutures_task-31b63093269e5ba0.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libpin_utils-d1490ba2f0f7d977.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libfutures_core-ac0fddfd088974ac.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libfuser-b67c638219e2b241.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libpage_size-9d8d14cc6b482b30.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libsmallvec-40893e1f3cf2f588.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libzerocopy-264524e1cbfaaac2.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libbyteorder-4c5673db82310c92.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/liblog-59dc64a0b7136ad8.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libclap-c90d8c743c3c5bed.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libstrsim-5252dde556736f96.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libis_terminal-5432ada1b1f84862.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/librustix-1a686bcf4b9e7255.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/liblinux_raw_sys-cc942089f00b0b8a.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libio_lifetimes-f1b8929bc8566263.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libclap_lex-840953569384d0be.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libos_str_bytes-a40110c2c537ab52.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libtermcolor-bc40b401b22a5067.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libbitflags-3a97737021668d9d.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libonce_cell-c254898cd1707aec.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libanyhow-f8fae89e5c2775d0.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libbacktrace-e573941d0a282808.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libminiz_oxide-9be0521271601bc7.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libadler-844748c6373972e7.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libobject-0c339e0dc853a500.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libmemchr-135cd7f2848d5f0a.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/liblibc-0b71981dfb6b2ef9.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libaddr2line-43c9845ea48c65f2.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libgimli-bbca43ba8d70dba9.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/libcfg_if-ba27c16ec31968bf.rlib" "/home/ec2-user/mountpoint-s3/target/release/deps/librustc_demangle-9ca7caca4d7ccc17.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bc6b80525d6b1f3b.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-dbb416fff97e9855.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-af60be54961a030f.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-1303bc5098cb2f44.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-96ca4807f9d03fdf.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-03b108942351d49a.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-b348df34b7d8ac11.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-26a06d9c5ec29d3a.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b5295fdab67e4cf6.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-b257ed099e7f67d0.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-c27b5dca54e295d8.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f6c8245d52afa66d.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-642c68f15c02cc52.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-eecd84150c4ad967.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-123ffa13a38501db.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-2177aff67f4e9999.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2298a66e03bd0fd2.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-f3c3b25345711552.rlib" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-10f041ff25bad5f3.rlib" "-Wl,-Bdynamic" "-lfuse" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/ec2-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/ec2-user/mountpoint-s3/target/release/deps/mount_s3-7e1a23947694dbc2" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"
  = note: collect2: error: ld returned 1 exit status
          

error: could not compile `mountpoint-s3` due to previous error
@antonioaddis antonioaddis added the bug Something isn't working label Mar 30, 2023
@antonioaddis
Copy link
Author

I fixed the bug just restarting the machine. Thanks.

@karthikraju523
Copy link

I got an issue building your repository. when I run cargo build --release I got the error below.

After Restart also not working

mount-s3: command not found

Error :

warning: #[must_use] has no effect when applied to an implementation block
--> vendor/fuser/src/ll/reply.rs:27:1
|
27 | #[must_use]
| ^^^^^^^^^^^
|
= note: #[warn(unused_attributes)] on by default

Compiling tracing-subscriber v0.3.16
warning: field ino is never read
--> vendor/fuser/src/ll/reply.rs:421:5
|
420 | pub struct DirEntryPlus<T: AsRef> {
| ------------ field in this struct
421 | ino: INodeNo,
| ^^^
|
= note: #[warn(dead_code)] on by default
= note: DirEntryPlus has a derived impl for the trait Debug, but this is intentionally ignored during dead code analysis

warning: field arg is never read
--> vendor/fuser/src/ll/request.rs:1343:9
|
1341 | pub struct NotifyReply<'a> {
| ----------- field in this struct
1342 | header: &'a fuse_in_header,
1343 | arg: &'a [u8],
| ^^^
|
= note: NotifyReply has a derived impl for the trait Debug, but this is intentionally ignored during dead code analysis

warning: field arg is never read
--> vendor/fuser/src/ll/request.rs:1353:9
|
1351 | pub struct BatchForget<'a> {
| ----------- field in this struct
1352 | header: &'a fuse_in_header,
1353 | arg: &'a fuse_batch_forget_in,
| ^^^
|
= note: BatchForget has a derived impl for the trait Debug, but this is intentionally ignored during dead code analysis

warning: field arg is never read
--> vendor/fuser/src/ll/request.rs:1590:9
|
1588 | pub struct CuseInit<'a> {
| -------- field in this struct
1589 | header: &'a fuse_in_header,
1590 | arg: &'a fuse_init_in,
| ^^^
|
= note: CuseInit has a derived impl for the trait Debug, but this is intentionally ignored during dead code analysis

warning: field data is never read
--> vendor/fuser/src/request.rs:31:5
|
27 | pub struct Request<'a> {
| ------- field in this struct
...
31 | data: &'a [u8],
| ^^^^
|
= note: Request has a derived impl for the trait Debug, but this is intentionally ignored during dead code analysis

warning: fuser (lib) generated 6 warnings

@dannycjones
Copy link
Contributor

Hey @karthikraju523.

mount-s3: command not found

From this error, it sounds like the binary is not on your path. Note that the final binary will be at target/release/mount-s3 after building.

If you continue to have this issue, please do open a new issue.

@awslabs awslabs locked as resolved and limited conversation to collaborators Apr 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants