[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] testing kstep/dbusfs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstep%2Fdbusfs" "/workspace/builds/worker-107/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-107/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kstep/dbusfs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-107/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fuse v0.2.7 [INFO] [stderr] Downloaded users v0.4.4 [INFO] [stderr] Downloaded dbus v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5c344db4515f8fe4d6a53272f930bfca2365062c539fafd0adc123932413d60 [INFO] running `Command { std: "docker" "start" "-a" "d5c344db4515f8fe4d6a53272f930bfca2365062c539fafd0adc123932413d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5c344db4515f8fe4d6a53272f930bfca2365062c539fafd0adc123932413d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5c344db4515f8fe4d6a53272f930bfca2365062c539fafd0adc123932413d60", kill_on_drop: false }` [INFO] [stdout] d5c344db4515f8fe4d6a53272f930bfca2365062c539fafd0adc123932413d60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 032075f325c4b872cf097bdc0be5ee1f2d5d33cc0c7ef56e518627e400501f79 [INFO] running `Command { std: "docker" "start" "-a" "032075f325c4b872cf097bdc0be5ee1f2d5d33cc0c7ef56e518627e400501f79", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling libc v0.2.4 [INFO] [stderr] Compiling winapi v0.2.5 [INFO] [stderr] Compiling pkg-config v0.3.6 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling thread-scoped v1.0.1 [INFO] [stderr] Compiling xml-rs v0.2.2 [INFO] [stderr] Compiling log v0.3.4 [INFO] [stderr] Compiling users v0.4.4 [INFO] [stderr] Compiling dbus v0.2.1 [INFO] [stderr] Compiling fuse v0.2.7 [INFO] [stderr] Compiling kernel32-sys v0.2.1 [INFO] [stderr] Compiling time v0.1.34 [INFO] [stderr] Compiling 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[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(node::types::Basic::Bool).or_else(|_| match s[0..1] { [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::Double).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] 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[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[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[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[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: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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Option::::map` [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] | ^^^^^^^^^^-------- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [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[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[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[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: aborting due to 24 previous errors; 2 warnings emitted [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` due to 25 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "032075f325c4b872cf097bdc0be5ee1f2d5d33cc0c7ef56e518627e400501f79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "032075f325c4b872cf097bdc0be5ee1f2d5d33cc0c7ef56e518627e400501f79", kill_on_drop: false }` [INFO] [stdout] 032075f325c4b872cf097bdc0be5ee1f2d5d33cc0c7ef56e518627e400501f79