[INFO] fetching crate cap-fs-ext 0.13.6... [INFO] checking cap-fs-ext-0.13.6 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate cap-fs-ext 0.13.6 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate cap-fs-ext 0.13.6 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cap-fs-ext 0.13.6 [INFO] finished tweaking crates.io crate cap-fs-ext 0.13.6 [INFO] tweaked toml for crates.io crate cap-fs-ext 0.13.6 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64d1794b2f0c118a1c1f5748c3c612d28e3bab59da64303b38d1919688707262 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "64d1794b2f0c118a1c1f5748c3c612d28e3bab59da64303b38d1919688707262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64d1794b2f0c118a1c1f5748c3c612d28e3bab59da64303b38d1919688707262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64d1794b2f0c118a1c1f5748c3c612d28e3bab59da64303b38d1919688707262", kill_on_drop: false }` [INFO] [stdout] 64d1794b2f0c118a1c1f5748c3c612d28e3bab59da64303b38d1919688707262 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b58c4f88dee56d463cd3e83507968e0ee9b9768f528daf64892ea848e4071e36 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b58c4f88dee56d463cd3e83507968e0ee9b9768f528daf64892ea848e4071e36", kill_on_drop: false }` [INFO] [stderr] Compiling unsafe-io v0.5.2 [INFO] [stderr] Compiling cap-fs-ext v0.13.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: the method `as_file_view` exists for reference `&Dir`, but its trait bounds were not satisfied [INFO] [stdout] --> src/dir_ext.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | set_times(&self.as_file_view(), path.as_ref(), Some(atime), None) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `&Dir` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/dir.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Dir { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Dir: AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `Dir: OwnsRaw` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Dir: OwnsRaw` [INFO] [stdout] which is required by `Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: OwnsRaw` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: AsRawFd` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use unsafe_io::unsafe_handle::AsUnsafeFile;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_file_view` exists for reference `&Dir`, but its trait bounds were not satisfied [INFO] [stdout] --> src/dir_ext.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | set_times(&self.as_file_view(), path.as_ref(), None, Some(mtime)) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `&Dir` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/dir.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Dir { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Dir: AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `Dir: OwnsRaw` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Dir: OwnsRaw` [INFO] [stdout] which is required by `Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: OwnsRaw` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: AsRawFd` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use unsafe_io::unsafe_handle::AsUnsafeFile;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_file_view` exists for reference `&Dir`, but its trait bounds were not satisfied [INFO] [stdout] --> src/dir_ext.rs:195:25 [INFO] [stdout] | [INFO] [stdout] 195 | set_times(&self.as_file_view(), path.as_ref(), atime, mtime) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `&Dir` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/dir.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Dir { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Dir: AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `Dir: OwnsRaw` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Dir: OwnsRaw` [INFO] [stdout] which is required by `Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: OwnsRaw` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: AsRawFd` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use unsafe_io::unsafe_handle::AsUnsafeFile;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_file_view` exists for reference `&Dir`, but its trait bounds were not satisfied [INFO] [stdout] --> src/dir_ext.rs:205:34 [INFO] [stdout] | [INFO] [stdout] 205 | set_times_nofollow(&self.as_file_view(), path.as_ref(), atime, mtime) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `&Dir` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/dir.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Dir { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Dir: AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `Dir: OwnsRaw` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Dir: OwnsRaw` [INFO] [stdout] which is required by `Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: OwnsRaw` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: AsRawFd` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use unsafe_io::unsafe_handle::AsUnsafeFile;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_file_view` exists for reference `&Dir`, but its trait bounds were not satisfied [INFO] [stdout] --> src/dir_ext.rs:211:37 [INFO] [stdout] | [INFO] [stdout] 211 | symlink(src.as_ref(), &self.as_file_view(), dst.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `&Dir` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/dir.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Dir { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Dir: AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `Dir: OwnsRaw` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Dir: OwnsRaw` [INFO] [stdout] which is required by `Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: OwnsRaw` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: AsRawFd` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use unsafe_io::unsafe_handle::AsUnsafeFile;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_file_view` exists for reference `&Dir`, but its trait bounds were not satisfied [INFO] [stdout] --> src/dir_ext.rs:250:39 [INFO] [stdout] | [INFO] [stdout] 250 | match open_dir_nofollow(&self.as_file_view(), path.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `&Dir` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/dir.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Dir { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Dir: AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `Dir: OwnsRaw` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Dir: OwnsRaw` [INFO] [stdout] which is required by `Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: OwnsRaw` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: AsRawFd` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use unsafe_io::unsafe_handle::AsUnsafeFile;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_file_view` exists for reference `&cap_std::fs::File`, but its trait bounds were not satisfied [INFO] [stdout] --> src/is_file_read_write.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | is_file_read_write(&self.as_file_view()) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `&cap_std::fs::File` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/file.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct File { [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `cap_std::fs::File: AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `cap_std::fs::File: OwnsRaw` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `cap_std::fs::File: OwnsRaw` [INFO] [stdout] which is required by `cap_std::fs::File: AsUnsafeFile` [INFO] [stdout] `&cap_std::fs::File: OwnsRaw` [INFO] [stdout] which is required by `&cap_std::fs::File: AsUnsafeFile` [INFO] [stdout] `&cap_std::fs::File: AsRawFd` [INFO] [stdout] which is required by `&cap_std::fs::File: AsUnsafeFile` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use unsafe_io::unsafe_handle::AsUnsafeFile;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cap_std::fs::File: OwnsRaw` is not satisfied [INFO] [stdout] --> src/reopen.rs:42:55 [INFO] [stdout] | [INFO] [stdout] 42 | let file = reopen(&AsUnsafeFile::as_file_view(self), options)?; [INFO] [stdout] | ^^^^ the trait `OwnsRaw` is not implemented for `cap_std::fs::File` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `AsUnsafeHandle` for `cap_std::fs::File` [INFO] [stdout] = note: required by `as_file_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unsafe_io::AsUnsafeFile` [INFO] [stdout] --> src/dir_ext.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use unsafe_io::AsUnsafeFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unsafe_io::AsUnsafeFile` [INFO] [stdout] --> src/is_file_read_write.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use unsafe_io::AsUnsafeFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_file_view` exists for reference `&Dir`, but its trait bounds were not satisfied [INFO] [stdout] --> src/dir_ext.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | set_times(&self.as_file_view(), path.as_ref(), Some(atime), None) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `&Dir` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/dir.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Dir { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Dir: AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `Dir: OwnsRaw` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Dir: OwnsRaw` [INFO] [stdout] which is required by `Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: OwnsRaw` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: AsRawFd` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use unsafe_io::unsafe_handle::AsUnsafeFile;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_file_view` exists for reference `&Dir`, but its trait bounds were not satisfied [INFO] [stdout] --> src/dir_ext.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | set_times(&self.as_file_view(), path.as_ref(), None, Some(mtime)) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `&Dir` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/dir.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Dir { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Dir: AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `Dir: OwnsRaw` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Dir: OwnsRaw` [INFO] [stdout] which is required by `Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: OwnsRaw` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: AsRawFd` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use unsafe_io::unsafe_handle::AsUnsafeFile;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_file_view` exists for reference `&Dir`, but its trait bounds were not satisfied [INFO] [stdout] --> src/dir_ext.rs:195:25 [INFO] [stdout] | [INFO] [stdout] 195 | set_times(&self.as_file_view(), path.as_ref(), atime, mtime) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `&Dir` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/dir.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Dir { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Dir: AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `Dir: OwnsRaw` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Dir: OwnsRaw` [INFO] [stdout] which is required by `Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: OwnsRaw` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: AsRawFd` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use unsafe_io::unsafe_handle::AsUnsafeFile;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_file_view` exists for reference `&Dir`, but its trait bounds were not satisfied [INFO] [stdout] --> src/dir_ext.rs:205:34 [INFO] [stdout] | [INFO] [stdout] 205 | set_times_nofollow(&self.as_file_view(), path.as_ref(), atime, mtime) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `&Dir` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/dir.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Dir { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Dir: AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `Dir: OwnsRaw` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Dir: OwnsRaw` [INFO] [stdout] which is required by `Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: OwnsRaw` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: AsRawFd` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use unsafe_io::unsafe_handle::AsUnsafeFile;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_file_view` exists for reference `&Dir`, but its trait bounds were not satisfied [INFO] [stdout] --> src/dir_ext.rs:211:37 [INFO] [stdout] | [INFO] [stdout] 211 | symlink(src.as_ref(), &self.as_file_view(), dst.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `&Dir` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/dir.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Dir { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Dir: AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `Dir: OwnsRaw` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Dir: OwnsRaw` [INFO] [stdout] which is required by `Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: OwnsRaw` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: AsRawFd` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use unsafe_io::unsafe_handle::AsUnsafeFile;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_file_view` exists for reference `&Dir`, but its trait bounds were not satisfied [INFO] [stdout] --> src/dir_ext.rs:250:39 [INFO] [stdout] | [INFO] [stdout] 250 | match open_dir_nofollow(&self.as_file_view(), path.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `&Dir` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/dir.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Dir { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `Dir: AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `Dir: OwnsRaw` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Dir: OwnsRaw` [INFO] [stdout] which is required by `Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: OwnsRaw` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] `&Dir: AsRawFd` [INFO] [stdout] which is required by `&Dir: AsUnsafeFile` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use unsafe_io::unsafe_handle::AsUnsafeFile;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_file_view` exists for reference `&cap_std::fs::File`, but its trait bounds were not satisfied [INFO] [stdout] --> src/is_file_read_write.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | is_file_read_write(&self.as_file_view()) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `&cap_std::fs::File` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/file.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct File { [INFO] [stdout] | --------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `cap_std::fs::File: AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `cap_std::fs::File: OwnsRaw` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `cap_std::fs::File: OwnsRaw` [INFO] [stdout] which is required by `cap_std::fs::File: AsUnsafeFile` [INFO] [stdout] `&cap_std::fs::File: OwnsRaw` [INFO] [stdout] which is required by `&cap_std::fs::File: AsUnsafeFile` [INFO] [stdout] `&cap_std::fs::File: AsRawFd` [INFO] [stdout] which is required by `&cap_std::fs::File: AsUnsafeFile` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use unsafe_io::unsafe_handle::AsUnsafeFile;` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cap-fs-ext` [INFO] [stdout] error[E0277]: the trait bound `cap_std::fs::File: OwnsRaw` is not satisfied [INFO] [stdout] --> src/reopen.rs:42:55 [INFO] [stdout] | [INFO] [stdout] 42 | let file = reopen(&AsUnsafeFile::as_file_view(self), options)?; [INFO] [stdout] | ^^^^ the trait `OwnsRaw` is not implemented for `cap_std::fs::File` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `AsUnsafeHandle` for `cap_std::fs::File` [INFO] [stdout] = note: required by `as_file_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused import: `unsafe_io::AsUnsafeFile` [INFO] [stdout] --> src/dir_ext.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use unsafe_io::AsUnsafeFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] warning: unused import: `unsafe_io::AsUnsafeFile` [INFO] [stdout] --> src/is_file_read_write.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use unsafe_io::AsUnsafeFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b58c4f88dee56d463cd3e83507968e0ee9b9768f528daf64892ea848e4071e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b58c4f88dee56d463cd3e83507968e0ee9b9768f528daf64892ea848e4071e36", kill_on_drop: false }` [INFO] [stdout] b58c4f88dee56d463cd3e83507968e0ee9b9768f528daf64892ea848e4071e36