[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 try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstep%2Fdbusfs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kstep/dbusfs on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kstep/dbusfs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bd19f1a391e7b98abc7560f4a45e8ddbe73e804fcab4948a1d13b4392ef63c9 [INFO] running `Command { std: "docker" "start" "-a" "6bd19f1a391e7b98abc7560f4a45e8ddbe73e804fcab4948a1d13b4392ef63c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bd19f1a391e7b98abc7560f4a45e8ddbe73e804fcab4948a1d13b4392ef63c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bd19f1a391e7b98abc7560f4a45e8ddbe73e804fcab4948a1d13b4392ef63c9", kill_on_drop: false }` [INFO] [stdout] 6bd19f1a391e7b98abc7560f4a45e8ddbe73e804fcab4948a1d13b4392ef63c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 556f66debb89e4760189c5e583ca420c0ea379b62c7011a0d5e67f85e14bdbb9 [INFO] running `Command { std: "docker" "start" "-a" "556f66debb89e4760189c5e583ca420c0ea379b62c7011a0d5e67f85e14bdbb9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking libc v0.2.4 [INFO] [stderr] Checking winapi v0.2.5 [INFO] [stderr] Compiling pkg-config v0.3.6 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking thread-scoped v1.0.1 [INFO] [stderr] Checking xml-rs v0.2.2 [INFO] [stderr] Compiling kernel32-sys v0.2.1 [INFO] [stderr] Checking log v0.3.4 [INFO] [stderr] Checking users v0.4.4 [INFO] [stderr] Checking dbus v0.2.1 [INFO] [stderr] Checking time v0.1.34 [INFO] [stderr] Compiling fuse v0.2.7 [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] 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] note: the enum is defined here [INFO] [stdout] --> src/node.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | / enum Basic { [INFO] [stdout] 19 | | Byte, // y [INFO] [stdout] 20 | | Bool, // b [INFO] [stdout] 21 | | Int16, // n [INFO] [stdout] ... | [INFO] [stdout] 32 | | Variant, // v [INFO] [stdout] 33 | | } [INFO] [stdout] | |___^ [INFO] [stdout] help: you might have meant to use one of the following enum variants [INFO] [stdout] | [INFO] [stdout] 76 - s.parse::().map(Basic).or_else(|_| match s[0..1] { [INFO] [stdout] 76 + s.parse::().map(node::types::Basic::Bool).or_else(|_| match s[0..1] { [INFO] [stdout] | [INFO] [stdout] 76 - s.parse::().map(Basic).or_else(|_| match s[0..1] { [INFO] [stdout] 76 + s.parse::().map(node::types::Basic::Byte).or_else(|_| match s[0..1] { [INFO] [stdout] | [INFO] [stdout] 76 - s.parse::().map(Basic).or_else(|_| match s[0..1] { [INFO] [stdout] 76 + s.parse::().map(node::types::Basic::Double).or_else(|_| match s[0..1] { [INFO] [stdout] | [INFO] [stdout] 76 - s.parse::().map(Basic).or_else(|_| match s[0..1] { [INFO] [stdout] 76 + s.parse::().map(node::types::Basic::Int16).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] 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] 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[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] 53 | "y" => Byte, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] 53 | "y" => Byte, [INFO] [stdout] 54 | "b" => Bool, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 55 | "n" => Int16, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 56 | "q" => UInt16, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 57 | "i" => Int32, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 58 | "u" => UInt32, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 59 | "x" => Int64, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 60 | "t" => UInt64, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 61 | "d" => Double, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 62 | "h" => UnixFd, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 63 | "s" => String, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 64 | "o" => ObjPath, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 65 | "g" => TypeSig, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 66 | "v" => Variant, [INFO] [stdout] | ^^^ expected `str`, found `&str` [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] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | _ => return Err(TypeSigError::InvalidChar) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `TypeSigError` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `TypeSigError` due to the type of the argument passed [INFO] [stdout] --> src/node.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | _ => return Err(TypeSigError::InvalidChar) [INFO] [stdout] | ^^^^-------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/result.rs:558:5 [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] but trait `PartialEq` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `u64`, found `std::path::Path` [INFO] [stdout] = note: required for `&u64` to implement `PartialEq<&std::path::Path>` [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 `&(u64, PathBuf)` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&u64` [INFO] [stdout] found reference `&(u64, PathBuf)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> src/main.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | self.inodes.insert(ino, path.to_owned()); [INFO] [stdout] | ^^^^^^ --- --------------- unexpected argument #2 of type `PathBuf` [INFO] [stdout] | | [INFO] [stdout] | argument #1 of type `(u64, PathBuf)` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/collections/hash/map.rs:1207:12 [INFO] [stdout] help: did you mean [INFO] [stdout] | [INFO] [stdout] 126 - self.inodes.insert(ino, path.to_owned()); [INFO] [stdout] 126 + self.inodes.insert(/* (u64, PathBuf) */, ino); [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 `&(u64, PathBuf)`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(u64, PathBuf)` [INFO] [stdout] found reference `&u64` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/collections/hash/map.rs:909:12 [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 due to this [INFO] [stdout] | | found signature defined here [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(&u64) -> _` [INFO] [stdout] found function signature `fn(&PathBuf) -> _` [INFO] [stdout] note: required by a bound in `Option::::map` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/option.rs:1153:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 169 | self.inodes.get(&ino).map(|arg0: &u64| PathBuf::as_path(/* &PathBuf */)) [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 `(u64, &Path)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(_, PathBuf)` [INFO] [stdout] found tuple `(_, &std::path::Path)` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/collections/hash/map.rs:909:12 [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] | ^^^^^^^^^^-------- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] | [INFO] [stdout] help: there is a method `rename` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fuse-0.2.7/src/lib.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | fn rename (&mut self, _req: &Request, _parent: u64, _name: &Path, _newparent: u64, _newname: &Path, reply: ReplyEmpty) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:337:53 [INFO] [stdout] | [INFO] [stdout] 337 | NodeKind::Destination => if node_info.nodes.find(|&n| n.name == name).is_some() { [INFO] [stdout] | ^^^^ method not found in `Vec` [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[E0599]: no method named `find` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:341:52 [INFO] [stdout] | [INFO] [stdout] 341 | NodeKind::ObjectPath => if node_info.nodes.find(|&n| n.name == name).is_some() { [INFO] [stdout] | ^^^^ method not found in `Vec` [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[E0599]: no method named `find` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:344:58 [INFO] [stdout] | [INFO] [stdout] 344 | } else if let Some(iface) = node_info.interfaces.find(|&i| i.name == name) { [INFO] [stdout] | ^^^^ method not found in `Vec` [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[E0599]: no method named `find` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:348:74 [INFO] [stdout] | [INFO] [stdout] 348 | NodeKind::Interface => if let Some(iface) = node_info.interfaces.find(|&n| n.name == parent.3) { [INFO] [stdout] | ^^^^ method not found in `Vec` [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] 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] note: the enum is defined here [INFO] [stdout] --> src/node.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | / enum Basic { [INFO] [stdout] 19 | | Byte, // y [INFO] [stdout] 20 | | Bool, // b [INFO] [stdout] 21 | | Int16, // n [INFO] [stdout] ... | [INFO] [stdout] 32 | | Variant, // v [INFO] [stdout] 33 | | } [INFO] [stdout] | |___^ [INFO] [stdout] help: you might have meant to use one of the following enum variants [INFO] [stdout] | [INFO] [stdout] 76 - s.parse::().map(Basic).or_else(|_| match s[0..1] { [INFO] [stdout] 76 + s.parse::().map(node::types::Basic::Bool).or_else(|_| match s[0..1] { [INFO] [stdout] | [INFO] [stdout] 76 - s.parse::().map(Basic).or_else(|_| match s[0..1] { [INFO] [stdout] 76 + s.parse::().map(node::types::Basic::Byte).or_else(|_| match s[0..1] { [INFO] [stdout] | [INFO] [stdout] 76 - s.parse::().map(Basic).or_else(|_| match s[0..1] { [INFO] [stdout] 76 + s.parse::().map(node::types::Basic::Double).or_else(|_| match s[0..1] { [INFO] [stdout] | [INFO] [stdout] 76 - s.parse::().map(Basic).or_else(|_| match s[0..1] { [INFO] [stdout] 76 + s.parse::().map(node::types::Basic::Int16).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] warning: unused variable: `offset` [INFO] [stdout] --> src/main.rs:377:58 [INFO] [stdout] | [INFO] [stdout] 377 | fn read(&mut self, _req: &Request, ino: u64, _fh: u64, offset: u64, _size: u32, reply: ReplyData) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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] 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] Some errors have detailed explanations: E0277, E0308, E0423, E0425, E0599, E0631. [INFO] [stdout] [INFO] [stderr] error: could not compile `dbusfs` (bin "dbusfs" test) due to 36 previous errors; 3 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] 53 | "y" => Byte, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] 53 | "y" => Byte, [INFO] [stdout] 54 | "b" => Bool, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 55 | "n" => Int16, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 56 | "q" => UInt16, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 57 | "i" => Int32, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 58 | "u" => UInt32, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 59 | "x" => Int64, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 60 | "t" => UInt64, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 61 | "d" => Double, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 62 | "h" => UnixFd, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 63 | "s" => String, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 64 | "o" => ObjPath, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 65 | "g" => TypeSig, [INFO] [stdout] | ^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(match s[0..1] { [INFO] [stdout] | ------- this expression has type `str` [INFO] [stdout] ... [INFO] [stdout] 66 | "v" => Variant, [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 `TypeSigError` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `TypeSigError` due to the type of the argument passed [INFO] [stdout] --> src/node.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | _ => return Err(TypeSigError::InvalidChar) [INFO] [stdout] | ^^^^-------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Err` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/result.rs:558:5 [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] but trait `PartialEq` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `u64`, found `std::path::Path` [INFO] [stdout] = note: required for `&u64` to implement `PartialEq<&std::path::Path>` [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 `&(u64, PathBuf)` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&u64` [INFO] [stdout] found reference `&(u64, PathBuf)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> src/main.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | self.inodes.insert(ino, path.to_owned()); [INFO] [stdout] | ^^^^^^ --- --------------- unexpected argument #2 of type `PathBuf` [INFO] [stdout] | | [INFO] [stdout] | argument #1 of type `(u64, PathBuf)` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/collections/hash/map.rs:1207:12 [INFO] [stdout] help: did you mean [INFO] [stdout] | [INFO] [stdout] 126 - self.inodes.insert(ino, path.to_owned()); [INFO] [stdout] 126 + self.inodes.insert(/* (u64, PathBuf) */, ino); [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 `&(u64, PathBuf)`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(u64, PathBuf)` [INFO] [stdout] found reference `&u64` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/collections/hash/map.rs:909:12 [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 due to this [INFO] [stdout] | | found signature defined here [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(&u64) -> _` [INFO] [stdout] found function signature `fn(&PathBuf) -> _` [INFO] [stdout] note: required by a bound in `Option::::map` [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/option.rs:1153:5 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 169 | self.inodes.get(&ino).map(|arg0: &u64| PathBuf::as_path(/* &PathBuf */)) [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 `(u64, &Path)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&(_, PathBuf)` [INFO] [stdout] found tuple `(_, &std::path::Path)` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/std/src/collections/hash/map.rs:909:12 [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] | ^^^^^^^^^^-------- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] | [INFO] [stdout] help: there is a method `rename` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/fuse-0.2.7/src/lib.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | fn rename (&mut self, _req: &Request, _parent: u64, _name: &Path, _newparent: u64, _newname: &Path, reply: ReplyEmpty) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:337:53 [INFO] [stdout] | [INFO] [stdout] 337 | NodeKind::Destination => if node_info.nodes.find(|&n| n.name == name).is_some() { [INFO] [stdout] | ^^^^ method not found in `Vec` [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[E0599]: no method named `find` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:341:52 [INFO] [stdout] | [INFO] [stdout] 341 | NodeKind::ObjectPath => if node_info.nodes.find(|&n| n.name == name).is_some() { [INFO] [stdout] | ^^^^ method not found in `Vec` [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[E0599]: no method named `find` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:344:58 [INFO] [stdout] | [INFO] [stdout] 344 | } else if let Some(iface) = node_info.interfaces.find(|&i| i.name == name) { [INFO] [stdout] | ^^^^ method not found in `Vec` [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[E0599]: no method named `find` found for struct `Vec` in the current scope [INFO] [stdout] --> src/main.rs:348:74 [INFO] [stdout] | [INFO] [stdout] 348 | NodeKind::Interface => if let Some(iface) = node_info.interfaces.find(|&n| n.name == parent.3) { [INFO] [stdout] | ^^^^ method not found in `Vec` [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 variable: `offset` [INFO] [stdout] --> src/main.rs:377:58 [INFO] [stdout] | [INFO] [stdout] 377 | fn read(&mut self, _req: &Request, ino: u64, _fh: u64, offset: u64, _size: u32, reply: ReplyData) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0425, E0599, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dbusfs` (bin "dbusfs") due to 36 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "556f66debb89e4760189c5e583ca420c0ea379b62c7011a0d5e67f85e14bdbb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "556f66debb89e4760189c5e583ca420c0ea379b62c7011a0d5e67f85e14bdbb9", kill_on_drop: false }` [INFO] [stdout] 556f66debb89e4760189c5e583ca420c0ea379b62c7011a0d5e67f85e14bdbb9