[INFO] fetching crate supply-chain-trust-example-crate-000063 1.0.2... [INFO] testing supply-chain-trust-example-crate-000063-1.0.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate supply-chain-trust-example-crate-000063 1.0.2 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate supply-chain-trust-example-crate-000063 1.0.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.19.0 [INFO] [stderr] Downloaded rustc-std-workspace-alloc v1.0.1 [INFO] [stderr] Downloaded rustc-std-workspace-core v1.0.1 [INFO] [stderr] Downloaded rustix v1.0.2 [INFO] [stderr] Downloaded compiler_builtins v0.1.151 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f349dacbd637bfdeb28a43f3b8516738509dea43212c9845f2d3dbb1af67bf77 [INFO] running `Command { std: "docker" "start" "-a" "f349dacbd637bfdeb28a43f3b8516738509dea43212c9845f2d3dbb1af67bf77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f349dacbd637bfdeb28a43f3b8516738509dea43212c9845f2d3dbb1af67bf77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f349dacbd637bfdeb28a43f3b8516738509dea43212c9845f2d3dbb1af67bf77", kill_on_drop: false }` [INFO] [stdout] f349dacbd637bfdeb28a43f3b8516738509dea43212c9845f2d3dbb1af67bf77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 440dbc1cd51e9db42e771efac5cb5a831bd5f4f59b2d7a28025c45f5321b318d [INFO] running `Command { std: "docker" "start" "-a" "440dbc1cd51e9db42e771efac5cb5a831bd5f4f59b2d7a28025c45f5321b318d", 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.53s [INFO] running `Command { std: "docker" "inspect" "440dbc1cd51e9db42e771efac5cb5a831bd5f4f59b2d7a28025c45f5321b318d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "440dbc1cd51e9db42e771efac5cb5a831bd5f4f59b2d7a28025c45f5321b318d", kill_on_drop: false }` [INFO] [stdout] 440dbc1cd51e9db42e771efac5cb5a831bd5f4f59b2d7a28025c45f5321b318d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 696e4ad36e0cc623983a572a2a82ee6c7e50770eb329504629849c097be50734 [INFO] running `Command { std: "docker" "start" "-a" "696e4ad36e0cc623983a572a2a82ee6c7e50770eb329504629849c097be50734", 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 log v0.4.26 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling errno v0.3.10 [INFO] [stderr] Compiling syn v2.0.100 [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 12.01s [INFO] running `Command { std: "docker" "inspect" "696e4ad36e0cc623983a572a2a82ee6c7e50770eb329504629849c097be50734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "696e4ad36e0cc623983a572a2a82ee6c7e50770eb329504629849c097be50734", kill_on_drop: false }` [INFO] [stdout] 696e4ad36e0cc623983a572a2a82ee6c7e50770eb329504629849c097be50734 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 858ccd601d2215e77aca088e8f7f890720fb7fb7b62330cd920a0cc2d4010671 [INFO] running `Command { std: "docker" "start" "-a" "858ccd601d2215e77aca088e8f7f890720fb7fb7b62330cd920a0cc2d4010671", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [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_spare_capacity ... ok [INFO] [stdout] test cstr::tests::test_cstr ... ok [INFO] [stdout] test ioctl::linux::tests::check_known_opcodes ... ok [INFO] [stdout] test ioctl::tests::test_opcode_funcs ... ok [INFO] [stdout] test cstr::tests::test_invalid_empty_cstr - should panic ... ok [INFO] [stdout] test cstr::tests::test_invalid_cstr - should panic ... ok [INFO] [stdout] test buffer::tests::test_slice_uninit ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests supply_chain_trust_example_crate_000063 [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - (line 19) ... ok [INFO] [stdout] test src/cstr.rs - cstr::cstr (line 15) ... ok [INFO] [stdout] test src/lib.rs - (line 7) ... ok [INFO] [stdout] test src/buffer.rs - buffer::Buffer (line 25) ... FAILED [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::spare_capacity (line 237) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::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::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] [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.69s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "858ccd601d2215e77aca088e8f7f890720fb7fb7b62330cd920a0cc2d4010671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "858ccd601d2215e77aca088e8f7f890720fb7fb7b62330cd920a0cc2d4010671", kill_on_drop: false }` [INFO] [stdout] 858ccd601d2215e77aca088e8f7f890720fb7fb7b62330cd920a0cc2d4010671