[INFO] fetching crate supply-chain-trust-example-crate-000063 1.0.2... [INFO] testing supply-chain-trust-example-crate-000063-1.0.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate supply-chain-trust-example-crate-000063 1.0.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate supply-chain-trust-example-crate-000063 1.0.2 [INFO] finished tweaking crates.io crate supply-chain-trust-example-crate-000063 1.0.2 [INFO] tweaked toml for crates.io crate supply-chain-trust-example-crate-000063 1.0.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate supply-chain-trust-example-crate-000063 1.0.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate supply-chain-trust-example-crate-000063 1.0.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b009a6a77f815fa22395462881fb2c9267867e592523fbfeeab0e8c232578be2 [INFO] running `Command { std: "docker" "start" "-a" "b009a6a77f815fa22395462881fb2c9267867e592523fbfeeab0e8c232578be2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b009a6a77f815fa22395462881fb2c9267867e592523fbfeeab0e8c232578be2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b009a6a77f815fa22395462881fb2c9267867e592523fbfeeab0e8c232578be2", kill_on_drop: false }` [INFO] [stdout] b009a6a77f815fa22395462881fb2c9267867e592523fbfeeab0e8c232578be2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d61388af6ecd5b29174dd53153bb9cc8afac75cfe8da1bf2dee0dfafd98aed6a [INFO] running `Command { std: "docker" "start" "-a" "d61388af6ecd5b29174dd53153bb9cc8afac75cfe8da1bf2dee0dfafd98aed6a", kill_on_drop: false }` [INFO] [stderr] Compiling supply-chain-trust-example-crate-000063 v1.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.40s [INFO] running `Command { std: "docker" "inspect" "d61388af6ecd5b29174dd53153bb9cc8afac75cfe8da1bf2dee0dfafd98aed6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d61388af6ecd5b29174dd53153bb9cc8afac75cfe8da1bf2dee0dfafd98aed6a", kill_on_drop: false }` [INFO] [stdout] d61388af6ecd5b29174dd53153bb9cc8afac75cfe8da1bf2dee0dfafd98aed6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65b695a504e2c17da09d4b8ddccd7580917689cfea1a6451a45dcb4452b6c8f3 [INFO] running `Command { std: "docker" "start" "-a" "65b695a504e2c17da09d4b8ddccd7580917689cfea1a6451a45dcb4452b6c8f3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling errno v0.3.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling tempfile v3.19.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Compiling serial_test v2.0.0 [INFO] [stderr] Compiling supply-chain-trust-example-crate-000063 v1.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.65s [INFO] running `Command { std: "docker" "inspect" "65b695a504e2c17da09d4b8ddccd7580917689cfea1a6451a45dcb4452b6c8f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65b695a504e2c17da09d4b8ddccd7580917689cfea1a6451a45dcb4452b6c8f3", kill_on_drop: false }` [INFO] [stdout] 65b695a504e2c17da09d4b8ddccd7580917689cfea1a6451a45dcb4452b6c8f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 64dc04fc36b708fb16326e4f06ba3f8d01dd3455ebf4523d00a9d30c18f7cbd5 [INFO] running `Command { std: "docker" "start" "-a" "64dc04fc36b708fb16326e4f06ba3f8d01dd3455ebf4523d00a9d30c18f7cbd5", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/supply_chain_trust_example_crate_000063-c22f3e73ac9e4d21) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test buffer::tests::test_compilation ... ok [INFO] [stdout] test buffer::tests::test_slice ... ok [INFO] [stdout] test buffer::tests::test_slice_uninit ... ok [INFO] [stdout] test cstr::tests::test_cstr ... ok [INFO] [stdout] test ioctl::linux::tests::check_known_opcodes ... ok [INFO] [stdout] test buffer::tests::test_spare_capacity ... ok [INFO] [stdout] test ioctl::tests::test_opcode_funcs ... ok [INFO] [stdout] test cstr::tests::test_invalid_cstr - should panic ... ok [INFO] [stdout] test cstr::tests::test_invalid_empty_cstr - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests supply_chain_trust_example_crate_000063 [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/buffer.rs - buffer::Buffer (line 37) ... FAILED [INFO] [stdout] test src/buffer.rs - buffer::Buffer (line 51) ... FAILED [INFO] [stdout] test src/buffer.rs - buffer::Buffer (line 25) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... ok [INFO] [stdout] test src/cstr.rs - cstr::cstr (line 15) ... ok [INFO] [stdout] test src/buffer.rs - buffer::spare_capacity (line 237) ... FAILED [INFO] [stdout] test src/lib.rs - (line 7) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/buffer.rs - buffer::Buffer (line 37) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustix` [INFO] [stdout] --> src/buffer.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rustix::io::read; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustix` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustix`, use `cargo add rustix` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustix` [INFO] [stdout] --> src/buffer.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 5 | fn example(fd: rustix::fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustix` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustix`, use `cargo add rustix` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use std::os::fd; [INFO] [stdout] | [INFO] [stdout] 2 + use supply_chain_trust_example_crate_000063::fd; [INFO] [stdout] | [INFO] [stdout] help: if you import `fd`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - fn example(fd: rustix::fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] 5 + fn example(fd: fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustix` [INFO] [stdout] --> src/buffer.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 5 | fn example(fd: rustix::fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustix` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustix`, use `cargo add rustix` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use std::io; [INFO] [stdout] | [INFO] [stdout] 2 + use supply_chain_trust_example_crate_000063::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - fn example(fd: rustix::fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] 5 + fn example(fd: rustix::fd::BorrowedFd) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/buffer.rs - buffer::Buffer (line 51) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustix` [INFO] [stdout] --> src/buffer.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rustix::io::read; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustix` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustix`, use `cargo add rustix` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustix` [INFO] [stdout] --> src/buffer.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rustix::buffer::spare_capacity; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustix` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustix`, use `cargo add rustix` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustix` [INFO] [stdout] --> src/buffer.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 5 | fn example(fd: rustix::fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustix` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustix`, use `cargo add rustix` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use std::os::fd; [INFO] [stdout] | [INFO] [stdout] 2 + use supply_chain_trust_example_crate_000063::fd; [INFO] [stdout] | [INFO] [stdout] help: if you import `fd`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - fn example(fd: rustix::fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] 5 + fn example(fd: fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustix` [INFO] [stdout] --> src/buffer.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 5 | fn example(fd: rustix::fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustix` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustix`, use `cargo add rustix` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use std::io; [INFO] [stdout] | [INFO] [stdout] 2 + use supply_chain_trust_example_crate_000063::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - fn example(fd: rustix::fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] 5 + fn example(fd: rustix::fd::BorrowedFd) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/buffer.rs - buffer::Buffer (line 25) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustix` [INFO] [stdout] --> src/buffer.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rustix::io::read; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustix` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustix`, use `cargo add rustix` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustix` [INFO] [stdout] --> src/buffer.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(fd: rustix::fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustix` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustix`, use `cargo add rustix` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use std::os::fd; [INFO] [stdout] | [INFO] [stdout] 2 + use supply_chain_trust_example_crate_000063::fd; [INFO] [stdout] | [INFO] [stdout] help: if you import `fd`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - fn example(fd: rustix::fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] 4 + fn example(fd: fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustix` [INFO] [stdout] --> src/buffer.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn example(fd: rustix::fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustix` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustix`, use `cargo add rustix` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use std::io; [INFO] [stdout] | [INFO] [stdout] 2 + use supply_chain_trust_example_crate_000063::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - fn example(fd: rustix::fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] 4 + fn example(fd: rustix::fd::BorrowedFd) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/buffer.rs - buffer::spare_capacity (line 237) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustix` [INFO] [stdout] --> src/buffer.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rustix::buffer::spare_capacity; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustix` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustix`, use `cargo add rustix` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustix` [INFO] [stdout] --> src/buffer.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rustix::io::{read, Errno}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustix` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustix`, use `cargo add rustix` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustix` [INFO] [stdout] --> src/buffer.rs:238:16 [INFO] [stdout] | [INFO] [stdout] 3 | fn test(input: rustix::fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustix` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustix`, use `cargo add rustix` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use std::os::fd; [INFO] [stdout] | [INFO] [stdout] 2 + use supply_chain_trust_example_crate_000063::fd; [INFO] [stdout] | [INFO] [stdout] help: if you import `fd`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - fn test(input: rustix::fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] 3 + fn test(input: fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustix` [INFO] [stdout] --> src/buffer.rs:238:43 [INFO] [stdout] | [INFO] [stdout] 3 | fn test(input: rustix::fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustix` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustix`, use `cargo add rustix` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 2 + use std::io; [INFO] [stdout] | [INFO] [stdout] 2 + use supply_chain_trust_example_crate_000063::io; [INFO] [stdout] | [INFO] [stdout] help: if you import `io`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - fn test(input: rustix::fd::BorrowedFd) -> rustix::io::Result<()> { [INFO] [stdout] 3 + fn test(input: rustix::fd::BorrowedFd) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/buffer.rs - buffer::Buffer (line 25) [INFO] [stdout] src/buffer.rs - buffer::Buffer (line 37) [INFO] [stdout] src/buffer.rs - buffer::Buffer (line 51) [INFO] [stdout] src/buffer.rs - buffer::spare_capacity (line 237) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "64dc04fc36b708fb16326e4f06ba3f8d01dd3455ebf4523d00a9d30c18f7cbd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64dc04fc36b708fb16326e4f06ba3f8d01dd3455ebf4523d00a9d30c18f7cbd5", kill_on_drop: false }` [INFO] [stdout] 64dc04fc36b708fb16326e4f06ba3f8d01dd3455ebf4523d00a9d30c18f7cbd5