[INFO] fetching crate system-interface 0.6.2... [INFO] checking system-interface-0.6.2 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate system-interface 0.6.2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate system-interface 0.6.2 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 system-interface 0.6.2 [INFO] finished tweaking crates.io crate system-interface 0.6.2 [INFO] tweaked toml for crates.io crate system-interface 0.6.2 written to /workspace/builds/worker-9/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] ca94ab380d3ae709a28182e88374d5401b78f7c982ddd82fee5e9147c668646c [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" "ca94ab380d3ae709a28182e88374d5401b78f7c982ddd82fee5e9147c668646c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca94ab380d3ae709a28182e88374d5401b78f7c982ddd82fee5e9147c668646c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca94ab380d3ae709a28182e88374d5401b78f7c982ddd82fee5e9147c668646c", kill_on_drop: false }` [INFO] [stdout] ca94ab380d3ae709a28182e88374d5401b78f7c982ddd82fee5e9147c668646c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 2204240efb65b8113c9a75db5ad041b57da901cd3c24f634b110ac17fd6e96f9 [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" "2204240efb65b8113c9a75db5ad041b57da901cd3c24f634b110ac17fd6e96f9", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking maybe-owned v0.3.4 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking errno v0.2.7 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling unsafe-io v0.6.2 [INFO] [stderr] Compiling cap-primitives v0.13.7 [INFO] [stderr] Compiling cap-std v0.13.7 [INFO] [stderr] Compiling unsafe-io v0.5.2 [INFO] [stderr] Compiling cap-fs-ext v0.13.7 [INFO] [stderr] Compiling system-interface v0.6.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking posish v0.5.13 [INFO] [stderr] Checking posish v0.6.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking fs-set-times v0.3.1 [INFO] [stderr] Checking cap-tempfile v0.13.7 [INFO] [stdout] error[E0599]: the method `get_fd_flags` exists for struct `cap_std::fs::file::File`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/fd_flags.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | let flags = check!(file.get_fd_flags()); [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `cap_std::fs::file::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 `_: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `cap_std::fs::file::File: GetSetFdFlags` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `cap_std::fs::file::File: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] which is required by `cap_std::fs::file::File: GetSetFdFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `set_fd_flags` exists for struct `cap_std::fs::file::File`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/fd_flags.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | check!(file.set_fd_flags(FdFlags::APPEND)); [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `cap_std::fs::file::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 `_: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `cap_std::fs::file::File: GetSetFdFlags` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `cap_std::fs::file::File: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] which is required by `cap_std::fs::file::File: GetSetFdFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get_fd_flags` exists for struct `cap_std::fs::file::File`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/fd_flags.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | let flags = check!(file.get_fd_flags()); [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `cap_std::fs::file::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 `_: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `cap_std::fs::file::File: GetSetFdFlags` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `cap_std::fs::file::File: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] which is required by `cap_std::fs::file::File: GetSetFdFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `set_fd_flags` exists for struct `cap_std::fs::file::File`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/fd_flags.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | check!(file.set_fd_flags(FdFlags::NONBLOCK)); [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `cap_std::fs::file::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 `_: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `cap_std::fs::file::File: GetSetFdFlags` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `cap_std::fs::file::File: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] which is required by `cap_std::fs::file::File: GetSetFdFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get_fd_flags` exists for struct `cap_std::fs::file::File`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/fd_flags.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | let flags = check!(file.get_fd_flags()); [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `cap_std::fs::file::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 `_: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `cap_std::fs::file::File: GetSetFdFlags` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `cap_std::fs::file::File: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] which is required by `cap_std::fs::file::File: GetSetFdFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GetSetFdFlags` [INFO] [stdout] --> tests/fd_flags.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use system_interface::fs::{FdFlags, GetSetFdFlags}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `system-interface` [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 `write_fmt` exists for reference `&cap_std::fs::File`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/vectored_at.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | check!(write!(&file, "abcdefghijklmnopqrstuvwxyz")); [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 `_: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `cap_std::fs::File: FileIoExt` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `cap_std::fs::File: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] which is required by `cap_std::fs::File: FileIoExt` [INFO] [stdout] `&cap_std::fs::File: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] which is required by `&cap_std::fs::File: FileIoExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `read_exact_vectored_at` exists for struct `cap_std::fs::File`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/vectored_at.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | check!(file.read_exact_vectored_at(&mut bufs, 4)); [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 `_: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `cap_std::fs::File: FileIoExt` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `cap_std::fs::File: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] which is required by `cap_std::fs::File: FileIoExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `stream_position` exists for struct `cap_std::fs::File`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/vectored_at.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(check!(file.stream_position()), 26); [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 `_: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `cap_std::fs::File: FileIoExt` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `cap_std::fs::File: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] which is required by `cap_std::fs::File: FileIoExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Seek; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `write_fmt` exists for reference `&cap_std::fs::File`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/vectored_at.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | check!(write!(&file, "abcdefghijklmnopqrstuvwxyz")); [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 `_: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `cap_std::fs::File: FileIoExt` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `cap_std::fs::File: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] which is required by `cap_std::fs::File: FileIoExt` [INFO] [stdout] `&cap_std::fs::File: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] which is required by `&cap_std::fs::File: FileIoExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `write_all_vectored_at` exists for struct `cap_std::fs::File`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/vectored_at.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | check!(file.write_all_vectored_at(&mut bufs, 4)); [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 `_: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `cap_std::fs::File: FileIoExt` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `cap_std::fs::File: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] which is required by `cap_std::fs::File: FileIoExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `stream_position` exists for struct `cap_std::fs::File`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/vectored_at.rs:219:28 [INFO] [stdout] | [INFO] [stdout] 219 | assert_eq!(check!(file.stream_position()), 26); [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 `_: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `cap_std::fs::File: FileIoExt` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `cap_std::fs::File: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] which is required by `cap_std::fs::File: FileIoExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Seek; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `seek` exists for struct `cap_std::fs::File`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/vectored_at.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | check!(file.seek(std::io::SeekFrom::Start(0))); [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 `_: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `cap_std::fs::File: FileIoExt` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `cap_std::fs::File: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] which is required by `cap_std::fs::File: FileIoExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Seek; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `read_to_string` exists for struct `cap_std::fs::File`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/vectored_at.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | check!(file.read_to_string(&mut back)); [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 `_: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] | doesn't satisfy `cap_std::fs::File: FileIoExt` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `cap_std::fs::File: unsafe_io::unsafe_handle::AsUnsafeFile` [INFO] [stdout] which is required by `cap_std::fs::File: FileIoExt` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2204240efb65b8113c9a75db5ad041b57da901cd3c24f634b110ac17fd6e96f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2204240efb65b8113c9a75db5ad041b57da901cd3c24f634b110ac17fd6e96f9", kill_on_drop: false }` [INFO] [stdout] 2204240efb65b8113c9a75db5ad041b57da901cd3c24f634b110ac17fd6e96f9