[INFO] updating cached repository https://github.com/kstep/dbusfs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d82aa4af51433530c31a482379942cbe78e665a8 [INFO] testing kstep/dbusfs against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstep%2Fdbusfs" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kstep/dbusfs on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/kstep/dbusfs [INFO] finished tweaking git repo https://github.com/kstep/dbusfs [INFO] tweaked toml for git repo https://github.com/kstep/dbusfs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/kstep/dbusfs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 56bdb2d5ee73d2928390f4ff2788ae02dd1c5c3228b73109bcc42ff978928982 [INFO] running `"docker" "start" "-a" "56bdb2d5ee73d2928390f4ff2788ae02dd1c5c3228b73109bcc42ff978928982"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling libdbus-sys v0.2.1 [INFO] [stderr] Compiling fuse v0.3.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dbus v0.8.3 [INFO] [stderr] Compiling users v0.10.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling dbusfs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: expected expression, found `}` [INFO] [stderr] --> src/node.rs:78:7 [INFO] [stderr] | [INFO] [stderr] 77 | "(" => [INFO] [stderr] | -- while parsing the `match` arm starting here [INFO] [stderr] 78 | }) [INFO] [stderr] | ^ expected expression [INFO] [stderr] [INFO] [stderr] warning: unknown lint: `while_let_on_iterator` [INFO] [stderr] --> src/node.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #![allow(while_let_on_iterator)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `time::Timespec` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use time::Timespec; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `Timespec` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `dbus::BusType`, `dbus::Connection`, `dbus::MessageItem` [INFO] [stderr] --> src/main.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | use dbus::{BusType, Connection, Message, MessageItem}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ no `MessageItem` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `Connection` in the root [INFO] [stderr] | no `BusType` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `BusName` in `dbus` [INFO] [stderr] --> src/main.rs:228:70 [INFO] [stderr] | [INFO] [stderr] 228 | let dest = iter.next().and_then(|c| c.to_str()).and_then(|d| dbus::BusName::new(d).ok()); [INFO] [stderr] | ^^^^^^^ could not find `BusName` in `dbus` [INFO] [stderr] [INFO] [stderr] error[E0423]: expected value, found enum `Basic` [INFO] [stderr] --> src/node.rs:76:30 [INFO] [stderr] | [INFO] [stderr] 76 | s.parse::().map(Basic).or_else(|_| match s[0..1] { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: try using one of the enum's variants [INFO] [stderr] | [INFO] [stderr] 76 | s.parse::().map(node::types::Basic::Byte).or_else(|_| match s[0..1] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 76 | s.parse::().map(node::types::Basic::Bool).or_else(|_| match s[0..1] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 76 | s.parse::().map(node::types::Basic::Int16).or_else(|_| match s[0..1] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 76 | s.parse::().map(node::types::Basic::UInt16).or_else(|_| match s[0..1] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] and 10 other candidates [INFO] [stderr] help: possible better candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 16 | use node::types::Full::Basic; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BusName` in crate `dbus` [INFO] [stderr] --> src/main.rs:39:45 [INFO] [stderr] | [INFO] [stderr] 39 | inode_name: HashMap, Option)>, [INFO] [stderr] | ^^^^^^^ not found in `dbus` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 11 | use dbus::strings::BusName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Interface` in crate `dbus` [INFO] [stderr] --> src/main.rs:39:79 [INFO] [stderr] | [INFO] [stderr] 39 | inode_name: HashMap, Option)>, [INFO] [stderr] | ^^^^^^^^^ not found in `dbus` [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 11 | use dbus::strings::Interface; [INFO] [stderr] | [INFO] [stderr] 11 | use dbus::tree::Interface; [INFO] [stderr] | [INFO] [stderr] 11 | use node::Interface; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Member` in crate `dbus` [INFO] [stderr] --> src/main.rs:39:104 [INFO] [stderr] | [INFO] [stderr] 39 | inode_name: HashMap, Option)>, [INFO] [stderr] | ^^^^^^ not found in `dbus` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 11 | use dbus::strings::Member; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BusName` in crate `dbus` [INFO] [stderr] --> src/main.rs:195:51 [INFO] [stderr] | [INFO] [stderr] 195 | fn get_connection_unix_user(&self, name: &dbus::BusName) -> Result { [INFO] [stderr] | ^^^^^^^ not found in `dbus` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 11 | use dbus::strings::BusName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BusName` in crate `dbus` [INFO] [stderr] --> src/main.rs:207:36 [INFO] [stderr] | [INFO] [stderr] 207 | fn introspect(&self, dest: dbus::BusName, object: dbus::Path) -> Result, dbus::Error> { [INFO] [stderr] | ^^^^^^^ not found in `dbus` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 11 | use dbus::strings::BusName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BusName` in crate `dbus` [INFO] [stderr] --> src/main.rs:225:57 [INFO] [stderr] | [INFO] [stderr] 225 | fn split_path>(path: P) -> Option<(dbus::BusName, dbus::Path)> { [INFO] [stderr] | ^^^^^^^ not found in `dbus` [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 11 | use dbus::strings::BusName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `file_attr_dir` in this scope [INFO] [stderr] --> src/main.rs:339:12 [INFO] [stderr] | [INFO] [stderr] 339 | (file_attr_dir(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::ObjectPath, parent.1, parent.2.join(name), None, None)) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `file_attr_dir` in this scope [INFO] [stderr] --> src/main.rs:343:12 [INFO] [stderr] | [INFO] [stderr] 343 | (file_attr_dir(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::ObjectPath, parent.1, parent.2.join(name), None, None)) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `file_attr_dir` in this scope [INFO] [stderr] --> src/main.rs:346:12 [INFO] [stderr] | [INFO] [stderr] 346 | (file_attr_dir(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Interface, parent.1, parent.2, Some(name), None)) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `file_attr_file` in this scope [INFO] [stderr] --> src/main.rs:352:14 [INFO] [stderr] | [INFO] [stderr] 352 | (file_attr_file(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Method, parent.1, parent.2, parent.3, Some(name))) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `file_attr_file` in this scope [INFO] [stderr] --> src/main.rs:355:14 [INFO] [stderr] | [INFO] [stderr] 355 | (file_attr_file(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Property, parent.1, parent.2, parent.3, Some(name))) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `file_attr_file` in this scope [INFO] [stderr] --> src/main.rs:358:14 [INFO] [stderr] | [INFO] [stderr] 358 | (file_attr_file(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Signal, parent.1, parent.2, parent.3, Some(name))) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `file_attr_file` in this scope [INFO] [stderr] --> src/main.rs:361:14 [INFO] [stderr] | [INFO] [stderr] 361 | (file_attr_file(self.last_inode.fetch_add(1, Ordering::SeqCst)), (NodeKind::Annotation, parent.1, parent.2, parent.3, Some(name))) [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `self::Basic::*` [INFO] [stderr] --> src/node.rs:75:11 [INFO] [stderr] | [INFO] [stderr] 75 | use self::Basic::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0106]: missing lifetime specifier [INFO] [stderr] --> src/main.rs:39:54 [INFO] [stderr] | [INFO] [stderr] 39 | inode_name: HashMap, Option)>, [INFO] [stderr] | ^^^^^^^^^^ expected named lifetime parameter [INFO] [stderr] | [INFO] [stderr] help: consider introducing a named lifetime parameter [INFO] [stderr] | [INFO] [stderr] 35 | struct DbusFs<'a> { [INFO] [stderr] 36 | dbus: Connection, [INFO] [stderr] 37 | inodes: HashMap<(u64, PathBuf), u64>, [INFO] [stderr] 38 | inode_attr: HashMap, [INFO] [stderr] 39 | inode_name: HashMap, Option, Option)>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0106]: missing lifetime specifier [INFO] [stderr] --> src/main.rs:225:66 [INFO] [stderr] | [INFO] [stderr] 225 | fn split_path>(path: P) -> Option<(dbus::BusName, dbus::Path)> { [INFO] [stderr] | ^^^^^^^^^^ help: consider giving it an explicit bounded or 'static lifetime: `dbus::Path + 'static` [INFO] [stderr] | [INFO] [stderr] = help: this function's return type contains a borrowed value with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0106, E0412, E0423, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0106`. [INFO] [stderr] error: could not compile `dbusfs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "56bdb2d5ee73d2928390f4ff2788ae02dd1c5c3228b73109bcc42ff978928982"` [INFO] running `"docker" "rm" "-f" "56bdb2d5ee73d2928390f4ff2788ae02dd1c5c3228b73109bcc42ff978928982"` [INFO] [stdout] 56bdb2d5ee73d2928390f4ff2788ae02dd1c5c3228b73109bcc42ff978928982