[INFO] fetching crate io-arrays 0.2.1... [INFO] checking io-arrays-0.2.1 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate io-arrays 0.2.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate io-arrays 0.2.1 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 io-arrays 0.2.1 [INFO] finished tweaking crates.io crate io-arrays 0.2.1 [INFO] tweaked toml for crates.io crate io-arrays 0.2.1 written to /workspace/builds/worker-10/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 7ef06f77bf0b7e7dc6fa03b140380f6048eeb421aedfe93ad7c652381d7ca499 [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" "7ef06f77bf0b7e7dc6fa03b140380f6048eeb421aedfe93ad7c652381d7ca499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ef06f77bf0b7e7dc6fa03b140380f6048eeb421aedfe93ad7c652381d7ca499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ef06f77bf0b7e7dc6fa03b140380f6048eeb421aedfe93ad7c652381d7ca499", kill_on_drop: false }` [INFO] [stdout] 7ef06f77bf0b7e7dc6fa03b140380f6048eeb421aedfe93ad7c652381d7ca499 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8c072fbc65e26d7c274f54264d5b1ad4509e6a1ca2c3576f836707a0f66d1220 [INFO] running `Command { std: "docker" "start" "-a" "8c072fbc65e26d7c274f54264d5b1ad4509e6a1ca2c3576f836707a0f66d1220", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking maybe-owned v0.3.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking duplex v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking os_pipe v0.9.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [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 system-interface v0.6.3 [INFO] [stderr] Compiling unsafe-io v0.5.2 [INFO] [stderr] Compiling cap-fs-ext v0.13.7 [INFO] [stderr] Compiling io-streams v0.2.3 [INFO] [stderr] Compiling io-arrays v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking posish v0.5.13 [INFO] [stderr] Checking posish v0.6.1 [INFO] [stderr] Checking fs-set-times v0.3.1 [INFO] [stderr] Checking cap-tempfile v0.13.7 [INFO] [stdout] error[E0277]: the trait bound `cap_std::fs::File: unsafe_io::owns_raw::OwnsRaw` is not satisfied [INFO] [stdout] --> tests/tests.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 25 | let input = ArrayReader::file(dir.open(in_txt)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `unsafe_io::owns_raw::OwnsRaw` is not implemented for `cap_std::fs::File` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/arrays.rs:184:27 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn file(filelike: Filelike) -> Self { [INFO] [stdout] | -------------- required by this bound in `ArrayReader::file` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/file.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | unsafe impl OwnsRaw for File {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `unsafe_io` are being used? [INFO] [stdout] = note: required because of the requirements on the impl of `unsafe_io::unsafe_handle::IntoUnsafeFile` for `cap_std::fs::File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cap_std::fs::File: unsafe_io::owns_raw::OwnsRaw` is not satisfied [INFO] [stdout] --> tests/tests.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | let mut output = ArrayWriter::file(dir.create(out_txt)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `unsafe_io::owns_raw::OwnsRaw` is not implemented for `cap_std::fs::File` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/arrays.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn file(filelike: Filelike) -> Self { [INFO] [stdout] | -------------- required by this bound in `ArrayWriter::file` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/file.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | unsafe impl OwnsRaw for File {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `unsafe_io` are being used? [INFO] [stdout] = note: required because of the requirements on the impl of `unsafe_io::unsafe_handle::IntoUnsafeFile` for `cap_std::fs::File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cap_std::fs::File: unsafe_io::owns_raw::OwnsRaw` is not satisfied [INFO] [stdout] --> tests/tests.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | let input = ArrayReader::file(dir.open(in_txt)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `unsafe_io::owns_raw::OwnsRaw` is not implemented for `cap_std::fs::File` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/arrays.rs:184:27 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn file(filelike: Filelike) -> Self { [INFO] [stdout] | -------------- required by this bound in `ArrayReader::file` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/file.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | unsafe impl OwnsRaw for File {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `unsafe_io` are being used? [INFO] [stdout] = note: required because of the requirements on the impl of `unsafe_io::unsafe_handle::IntoUnsafeFile` for `cap_std::fs::File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cap_std::fs::File: unsafe_io::owns_raw::OwnsRaw` is not satisfied [INFO] [stdout] --> tests/tests.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | let input = ArrayReader::file(dir.open(in_txt)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `unsafe_io::owns_raw::OwnsRaw` is not implemented for `cap_std::fs::File` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/arrays.rs:184:27 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn file(filelike: Filelike) -> Self { [INFO] [stdout] | -------------- required by this bound in `ArrayReader::file` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/file.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | unsafe impl OwnsRaw for File {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `unsafe_io` are being used? [INFO] [stdout] = note: required because of the requirements on the impl of `unsafe_io::unsafe_handle::IntoUnsafeFile` for `cap_std::fs::File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cap_std::fs::File: unsafe_io::owns_raw::OwnsRaw` is not satisfied [INFO] [stdout] --> tests/tests.rs:90:40 [INFO] [stdout] | [INFO] [stdout] 90 | let mut editor = ArrayEditor::file(dir.open_with( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 91 | | name, [INFO] [stdout] 92 | | OpenOptions::new().create_new(true).read(true).write(true), [INFO] [stdout] 93 | | )?); [INFO] [stdout] | |______^ the trait `unsafe_io::owns_raw::OwnsRaw` is not implemented for `cap_std::fs::File` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/arrays.rs:244:27 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn file(filelike: Filelike) -> Self { [INFO] [stdout] | -------------- required by this bound in `ArrayEditor::file` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/file.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | unsafe impl OwnsRaw for File {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `unsafe_io` are being used? [INFO] [stdout] = note: required because of the requirements on the impl of `unsafe_io::unsafe_handle::IntoUnsafeFile` for `cap_std::fs::File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cap_std::fs::File: unsafe_io::owns_raw::OwnsRaw` is not satisfied [INFO] [stdout] --> tests/tests.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 112 | let mut editor = ArrayEditor::file(dir.open_with( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 113 | | name, [INFO] [stdout] 114 | | OpenOptions::new().create_new(true).read(true).write(true), [INFO] [stdout] 115 | | )?); [INFO] [stdout] | |______^ the trait `unsafe_io::owns_raw::OwnsRaw` is not implemented for `cap_std::fs::File` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/arrays.rs:244:27 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn file(filelike: Filelike) -> Self { [INFO] [stdout] | -------------- required by this bound in `ArrayEditor::file` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/file.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | unsafe impl OwnsRaw for File {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `unsafe_io` are being used? [INFO] [stdout] = note: required because of the requirements on the impl of `unsafe_io::unsafe_handle::IntoUnsafeFile` for `cap_std::fs::File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cap_std::fs::File: unsafe_io::owns_raw::OwnsRaw` is not satisfied [INFO] [stdout] --> tests/tests.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | let mut editor = ArrayEditor::file(dir.open_with( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 134 | | name, [INFO] [stdout] 135 | | OpenOptions::new().create_new(true).read(true).write(true), [INFO] [stdout] 136 | | )?); [INFO] [stdout] | |______^ the trait `unsafe_io::owns_raw::OwnsRaw` is not implemented for `cap_std::fs::File` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/arrays.rs:244:27 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn file(filelike: Filelike) -> Self { [INFO] [stdout] | -------------- required by this bound in `ArrayEditor::file` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/file.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | unsafe impl OwnsRaw for File {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `unsafe_io` are being used? [INFO] [stdout] = note: required because of the requirements on the impl of `unsafe_io::unsafe_handle::IntoUnsafeFile` for `cap_std::fs::File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `cap_std::fs::File: unsafe_io::owns_raw::OwnsRaw` is not satisfied [INFO] [stdout] --> tests/tests.rs:147:40 [INFO] [stdout] | [INFO] [stdout] 147 | let mut editor = ArrayEditor::file(dir.open_with( [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 148 | | name, [INFO] [stdout] 149 | | OpenOptions::new().create_new(true).read(true).write(true), [INFO] [stdout] 150 | | )?); [INFO] [stdout] | |______^ the trait `unsafe_io::owns_raw::OwnsRaw` is not implemented for `cap_std::fs::File` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/arrays.rs:244:27 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn file(filelike: Filelike) -> Self { [INFO] [stdout] | -------------- required by this bound in `ArrayEditor::file` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cap-std-0.13.7/src/fs/file.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | unsafe impl OwnsRaw for File {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `unsafe_io` are being used? [INFO] [stdout] = note: required because of the requirements on the impl of `unsafe_io::unsafe_handle::IntoUnsafeFile` for `cap_std::fs::File` [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 E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `io-arrays` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "8c072fbc65e26d7c274f54264d5b1ad4509e6a1ca2c3576f836707a0f66d1220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c072fbc65e26d7c274f54264d5b1ad4509e6a1ca2c3576f836707a0f66d1220", kill_on_drop: false }` [INFO] [stdout] 8c072fbc65e26d7c274f54264d5b1ad4509e6a1ca2c3576f836707a0f66d1220