[INFO] fetching crate cap-fs-ext 0.13.6... [INFO] checking cap-fs-ext-0.13.6 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate cap-fs-ext 0.13.6 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate cap-fs-ext 0.13.6 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 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-4/source/Cargo.toml [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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded event-listener v2.5.1 [INFO] [stderr] Downloaded gloo-timers v0.2.1 [INFO] [stderr] Downloaded blocking v1.0.2 [INFO] [stderr] Downloaded wepoll-sys v3.0.1 [INFO] [stderr] Downloaded async-global-executor v2.0.2 [INFO] [stderr] Downloaded async-lock v2.3.0 [INFO] [stderr] Downloaded waker-fn v1.1.0 [INFO] [stderr] Downloaded value-bag v1.0.0-alpha.6 [INFO] [stderr] Downloaded async-attributes v1.1.2 [INFO] [stderr] Downloaded fastrand v1.4.0 [INFO] [stderr] Downloaded cache-padded v1.1.1 [INFO] [stderr] Downloaded atomic-waker v1.0.0 [INFO] [stderr] Downloaded async-task v4.0.3 [INFO] [stderr] Downloaded signal-hook v0.3.7 [INFO] [stderr] Downloaded async-channel v1.6.1 [INFO] [stderr] Downloaded async-std v1.9.0 [INFO] [stderr] Downloaded async-executor v1.4.0 [INFO] [stderr] Downloaded concurrent-queue v1.2.2 [INFO] [stderr] Downloaded async-process v1.0.2 [INFO] [stderr] Downloaded futures-lite v1.11.3 [INFO] [stderr] Downloaded kv-log-macro v1.0.7 [INFO] [stderr] Downloaded async-io v1.3.1 [INFO] [stderr] Downloaded async-mutex v1.4.0 [INFO] [stderr] Downloaded nb-connect v1.0.3 [INFO] [stderr] Downloaded vec-arena v1.0.0 [INFO] [stderr] Downloaded parking v2.0.0 [INFO] [stderr] Downloaded polling v2.0.2 [INFO] [stderr] Downloaded cap-async-std v0.13.7 [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] [stdout] 3fce0e31499c819ebd33099d014ef61ac814f2724e0fb09f0f19d01df4add117 [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" "3fce0e31499c819ebd33099d014ef61ac814f2724e0fb09f0f19d01df4add117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fce0e31499c819ebd33099d014ef61ac814f2724e0fb09f0f19d01df4add117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fce0e31499c819ebd33099d014ef61ac814f2724e0fb09f0f19d01df4add117", kill_on_drop: false }` [INFO] [stdout] 3fce0e31499c819ebd33099d014ef61ac814f2724e0fb09f0f19d01df4add117 [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] [stdout] d357eaf7847936de54bb4b65b32e20a61982859e979b121dbcb4e12c5d92a439 [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" "d357eaf7847936de54bb4b65b32e20a61982859e979b121dbcb4e12c5d92a439", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cap-std v0.13.7 [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] [stderr] error: could not compile `cap-fs-ext` [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[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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d357eaf7847936de54bb4b65b32e20a61982859e979b121dbcb4e12c5d92a439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d357eaf7847936de54bb4b65b32e20a61982859e979b121dbcb4e12c5d92a439", kill_on_drop: false }` [INFO] [stdout] d357eaf7847936de54bb4b65b32e20a61982859e979b121dbcb4e12c5d92a439