[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#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate supply-chain-trust-example-crate-000063 1.0.2 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate supply-chain-trust-example-crate-000063 1.0.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 571587284cd6e06778c807a2756048d658789691f32f3f05b2ab03972e3eabcc [INFO] running `Command { std: "docker" "start" "-a" "571587284cd6e06778c807a2756048d658789691f32f3f05b2ab03972e3eabcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "571587284cd6e06778c807a2756048d658789691f32f3f05b2ab03972e3eabcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "571587284cd6e06778c807a2756048d658789691f32f3f05b2ab03972e3eabcc", kill_on_drop: false }` [INFO] [stdout] 571587284cd6e06778c807a2756048d658789691f32f3f05b2ab03972e3eabcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1c1faa02a7556510817585f063ad08bff1b31cd6edd04ecf567e5be18f850a2 [INFO] running `Command { std: "docker" "start" "-a" "c1c1faa02a7556510817585f063ad08bff1b31cd6edd04ecf567e5be18f850a2", kill_on_drop: false }` [INFO] [stderr] Compiling supply-chain-trust-example-crate-000063 v1.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "c1c1faa02a7556510817585f063ad08bff1b31cd6edd04ecf567e5be18f850a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c1faa02a7556510817585f063ad08bff1b31cd6edd04ecf567e5be18f850a2", kill_on_drop: false }` [INFO] [stdout] c1c1faa02a7556510817585f063ad08bff1b31cd6edd04ecf567e5be18f850a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42e61abe4b7a39448c6382ee5caa3abbc036f5c3b0e586c8157a13f34f66eeea [INFO] running `Command { std: "docker" "start" "-a" "42e61abe4b7a39448c6382ee5caa3abbc036f5c3b0e586c8157a13f34f66eeea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [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 syn v2.0.100 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [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 7.10s [INFO] running `Command { std: "docker" "inspect" "42e61abe4b7a39448c6382ee5caa3abbc036f5c3b0e586c8157a13f34f66eeea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42e61abe4b7a39448c6382ee5caa3abbc036f5c3b0e586c8157a13f34f66eeea", kill_on_drop: false }` [INFO] [stdout] 42e61abe4b7a39448c6382ee5caa3abbc036f5c3b0e586c8157a13f34f66eeea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6578198f06f53a488e05b228768d509ae552adb47b769afd03ec9e07c1a47c1b [INFO] running `Command { std: "docker" "start" "-a" "6578198f06f53a488e05b228768d509ae552adb47b769afd03ec9e07c1a47c1b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [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_slice ... ok [INFO] [stdout] test buffer::tests::test_compilation ... 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_slice_uninit ... ok [INFO] [stdout] test ioctl::tests::test_opcode_funcs ... ok [INFO] [stdout] test buffer::tests::test_spare_capacity ... 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/cstr.rs - cstr::cstr (line 15) ... ok [INFO] [stdout] test src/buffer.rs - buffer::Buffer (line 51) ... FAILED [INFO] [stdout] test src/buffer.rs - buffer::Buffer (line 37) ... FAILED [INFO] [stdout] test src/buffer.rs - buffer::spare_capacity (line 237) ... FAILED [INFO] [stdout] test src/buffer.rs - buffer::Buffer (line 25) ... FAILED [INFO] [stdout] test src/lib.rs - (line 7) ... ok [INFO] [stdout] test src/lib.rs - (line 19) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 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::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] ---- 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] [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.37s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6578198f06f53a488e05b228768d509ae552adb47b769afd03ec9e07c1a47c1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6578198f06f53a488e05b228768d509ae552adb47b769afd03ec9e07c1a47c1b", kill_on_drop: false }` [INFO] [stdout] 6578198f06f53a488e05b228768d509ae552adb47b769afd03ec9e07c1a47c1b