[INFO] cloning repository https://github.com/kstep/dbusfs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kstep/dbusfs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstep%2Fdbusfs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstep%2Fdbusfs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d82aa4af51433530c31a482379942cbe78e665a8 [INFO] checking kstep/dbusfs against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstep%2Fdbusfs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kstep/dbusfs on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-12/source/Cargo.toml [INFO] crate git repo https://github.com/kstep/dbusfs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-12/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be29c64b0de9c9a1234d7e8e0a74163360352d98f3daca98f144cca60fc90eb8 [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" "be29c64b0de9c9a1234d7e8e0a74163360352d98f3daca98f144cca60fc90eb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be29c64b0de9c9a1234d7e8e0a74163360352d98f3daca98f144cca60fc90eb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be29c64b0de9c9a1234d7e8e0a74163360352d98f3daca98f144cca60fc90eb8", kill_on_drop: false }` [INFO] [stdout] be29c64b0de9c9a1234d7e8e0a74163360352d98f3daca98f144cca60fc90eb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8de23a5b23391f650cda9e4628cab87297b5b538d3c564220a5c44358bf711ae [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" "8de23a5b23391f650cda9e4628cab87297b5b538d3c564220a5c44358bf711ae", kill_on_drop: false }` [INFO] [stderr] Compiling libdbus-sys v0.2.1 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Checking users v0.11.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking fuse v0.3.1 [INFO] [stderr] Checking dbus v0.9.0 [INFO] [stderr] Checking dbusfs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `}` [INFO] [stdout] --> src/node.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 77 | "(" => [INFO] [stdout] | -- while parsing the `match` arm starting here [INFO] [stdout] 78 | }) [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `while_let_on_iterator` [INFO] [stdout] --> src/node.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #![allow(while_let_on_iterator)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `}` [INFO] [stdout] --> src/node.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 77 | "(" => [INFO] [stdout] | -- while parsing the `match` arm starting here [INFO] [stdout] 78 | }) [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `while_let_on_iterator` [INFO] [stdout] --> src/node.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #![allow(while_let_on_iterator)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::Timespec` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use time::Timespec; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Timespec` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `dbus::BusType`, `dbus::Connection`, `dbus::MessageItem` [INFO] [stdout] --> src/main.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use dbus::{BusType, Connection, Message, MessageItem}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ no `MessageItem` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `Connection` in the root [INFO] [stdout] | no `BusType` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::Timespec` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use time::Timespec; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Timespec` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `dbus::BusType`, `dbus::Connection`, `dbus::MessageItem` [INFO] [stdout] --> src/main.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use dbus::{BusType, Connection, Message, MessageItem}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ no `MessageItem` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `Connection` in the root [INFO] [stdout] | no `BusType` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found enum `Basic` [INFO] [stdout] --> src/node.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | s.parse::().map(Basic).or_else(|_| match s[0..1] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try using one of the enum's variants [INFO] [stdout] | [INFO] [stdout] 76 | s.parse::().map(node::types::Basic::Byte).or_else(|_| match s[0..1] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | s.parse::().map(node::types::Basic::Bool).or_else(|_| match s[0..1] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | s.parse::().map(node::types::Basic::Int16).or_else(|_| match s[0..1] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | s.parse::().map(node::types::Basic::UInt16).or_else(|_| match s[0..1] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] and 10 other candidates [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 16 | use node::types::Full::Basic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BusName` in crate `dbus` [INFO] [stdout] --> src/main.rs:39:45 [INFO] [stdout] | [INFO] [stdout] 39 | inode_name: HashMap, Option)>, [INFO] [stdout] | ^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use dbus::strings::BusName; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Interface` in crate `dbus` [INFO] [stdout] --> src/main.rs:39:79 [INFO] [stdout] | [INFO] [stdout] 39 | inode_name: HashMap, Option)>, [INFO] [stdout] | ^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 | use dbus::strings::Interface; [INFO] [stdout] | [INFO] [stdout] 11 | use node::Interface; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Member` in crate `dbus` [INFO] [stdout] --> src/main.rs:39:104 [INFO] [stdout] | [INFO] [stdout] 39 | inode_name: HashMap, Option)>, [INFO] [stdout] | ^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use dbus::strings::Member; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BusName` in crate `dbus` [INFO] [stdout] --> src/main.rs:195:51 [INFO] [stdout] | [INFO] [stdout] 195 | fn get_connection_unix_user(&self, name: &dbus::BusName) -> Result { [INFO] [stdout] | ^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use dbus::strings::BusName; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BusName` in crate `dbus` [INFO] [stdout] --> src/main.rs:207:36 [INFO] [stdout] | [INFO] [stdout] 207 | fn introspect(&self, dest: dbus::BusName, object: dbus::Path) -> Result, dbus::Error> { [INFO] [stdout] | ^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use dbus::strings::BusName; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BusName` in crate `dbus` [INFO] [stdout] --> src/main.rs:225:57 [INFO] [stdout] | [INFO] [stdout] 225 | fn split_path>(path: P) -> Option<(dbus::BusName, dbus::Path)> { [INFO] [stdout] | ^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use dbus::strings::BusName; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `BusName` in `dbus` [INFO] [stdout] --> src/main.rs:228:70 [INFO] [stdout] | [INFO] [stdout] 228 | let dest = iter.next().and_then(|c| c.to_str()).and_then(|d| dbus::BusName::new(d).ok()); [INFO] [stdout] | ^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use dbus::strings::BusName; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `file_attr_dir` in this scope [INFO] [stdout] --> src/main.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 339 | (file_attr_dir(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::ObjectPath, parent.1, parent.2.join(name), None, None)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `file_attr_dir` in this scope [INFO] [stdout] --> src/main.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | (file_attr_dir(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::ObjectPath, parent.1, parent.2.join(name), None, None)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `file_attr_dir` in this scope [INFO] [stdout] --> src/main.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | (file_attr_dir(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Interface, parent.1, parent.2, Some(name), None)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `file_attr_file` in this scope [INFO] [stdout] --> src/main.rs:352:14 [INFO] [stdout] | [INFO] [stdout] 352 | (file_attr_file(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Method, parent.1, parent.2, parent.3, Some(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `file_attr_file` in this scope [INFO] [stdout] --> src/main.rs:355:14 [INFO] [stdout] | [INFO] [stdout] 355 | (file_attr_file(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Property, parent.1, parent.2, parent.3, Some(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `file_attr_file` in this scope [INFO] [stdout] --> src/main.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | (file_attr_file(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Signal, parent.1, parent.2, parent.3, Some(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `file_attr_file` in this scope [INFO] [stdout] --> src/main.rs:361:14 [INFO] [stdout] | [INFO] [stdout] 361 | ... (file_attr_file(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Annotation, parent.1, parent.2, parent.3, Some(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::Basic::*` [INFO] [stdout] --> src/node.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | use self::Basic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/main.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | inode_name: HashMap, Option)>, [INFO] [stdout] | ^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 35 | struct DbusFs<'a> { [INFO] [stdout] 36 | dbus: Connection, [INFO] [stdout] 37 | inodes: HashMap<(u64, PathBuf), u64>, [INFO] [stdout] 38 | inode_attr: HashMap, [INFO] [stdout] 39 | inode_name: HashMap, Option, Option)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/main.rs:225:72 [INFO] [stdout] | [INFO] [stdout] 225 | fn split_path>(path: P) -> Option<(dbus::BusName, dbus::Path)> { [INFO] [stdout] | ^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 225 | fn split_path>(path: P) -> Option<(dbus::BusName, dbus::Path<'static>)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found enum `Basic` [INFO] [stdout] --> src/node.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | s.parse::().map(Basic).or_else(|_| match s[0..1] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try using one of the enum's variants [INFO] [stdout] | [INFO] [stdout] 76 | s.parse::().map(node::types::Basic::Byte).or_else(|_| match s[0..1] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | s.parse::().map(node::types::Basic::Bool).or_else(|_| match s[0..1] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | s.parse::().map(node::types::Basic::Int16).or_else(|_| match s[0..1] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | s.parse::().map(node::types::Basic::UInt16).or_else(|_| match s[0..1] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] and 10 other candidates [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 16 | use node::types::Full::Basic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BusName` in crate `dbus` [INFO] [stdout] --> src/main.rs:39:45 [INFO] [stdout] | [INFO] [stdout] 39 | inode_name: HashMap, Option)>, [INFO] [stdout] | ^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use dbus::strings::BusName; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Interface` in crate `dbus` [INFO] [stdout] --> src/main.rs:39:79 [INFO] [stdout] | [INFO] [stdout] 39 | inode_name: HashMap, Option)>, [INFO] [stdout] | ^^^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 | use dbus::strings::Interface; [INFO] [stdout] | [INFO] [stdout] 11 | use node::Interface; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Member` in crate `dbus` [INFO] [stdout] --> src/main.rs:39:104 [INFO] [stdout] | [INFO] [stdout] 39 | inode_name: HashMap, Option)>, [INFO] [stdout] | ^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use dbus::strings::Member; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BusName` in crate `dbus` [INFO] [stdout] --> src/main.rs:195:51 [INFO] [stdout] | [INFO] [stdout] 195 | fn get_connection_unix_user(&self, name: &dbus::BusName) -> Result { [INFO] [stdout] | ^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use dbus::strings::BusName; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BusName` in crate `dbus` [INFO] [stdout] --> src/main.rs:207:36 [INFO] [stdout] | [INFO] [stdout] 207 | fn introspect(&self, dest: dbus::BusName, object: dbus::Path) -> Result, dbus::Error> { [INFO] [stdout] | ^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use dbus::strings::BusName; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BusName` in crate `dbus` [INFO] [stdout] --> src/main.rs:225:57 [INFO] [stdout] | [INFO] [stdout] 225 | fn split_path>(path: P) -> Option<(dbus::BusName, dbus::Path)> { [INFO] [stdout] | ^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use dbus::strings::BusName; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `BusName` in `dbus` [INFO] [stdout] --> src/main.rs:228:70 [INFO] [stdout] | [INFO] [stdout] 228 | let dest = iter.next().and_then(|c| c.to_str()).and_then(|d| dbus::BusName::new(d).ok()); [INFO] [stdout] | ^^^^^^^ not found in `dbus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use dbus::strings::BusName; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `file_attr_dir` in this scope [INFO] [stdout] --> src/main.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 339 | (file_attr_dir(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::ObjectPath, parent.1, parent.2.join(name), None, None)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `file_attr_dir` in this scope [INFO] [stdout] --> src/main.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | (file_attr_dir(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::ObjectPath, parent.1, parent.2.join(name), None, None)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `file_attr_dir` in this scope [INFO] [stdout] --> src/main.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | (file_attr_dir(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Interface, parent.1, parent.2, Some(name), None)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `file_attr_file` in this scope [INFO] [stdout] --> src/main.rs:352:14 [INFO] [stdout] | [INFO] [stdout] 352 | (file_attr_file(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Method, parent.1, parent.2, parent.3, Some(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `file_attr_file` in this scope [INFO] [stdout] --> src/main.rs:355:14 [INFO] [stdout] | [INFO] [stdout] 355 | (file_attr_file(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Property, parent.1, parent.2, parent.3, Some(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `file_attr_file` in this scope [INFO] [stdout] --> src/main.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | (file_attr_file(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Signal, parent.1, parent.2, parent.3, Some(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `file_attr_file` in this scope [INFO] [stdout] --> src/main.rs:361:14 [INFO] [stdout] | [INFO] [stdout] 361 | ... (file_attr_file(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Annotation, parent.1, parent.2, parent.3, Some(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::Basic::*` [INFO] [stdout] --> src/node.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | use self::Basic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/main.rs:39:60 [INFO] [stdout] | [INFO] [stdout] 39 | inode_name: HashMap, Option)>, [INFO] [stdout] | ^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 35 | struct DbusFs<'a> { [INFO] [stdout] 36 | dbus: Connection, [INFO] [stdout] 37 | inodes: HashMap<(u64, PathBuf), u64>, [INFO] [stdout] 38 | inode_attr: HashMap, [INFO] [stdout] 39 | inode_name: HashMap, Option, Option)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/main.rs:225:72 [INFO] [stdout] | [INFO] [stdout] 225 | fn split_path>(path: P) -> Option<(dbus::BusName, dbus::Path)> { [INFO] [stdout] | ^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 225 | fn split_path>(path: P) -> Option<(dbus::BusName, dbus::Path<'static>)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `readdir` has an incompatible type for trait [INFO] [stdout] --> src/main.rs:261:3 [INFO] [stdout] | [INFO] [stdout] 261 | fn readdir(&mut self, _req: &Request, ino: u64, _fh: u64, offset: u64, mut reply: ReplyDirectory) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut DbusFs, &Request<'_>, _, _, i64, ReplyDirectory)` [INFO] [stdout] found fn pointer `fn(&mut DbusFs, &Request<'_>, _, _, u64, ReplyDirectory)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `lookup` has an incompatible type for trait [INFO] [stdout] --> src/main.rs:323:3 [INFO] [stdout] | [INFO] [stdout] 323 | fn lookup(&mut self, _req: &Request, parent: u64, name: &Path, reply: ReplyEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `OsStr`, found struct `std::path::Path` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut DbusFs, &Request<'_>, _, &OsStr, ReplyEntry)` [INFO] [stdout] found fn pointer `fn(&mut DbusFs, &Request<'_>, _, &std::path::Path, ReplyEntry)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `read` has an incompatible type for trait [INFO] [stdout] --> src/main.rs:377:3 [INFO] [stdout] | [INFO] [stdout] 377 | fn read(&mut self, _req: &Request, ino: u64, _fh: u64, offset: u64, _size: u32, reply: ReplyData) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut DbusFs, &Request<'_>, _, _, i64, _, ReplyData)` [INFO] [stdout] found fn pointer `fn(&mut DbusFs, &Request<'_>, _, _, u64, _, ReplyData)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `readdir` has an incompatible type for trait [INFO] [stdout] --> src/main.rs:261:3 [INFO] [stdout] | [INFO] [stdout] 261 | fn readdir(&mut self, _req: &Request, ino: u64, _fh: u64, offset: u64, mut reply: ReplyDirectory) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut DbusFs, &Request<'_>, _, _, i64, ReplyDirectory)` [INFO] [stdout] found fn pointer `fn(&mut DbusFs, &Request<'_>, _, _, u64, ReplyDirectory)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `lookup` has an incompatible type for trait [INFO] [stdout] --> src/main.rs:323:3 [INFO] [stdout] | [INFO] [stdout] 323 | fn lookup(&mut self, _req: &Request, parent: u64, name: &Path, reply: ReplyEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `OsStr`, found struct `std::path::Path` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut DbusFs, &Request<'_>, _, &OsStr, ReplyEntry)` [INFO] [stdout] found fn pointer `fn(&mut DbusFs, &Request<'_>, _, &std::path::Path, ReplyEntry)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `read` has an incompatible type for trait [INFO] [stdout] --> src/main.rs:377:3 [INFO] [stdout] | [INFO] [stdout] 377 | fn read(&mut self, _req: &Request, ino: u64, _fh: u64, offset: u64, _size: u32, reply: ReplyData) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut DbusFs, &Request<'_>, _, _, i64, _, ReplyData)` [INFO] [stdout] found fn pointer `fn(&mut DbusFs, &Request<'_>, _, _, u64, _, ReplyData)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `u64` with `std::path::Path` [INFO] [stdout] --> src/main.rs:89:65 [INFO] [stdout] | [INFO] [stdout] 89 | if let Some((ino, _)) = self.inodes.iter().find(|&(_, p)| p == path) { [INFO] [stdout] | ^^ no implementation for `u64 == std::path::Path` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `u64` [INFO] [stdout] = note: required because of the requirements on the impl of `PartialEq<&std::path::Path>` for `&u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `u64` with `std::path::Path` [INFO] [stdout] --> src/main.rs:89:65 [INFO] [stdout] | [INFO] [stdout] 89 | if let Some((ino, _)) = self.inodes.iter().find(|&(_, p)| p == path) { [INFO] [stdout] | ^^ no implementation for `u64 == std::path::Path` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `u64` [INFO] [stdout] = note: required because of the requirements on the impl of `PartialEq<&std::path::Path>` for `&u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | return Some(&self.inode_attr[ino]); [INFO] [stdout] | ^^^ expected `u64`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&u64` [INFO] [stdout] found reference `&(u64, PathBuf)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `primary_group` of struct `User` is private [INFO] [stdout] --> src/main.rs:101:52 [INFO] [stdout] | [INFO] [stdout] 101 | let gid = get_user_by_uid(uid).map_or(0, |u| u.primary_group); [INFO] [stdout] | ^^^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | return Some(&self.inode_attr[ino]); [INFO] [stdout] | ^^^ expected `u64`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&u64` [INFO] [stdout] found reference `&(u64, PathBuf)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `primary_group` of struct `User` is private [INFO] [stdout] --> src/main.rs:101:52 [INFO] [stdout] | [INFO] [stdout] 101 | let gid = get_user_by_uid(uid).map_or(0, |u| u.primary_group); [INFO] [stdout] | ^^^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | self.inodes.insert(ino, path.to_owned()); [INFO] [stdout] | ^^^ expected tuple, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(u64, PathBuf)` [INFO] [stdout] found type `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 126 | self.inodes.insert(ino, path.to_owned()); [INFO] [stdout] | ^^^ expected tuple, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(u64, PathBuf)` [INFO] [stdout] found type `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | self.inodes.insert(ino, path.to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `u64`, found struct `PathBuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | self.inodes.insert(ino, path.to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `u64`, found struct `PathBuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | self.inodes.get(&ino).map(PathBuf::as_path) [INFO] [stdout] | ^^^^ expected tuple, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(u64, PathBuf)` [INFO] [stdout] found reference `&u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/main.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | self.inodes.get(&ino).map(PathBuf::as_path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected signature of `fn(&u64) -> _` [INFO] [stdout] | found signature of `for<'r> fn(&'r PathBuf) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `Message` in the current scope [INFO] [stdout] --> src/main.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | .append(&**name); [INFO] [stdout] | ^^^^^^ help: there is an associated function with a similar name: `append1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:272:40 [INFO] [stdout] | [INFO] [stdout] 272 | if reply.add(attr.ino, offset + (no + 2) as u64, attr.kind, &*name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `u64` to `i64` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 272 | if reply.add(attr.ino, (offset + (no + 2) as u64).try_into().unwrap(), attr.kind, &*name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | self.inodes.get(&ino).map(PathBuf::as_path) [INFO] [stdout] | ^^^^ expected tuple, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(u64, PathBuf)` [INFO] [stdout] found reference `&u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/main.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | self.inodes.get(&ino).map(PathBuf::as_path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected signature of `fn(&u64) -> _` [INFO] [stdout] | found signature of `for<'r> fn(&'r PathBuf) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:302:44 [INFO] [stdout] | [INFO] [stdout] 302 | if reply.add(attr.ino, offset + (no + 2) as u64, attr.kind, &*node.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `u64` to `i64` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 302 | if reply.add(attr.ino, (offset + (no + 2) as u64).try_into().unwrap(), attr.kind, &*node.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for struct `Message` in the current scope [INFO] [stdout] --> src/main.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | .append(&**name); [INFO] [stdout] | ^^^^^^ help: there is an associated function with a similar name: `append1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:272:40 [INFO] [stdout] | [INFO] [stdout] 272 | if reply.add(attr.ino, offset + (no + 2) as u64, attr.kind, &*name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `u64` to `i64` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 272 | if reply.add(attr.ino, (offset + (no + 2) as u64).try_into().unwrap(), attr.kind, &*name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:302:44 [INFO] [stdout] | [INFO] [stdout] 302 | if reply.add(attr.ino, offset + (no + 2) as u64, attr.kind, &*node.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `u64` to `i64` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 302 | if reply.add(attr.ino, (offset + (no + 2) as u64).try_into().unwrap(), attr.kind, &*node.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:326:41 [INFO] [stdout] | [INFO] [stdout] 326 | if let Some(attr) = self.inodes.get((parent, name)).and_then(|ino| self.inode_attr.get(ino)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `&(u64, PathBuf)`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(u64, PathBuf)` [INFO] [stdout] found tuple `(u64, &std::path::Path)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `attr` found for struct `ReplyEntry` in the current scope [INFO] [stdout] --> src/main.rs:327:20 [INFO] [stdout] | [INFO] [stdout] 327 | return reply.attr(&TTL, attr, 0); [INFO] [stdout] | ^^^^ method not found in `ReplyEntry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `inode_name` found for mutable reference `&mut DbusFs` in the current scope [INFO] [stdout] --> src/main.rs:330:32 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(parent) = self.inode_name(parent) { [INFO] [stdout] | ^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: to call the function stored in `inode_name`, surround the field access with parentheses [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(parent) = (self.inode_name)(parent) { [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:326:41 [INFO] [stdout] | [INFO] [stdout] 326 | if let Some(attr) = self.inodes.get((parent, name)).and_then(|ino| self.inode_attr.get(ino)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `&(u64, PathBuf)`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(u64, PathBuf)` [INFO] [stdout] found tuple `(u64, &std::path::Path)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ^^^^^^^ expected `&str`, found `str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `attr` found for struct `ReplyEntry` in the current scope [INFO] [stdout] --> src/main.rs:327:20 [INFO] [stdout] | [INFO] [stdout] 327 | return reply.attr(&TTL, attr, 0); [INFO] [stdout] | ^^^^ method not found in `ReplyEntry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `inode_name` found for mutable reference `&mut DbusFs` in the current scope [INFO] [stdout] --> src/main.rs:330:32 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(parent) = self.inode_name(parent) { [INFO] [stdout] | ^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: to call the function stored in `inode_name`, surround the field access with parentheses [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(parent) = (self.inode_name)(parent) { [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ^^^^^^^ expected `&str`, found `str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | _ => return Err(TypeSigError::InvalidChar) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `TypeSigError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | _ => return Err(TypeSigError::InvalidChar) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `TypeSigError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0106, E0277, E0308, E0412, E0423, E0425, E0432, E0433... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0106, E0277, E0308, E0412, E0423, E0425, E0432, E0433... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dbusfs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8de23a5b23391f650cda9e4628cab87297b5b538d3c564220a5c44358bf711ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8de23a5b23391f650cda9e4628cab87297b5b538d3c564220a5c44358bf711ae", kill_on_drop: false }` [INFO] [stdout] 8de23a5b23391f650cda9e4628cab87297b5b538d3c564220a5c44358bf711ae