[INFO] updating cached repository https://github.com/kstep/dbusfs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d82aa4af51433530c31a482379942cbe78e665a8 [INFO] testing kstep/dbusfs against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstep%2Fdbusfs" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kstep/dbusfs on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/kstep/dbusfs [INFO] finished tweaking git repo https://github.com/kstep/dbusfs [INFO] tweaked toml for git repo https://github.com/kstep/dbusfs written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/kstep/dbusfs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 04556d882691ba492c44ae506406de0dda528b485a08753e927630ef9b3275cc [INFO] running `"docker" "start" "-a" "04556d882691ba492c44ae506406de0dda528b485a08753e927630ef9b3275cc"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling libdbus-sys v0.2.1 [INFO] [stderr] Compiling fuse v0.3.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dbus v0.8.3 [INFO] [stderr] Compiling users v0.10.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling dbusfs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: expected expression, found `}` [INFO] [stderr] --> src/node.rs:78:7 [INFO] [stderr] | [INFO] [stderr] 77 | "(" => [INFO] [stderr] | -- while parsing the `match` arm starting here [INFO] [stderr] 78 | }) [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] warning: unknown lint: `while_let_on_iterator` [INFO] [stderr] --> src/node.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #![allow(while_let_on_iterator)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `time::Timespec` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use time::Timespec; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `Timespec` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `dbus::BusType`, `dbus::Connection`, `dbus::MessageItem` [INFO] [stderr] --> src/main.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | use dbus::{BusType, Connection, Message, MessageItem}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ no `MessageItem` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `Connection` in the root [INFO] [stderr] | no `BusType` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `BusName` in `dbus` [INFO] [stderr] --> src/main.rs:228:70 [INFO] [stderr] | [INFO] [stderr] 228 | let dest = iter.next().and_then(|c| c.to_str()).and_then(|d| dbus::BusName::new(d).ok()); [INFO] [stderr] | ^^^^^^^ could not find `BusName` in `dbus` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found enum `Basic` [INFO] [stderr] --> src/node.rs:76:30 [INFO] [stderr] | [INFO] [stderr] 76 | s.parse::().map(Basic).or_else(|_| match s[0..1] { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: try using one of the enum's variants [INFO] [stderr] | [INFO] [stderr] 76 | s.parse::().map(node::types::Basic::Byte).or_else(|_| match s[0..1] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 76 | s.parse::().map(node::types::Basic::Bool).or_else(|_| match s[0..1] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 76 | s.parse::().map(node::types::Basic::Int16).or_else(|_| match s[0..1] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 76 | s.parse::().map(node::types::Basic::UInt16).or_else(|_| match s[0..1] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] and 10 other candidates [INFO] [stderr] help: consider importing this tuple variant instead [INFO] [stderr] | [INFO] [stderr] 16 | use node::types::Full::Basic; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BusName` in crate `dbus` [INFO] [stderr] --> src/main.rs:39:45 [INFO] [stderr] | [INFO] [stderr] 39 | inode_name: HashMap, Option)>, [INFO] [stderr] | ^^^^^^^ not found in `dbus` [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 11 | use dbus::strings::BusName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Interface` in crate `dbus` [INFO] [stderr] --> src/main.rs:39:79 [INFO] [stderr] | [INFO] [stderr] 39 | inode_name: HashMap, Option)>, [INFO] [stderr] | ^^^^^^^^^ not found in `dbus` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 11 | use dbus::strings::Interface; [INFO] [stderr] | [INFO] [stderr] 11 | use dbus::tree::Interface; [INFO] [stderr] | [INFO] [stderr] 11 | use node::Interface; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Member` in crate `dbus` [INFO] [stderr] --> src/main.rs:39:104 [INFO] [stderr] | [INFO] [stderr] 39 | inode_name: HashMap, Option)>, [INFO] [stderr] | ^^^^^^ not found in `dbus` [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 11 | use dbus::strings::Member; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BusName` in crate `dbus` [INFO] [stderr] --> src/main.rs:195:51 [INFO] [stderr] | [INFO] [stderr] 195 | fn get_connection_unix_user(&self, name: &dbus::BusName) -> Result { [INFO] [stderr] | ^^^^^^^ not found in `dbus` [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 11 | use dbus::strings::BusName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BusName` in crate `dbus` [INFO] [stderr] --> src/main.rs:207:36 [INFO] [stderr] | [INFO] [stderr] 207 | fn introspect(&self, dest: dbus::BusName, object: dbus::Path) -> Result, dbus::Error> { [INFO] [stderr] | ^^^^^^^ not found in `dbus` [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 11 | use dbus::strings::BusName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BusName` in crate `dbus` [INFO] [stderr] --> src/main.rs:225:57 [INFO] [stderr] | [INFO] [stderr] 225 | fn split_path>(path: P) -> Option<(dbus::BusName, dbus::Path)> { [INFO] [stderr] | ^^^^^^^ not found in `dbus` [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 11 | use dbus::strings::BusName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `file_attr_dir` in this scope [INFO] [stderr] --> src/main.rs:339:12 [INFO] [stderr] | [INFO] [stderr] 339 | (file_attr_dir(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::ObjectPath, parent.1, parent.2.join(name), None, None)) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `file_attr_dir` in this scope [INFO] [stderr] --> src/main.rs:343:12 [INFO] [stderr] | [INFO] [stderr] 343 | (file_attr_dir(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::ObjectPath, parent.1, parent.2.join(name), None, None)) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `file_attr_dir` in this scope [INFO] [stderr] --> src/main.rs:346:12 [INFO] [stderr] | [INFO] [stderr] 346 | (file_attr_dir(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Interface, parent.1, parent.2, Some(name), None)) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `file_attr_file` in this scope [INFO] [stderr] --> src/main.rs:352:14 [INFO] [stderr] | [INFO] [stderr] 352 | (file_attr_file(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Method, parent.1, parent.2, parent.3, Some(name))) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `file_attr_file` in this scope [INFO] [stderr] --> src/main.rs:355:14 [INFO] [stderr] | [INFO] [stderr] 355 | (file_attr_file(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Property, parent.1, parent.2, parent.3, Some(name))) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `file_attr_file` in this scope [INFO] [stderr] --> src/main.rs:358:14 [INFO] [stderr] | [INFO] [stderr] 358 | (file_attr_file(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Signal, parent.1, parent.2, parent.3, Some(name))) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `file_attr_file` in this scope [INFO] [stderr] --> src/main.rs:361:14 [INFO] [stderr] | [INFO] [stderr] 361 | (file_attr_file(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Annotation, parent.1, parent.2, parent.3, Some(name))) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::Basic::*` [INFO] [stderr] --> src/node.rs:75:11 [INFO] [stderr] | [INFO] [stderr] 75 | use self::Basic::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0106]: missing lifetime specifier [INFO] [stderr] --> src/main.rs:39:60 [INFO] [stderr] | [INFO] [stderr] 39 | inode_name: HashMap, Option)>, [INFO] [stderr] | ^^^^ expected named lifetime parameter [INFO] [stderr] | [INFO] [stderr] help: consider introducing a named lifetime parameter [INFO] [stderr] | [INFO] [stderr] 35 | struct DbusFs<'a> { [INFO] [stderr] 36 | dbus: Connection, [INFO] [stderr] 37 | inodes: HashMap<(u64, PathBuf), u64>, [INFO] [stderr] 38 | inode_attr: HashMap, [INFO] [stderr] 39 | inode_name: HashMap, Option, Option)>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0106]: missing lifetime specifier [INFO] [stderr] --> src/main.rs:225:72 [INFO] [stderr] | [INFO] [stderr] 225 | fn split_path>(path: P) -> Option<(dbus::BusName, dbus::Path)> { [INFO] [stderr] | ^^^^ expected named lifetime parameter [INFO] [stderr] | [INFO] [stderr] = help: this function's return type contains a borrowed value with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stderr] help: consider using the `'static` lifetime [INFO] [stderr] | [INFO] [stderr] 225 | fn split_path>(path: P) -> Option<(dbus::BusName, dbus::Path<'static>)> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0053]: method `readdir` has an incompatible type for trait [INFO] [stderr] --> src/main.rs:261:3 [INFO] [stderr] | [INFO] [stderr] 261 | fn readdir(&mut self, _req: &Request, ino: u64, _fh: u64, offset: u64, mut reply: ReplyDirectory) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `fn(&mut DbusFs, &fuse::Request<'_>, _, _, i64, fuse::ReplyDirectory)` [INFO] [stderr] found fn pointer `fn(&mut DbusFs, &fuse::Request<'_>, _, _, u64, fuse::ReplyDirectory)` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `lookup` has an incompatible type for trait [INFO] [stderr] --> src/main.rs:323:3 [INFO] [stderr] | [INFO] [stderr] 323 | fn lookup(&mut self, _req: &Request, parent: u64, name: &Path, reply: ReplyEntry) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::ffi::OsStr`, found struct `std::path::Path` [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `fn(&mut DbusFs, &fuse::Request<'_>, _, &std::ffi::OsStr, fuse::ReplyEntry)` [INFO] [stderr] found fn pointer `fn(&mut DbusFs, &fuse::Request<'_>, _, &std::path::Path, fuse::ReplyEntry)` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `read` has an incompatible type for trait [INFO] [stderr] --> src/main.rs:377:3 [INFO] [stderr] | [INFO] [stderr] 377 | fn read(&mut self, _req: &Request, ino: u64, _fh: u64, offset: u64, _size: u32, reply: ReplyData) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stderr] | [INFO] [stderr] = note: expected fn pointer `fn(&mut DbusFs, &fuse::Request<'_>, _, _, i64, _, fuse::ReplyData)` [INFO] [stderr] found fn pointer `fn(&mut DbusFs, &fuse::Request<'_>, _, _, u64, _, fuse::ReplyData)` [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `u64` with `std::path::Path` [INFO] [stderr] --> src/main.rs:89:65 [INFO] [stderr] | [INFO] [stderr] 89 | if let Some((ino, _)) = self.inodes.iter().find(|&(_, p)| p == path) { [INFO] [stderr] | ^^ no implementation for `u64 == std::path::Path` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq` is not implemented for `u64` [INFO] [stderr] = note: required because of the requirements on the impl of `std::cmp::PartialEq<&std::path::Path>` for `&u64` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:90:36 [INFO] [stderr] | [INFO] [stderr] 90 | return Some(&self.inode_attr[ino]); [INFO] [stderr] | ^^^ expected `u64`, found tuple [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&u64` [INFO] [stderr] found reference `&(u64, std::path::PathBuf)` [INFO] [stderr] [INFO] [stderr] error[E0616]: field `primary_group` of struct `users::User` is private [INFO] [stderr] --> src/main.rs:101:52 [INFO] [stderr] | [INFO] [stderr] 101 | let gid = get_user_by_uid(uid).map_or(0, |u| u.primary_group); [INFO] [stderr] | ^^^^^^^^^^^^^ private field [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:126:24 [INFO] [stderr] | [INFO] [stderr] 126 | self.inodes.insert(ino, path.to_owned()); [INFO] [stderr] | ^^^ expected tuple, found `u64` [INFO] [stderr] | [INFO] [stderr] = note: expected tuple `(u64, std::path::PathBuf)` [INFO] [stderr] found type `u64` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:126:29 [INFO] [stderr] | [INFO] [stderr] 126 | self.inodes.insert(ino, path.to_owned()); [INFO] [stderr] | ^^^^^^^^^^^^^^^ expected `u64`, found struct `std::path::PathBuf` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:169:21 [INFO] [stderr] | [INFO] [stderr] 169 | self.inodes.get(&ino).map(PathBuf::as_path) [INFO] [stderr] | ^^^^ expected tuple, found `u64` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&(u64, std::path::PathBuf)` [INFO] [stderr] found reference `&u64` [INFO] [stderr] [INFO] [stderr] error[E0631]: type mismatch in function arguments [INFO] [stderr] --> src/main.rs:169:31 [INFO] [stderr] | [INFO] [stderr] 169 | self.inodes.get(&ino).map(PathBuf::as_path) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected signature of `fn(&u64) -> _` [INFO] [stderr] | found signature of `for<'r> fn(&'r std::path::PathBuf) -> _` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `append` found for struct `dbus::Message` in the current scope [INFO] [stderr] --> src/main.rs:198:8 [INFO] [stderr] | [INFO] [stderr] 198 | .append(&**name); [INFO] [stderr] | ^^^^^^ help: there is an associated function with a similar name: `append1` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:272:40 [INFO] [stderr] | [INFO] [stderr] 272 | if reply.add(attr.ino, offset + (no + 2) as u64, attr.kind, &*name) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `u64` to `i64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 272 | if reply.add(attr.ino, (offset + (no + 2) as u64).try_into().unwrap(), attr.kind, &*name) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:302:44 [INFO] [stderr] | [INFO] [stderr] 302 | if reply.add(attr.ino, offset + (no + 2) as u64, attr.kind, &*node.name) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `u64` to `i64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 302 | if reply.add(attr.ino, (offset + (no + 2) as u64).try_into().unwrap(), attr.kind, &*node.name) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:326:41 [INFO] [stderr] | [INFO] [stderr] 326 | if let Some(attr) = self.inodes.get((parent, name)).and_then(|ino| self.inode_attr.get(ino)) { [INFO] [stderr] | ^^^^^^^^^^^^^^ expected reference, found tuple [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&(u64, std::path::PathBuf)` [INFO] [stderr] found tuple `(u64, &std::path::Path)` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `attr` found for struct `fuse::ReplyEntry` in the current scope [INFO] [stderr] --> src/main.rs:327:20 [INFO] [stderr] | [INFO] [stderr] 327 | return reply.attr(&TTL, attr, 0); [INFO] [stderr] | ^^^^ method not found in `fuse::ReplyEntry` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `inode_name` found for mutable reference `&mut DbusFs` in the current scope [INFO] [stderr] --> src/main.rs:330:32 [INFO] [stderr] | [INFO] [stderr] 330 | if let Some(parent) = self.inode_name(parent) { [INFO] [stderr] | ^^^^^^^^^^-------- help: remove the arguments [INFO] [stderr] | | [INFO] [stderr] | field, not a method [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/node.rs:52:16 [INFO] [stderr] | [INFO] [stderr] 52 | Ok(match s[0..1] { [INFO] [stderr] | ^^^^^^^ expected `&str`, found `str` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/node.rs:67:25 [INFO] [stderr] | [INFO] [stderr] 67 | _ => return Err(TypeSigError::InvalidChar) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `node::types::TypeSigError` [INFO] [stderr] [INFO] [stderr] error: aborting due to 38 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0053, E0106, E0277, E0308, E0412, E0423, E0425, E0432, E0433... [INFO] [stderr] For more information about an error, try `rustc --explain E0053`. [INFO] [stderr] error: could not compile `dbusfs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "04556d882691ba492c44ae506406de0dda528b485a08753e927630ef9b3275cc"` [INFO] running `"docker" "rm" "-f" "04556d882691ba492c44ae506406de0dda528b485a08753e927630ef9b3275cc"` [INFO] [stdout] 04556d882691ba492c44ae506406de0dda528b485a08753e927630ef9b3275cc