[INFO] cloning repository https://github.com/cuviper/rust-git-fs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cuviper/rust-git-fs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcuviper%2Frust-git-fs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcuviper%2Frust-git-fs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b78e986e6ffffff1bdea4f3e784aee398a0bf3e [INFO] checking cuviper/rust-git-fs against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcuviper%2Frust-git-fs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cuviper/rust-git-fs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cuviper/rust-git-fs [INFO] finished tweaking git repo https://github.com/cuviper/rust-git-fs [INFO] tweaked toml for git repo https://github.com/cuviper/rust-git-fs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/cuviper/rust-git-fs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread-scoped v1.0.2 [INFO] [stderr] Downloaded libssh2-sys v0.2.21 [INFO] [stderr] Downloaded fuse v0.3.1 [INFO] [stderr] Downloaded probe v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e80e507e3a703a91f7b687df3e8ffe8d0f0c83e1e213074e76f00a3361ea58d3 [INFO] running `Command { std: "docker" "start" "-a" "e80e507e3a703a91f7b687df3e8ffe8d0f0c83e1e213074e76f00a3361ea58d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e80e507e3a703a91f7b687df3e8ffe8d0f0c83e1e213074e76f00a3361ea58d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e80e507e3a703a91f7b687df3e8ffe8d0f0c83e1e213074e76f00a3361ea58d3", kill_on_drop: false }` [INFO] [stdout] e80e507e3a703a91f7b687df3e8ffe8d0f0c83e1e213074e76f00a3361ea58d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dcd42d0d5b5020109e916c328fd694ad1895a50bcae9593d295df291ddfb1d22 [INFO] running `Command { std: "docker" "start" "-a" "dcd42d0d5b5020109e916c328fd694ad1895a50bcae9593d295df291ddfb1d22", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking thread-scoped v1.0.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling fuse v0.3.1 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libssh2-sys v0.2.21 [INFO] [stderr] Compiling libgit2-sys v0.12.18+1.1.0 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking git2 v0.13.17 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking git-fs v0.0.1-pre (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Timespec` in crate `time` [INFO] [stdout] --> src/lib.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | const TTY: time::Timespec = time::Timespec { sec: 1, nsec: 0 }; [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Timespec` in crate `time` [INFO] [stdout] --> src/lib.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | const TTY: time::Timespec = time::Timespec { sec: 1, nsec: 0 }; [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timespec` in crate `time` [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | epoch: time::Timespec, [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in crate `time` [INFO] [stdout] --> src/lib.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | epoch: time::get_time(), [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/inode.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | _add: Box bool + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Id, FileType, &Path) -> bool + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/inode.rs:118:40 [INFO] [stdout] | [INFO] [stdout] 118 | inodes: hash_map::HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/inode.rs:122:51 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn insert(&mut self, ino: u64, inode: Box) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/inode.rs:122:81 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn insert(&mut self, ino: u64, inode: Box) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/inode.rs:126:61 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn find_mut(&mut self, ino: u64) -> Result<&mut Box, libc::c_int> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/inode.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | -> hash_map::Entry> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/inode.rs:139:73 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn new_inode(repo: &git2::Repository, oid: git2::Oid) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blob.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(blob: git2::Blob) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn inode::Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tree.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(tree: git2::Tree) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tree.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | mut add: Box bool + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Id, FileType, &Path) -> bool + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reference.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn inode::Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reference.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | mut add: Box bool + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(inode::Id, FileType, &Path) -> bool + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/root.rs:24:43 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(head: Id, refs: Id) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/root.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | mut add: Box bool + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Id, FileType, &Path) -> bool + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | repo: try!(git2::Repository::open(git_dir.as_ref())), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timespec` in crate `time` [INFO] [stdout] --> src/lib.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | const TTY: time::Timespec = time::Timespec { sec: 1, nsec: 0 }; [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Timespec` in crate `time` [INFO] [stdout] --> src/lib.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | const TTY: time::Timespec = time::Timespec { sec: 1, nsec: 0 }; [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Timespec` in crate `time` [INFO] [stdout] --> src/lib.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | epoch: time::Timespec, [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in crate `time` [INFO] [stdout] --> src/lib.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | epoch: time::get_time(), [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/inode.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | _add: Box bool + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Id, FileType, &Path) -> bool + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/inode.rs:118:40 [INFO] [stdout] | [INFO] [stdout] 118 | inodes: hash_map::HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/inode.rs:122:51 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn insert(&mut self, ino: u64, inode: Box) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/inode.rs:122:81 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn insert(&mut self, ino: u64, inode: Box) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/inode.rs:126:61 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn find_mut(&mut self, ino: u64) -> Result<&mut Box, libc::c_int> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/inode.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | -> hash_map::Entry> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/inode.rs:139:73 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn new_inode(repo: &git2::Repository, oid: git2::Oid) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blob.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(blob: git2::Blob) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn inode::Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tree.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(tree: git2::Tree) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tree.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | mut add: Box bool + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Id, FileType, &Path) -> bool + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reference.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn inode::Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reference.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | mut add: Box bool + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(inode::Id, FileType, &Path) -> bool + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/root.rs:24:43 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(head: Id, refs: Id) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Inode+'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/root.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | mut add: Box bool + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Id, FileType, &Path) -> bool + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | repo: try!(git2::Repository::open(git_dir.as_ref())), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `lookup` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | fn lookup(&mut self, _req: &fuse::Request, parent: u64, name: &Path, reply: fuse::ReplyEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `OsStr`, found struct `Path` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut GitFS, &Request<'_>, _, &OsStr, ReplyEntry)` [INFO] [stdout] found fn pointer `fn(&mut GitFS, &Request<'_>, _, &Path, ReplyEntry)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `read` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | / fn read (&mut self, _req: &fuse::Request, ino: u64, _fh: u64, offset: u64, size: u32, [INFO] [stdout] 211 | | reply: fuse::ReplyData) { [INFO] [stdout] 212 | | probe!(gitfs, read, ino, offset, size); [INFO] [stdout] 213 | | [INFO] [stdout] ... | [INFO] [stdout] 219 | | } [INFO] [stdout] 220 | | } [INFO] [stdout] | |_____^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut GitFS, &Request<'_>, _, _, i64, _, ReplyData)` [INFO] [stdout] found fn pointer `fn(&mut GitFS, &Request<'_>, _, _, u64, _, ReplyData)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `readdir` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | / fn readdir (&mut self, _req: &fuse::Request, ino: u64, _fh: u64, mut offset: u64, [INFO] [stdout] 235 | | mut reply: fuse::ReplyDirectory) { [INFO] [stdout] 236 | | probe!(gitfs, readdir, ino, offset); [INFO] [stdout] 237 | | [INFO] [stdout] ... | [INFO] [stdout] 257 | | } [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut GitFS, &Request<'_>, _, _, i64, ReplyDirectory)` [INFO] [stdout] found fn pointer `fn(&mut GitFS, &Request<'_>, _, _, u64, ReplyDirectory)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `lookup` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | fn lookup(&mut self, _req: &fuse::Request, parent: u64, name: &Path, reply: fuse::ReplyEntry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `OsStr`, found struct `Path` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut GitFS, &Request<'_>, _, &OsStr, ReplyEntry)` [INFO] [stdout] found fn pointer `fn(&mut GitFS, &Request<'_>, _, &Path, ReplyEntry)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `read` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | / fn read (&mut self, _req: &fuse::Request, ino: u64, _fh: u64, offset: u64, size: u32, [INFO] [stdout] 211 | | reply: fuse::ReplyData) { [INFO] [stdout] 212 | | probe!(gitfs, read, ino, offset, size); [INFO] [stdout] 213 | | [INFO] [stdout] ... | [INFO] [stdout] 219 | | } [INFO] [stdout] 220 | | } [INFO] [stdout] | |_____^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut GitFS, &Request<'_>, _, _, i64, _, ReplyData)` [INFO] [stdout] found fn pointer `fn(&mut GitFS, &Request<'_>, _, _, u64, _, ReplyData)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `readdir` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | / fn readdir (&mut self, _req: &fuse::Request, ino: u64, _fh: u64, mut offset: u64, [INFO] [stdout] 235 | | mut reply: fuse::ReplyDirectory) { [INFO] [stdout] 236 | | probe!(gitfs, readdir, ino, offset); [INFO] [stdout] 237 | | [INFO] [stdout] ... | [INFO] [stdout] 257 | | } [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut GitFS, &Request<'_>, _, _, i64, ReplyDirectory)` [INFO] [stdout] found fn pointer `fn(&mut GitFS, &Request<'_>, _, _, u64, ReplyDirectory)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn mount>(mut self, mountpoint: &P) { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 101 | fuse::mount(self, mountpoint, &[&options]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), std::io::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:244:37 [INFO] [stdout] | [INFO] [stdout] 244 | reply.add(u64::MAX, offset, FileType::Directory, &Path::new(".")); [INFO] [stdout] | ^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 244 | reply.add(u64::MAX, offset.try_into().unwrap(), FileType::Directory, &Path::new(".")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:248:37 [INFO] [stdout] | [INFO] [stdout] 248 | reply.add(u64::MAX, offset, FileType::Directory, &Path::new("..")); [INFO] [stdout] | ^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 248 | reply.add(u64::MAX, offset.try_into().unwrap(), FileType::Directory, &Path::new("..")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:252:47 [INFO] [stdout] | [INFO] [stdout] 252 | reply.add(mapper.get_ino(id), offset, kind, path) [INFO] [stdout] | ^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 252 | reply.add(mapper.get_ino(id), offset.try_into().unwrap(), kind, path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308, E0412, E0422, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `git-fs` [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn mount>(mut self, mountpoint: &P) { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 101 | fuse::mount(self, mountpoint, &[&options]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), std::io::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:244:37 [INFO] [stdout] | [INFO] [stdout] 244 | reply.add(u64::MAX, offset, FileType::Directory, &Path::new(".")); [INFO] [stdout] | ^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 244 | reply.add(u64::MAX, offset.try_into().unwrap(), FileType::Directory, &Path::new(".")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:248:37 [INFO] [stdout] | [INFO] [stdout] 248 | reply.add(u64::MAX, offset, FileType::Directory, &Path::new("..")); [INFO] [stdout] | ^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 248 | reply.add(u64::MAX, offset.try_into().unwrap(), FileType::Directory, &Path::new("..")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:252:47 [INFO] [stdout] | [INFO] [stdout] 252 | reply.add(mapper.get_ino(id), offset, kind, path) [INFO] [stdout] | ^^^^^^ expected `i64`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u64` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 252 | reply.add(mapper.get_ino(id), offset.try_into().unwrap(), kind, path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308, E0412, E0422, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "dcd42d0d5b5020109e916c328fd694ad1895a50bcae9593d295df291ddfb1d22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcd42d0d5b5020109e916c328fd694ad1895a50bcae9593d295df291ddfb1d22", kill_on_drop: false }` [INFO] [stdout] dcd42d0d5b5020109e916c328fd694ad1895a50bcae9593d295df291ddfb1d22