[INFO] fetching crate efs 0.5.0... [INFO] testing efs-0.5.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate efs 0.5.0 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate efs 0.5.0 [INFO] finished tweaking crates.io crate efs 0.5.0 [INFO] tweaked toml for crates.io crate efs 0.5.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate efs 0.5.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate efs 0.5.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 051f047c7ee6f294a35719a91954319f344db76e101328dc9d4a47e1df5bfef6 [INFO] running `Command { std: "docker" "start" "-a" "051f047c7ee6f294a35719a91954319f344db76e101328dc9d4a47e1df5bfef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "051f047c7ee6f294a35719a91954319f344db76e101328dc9d4a47e1df5bfef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "051f047c7ee6f294a35719a91954319f344db76e101328dc9d4a47e1df5bfef6", kill_on_drop: false }` [INFO] [stdout] 051f047c7ee6f294a35719a91954319f344db76e101328dc9d4a47e1df5bfef6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c909728c35e46bd9c143de8815c1fb1f8424c0c1a465c43c5011b941b55e39c0 [INFO] running `Command { std: "docker" "start" "-a" "c909728c35e46bd9c143de8815c1fb1f8424c0c1a465c43c5011b941b55e39c0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling no_std_io2 v0.9.3 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling deku_derive v0.20.2 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling deku v0.20.2 [INFO] [stderr] Compiling efs v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.88s [INFO] [stdout] warning: feature `macro_metavar_expr_concat` is declared but not used [INFO] [stdout] --> src/lib.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | #![feature(macro_metavar_expr_concat)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `exact_size_is_empty` is declared but not used [INFO] [stdout] --> src/lib.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | #![feature(exact_size_is_empty)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `pattern` is declared but not used [INFO] [stdout] --> src/lib.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 285 | #![feature(pattern)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c909728c35e46bd9c143de8815c1fb1f8424c0c1a465c43c5011b941b55e39c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c909728c35e46bd9c143de8815c1fb1f8424c0c1a465c43c5011b941b55e39c0", kill_on_drop: false }` [INFO] [stdout] c909728c35e46bd9c143de8815c1fb1f8424c0c1a465c43c5011b941b55e39c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e6a269154585c5ba50077555e8ddbce1aa13392f56f6b5cc4d79924cea7e2cf [INFO] running `Command { std: "docker" "start" "-a" "7e6a269154585c5ba50077555e8ddbce1aa13392f56f6b5cc4d79924cea7e2cf", kill_on_drop: false }` [INFO] [stderr] Compiling efs v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `std` in this scope [INFO] [stdout] --> src/dev/mod.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | use std::fs::{self, File}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std` [INFO] [stdout] --> src/dev/mod.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | use std::fs::{self, File}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `std` in this scope [INFO] [stdout] --> src/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `std` in this scope [INFO] [stdout] --> src/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::copy; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `std` in this scope [INFO] [stdout] --> src/tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::process::Command; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `std` in this scope [INFO] [stdout] --> src/tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::atomic::{AtomicU32, Ordering}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std` [INFO] [stdout] --> src/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::format; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `std` in this scope [INFO] [stdout] --> src/tests.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let file = std::fs::OpenOptions::new().read(true).write(true).open(&file_name).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] ::: src/dev/mod.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | generate_fs_test!(device_file_write, "./tests/dev/device_file_1.txt"); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_fs_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `std` in this scope [INFO] [stdout] --> src/tests.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | std::fs::remove_file(&file_name).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] ::: src/dev/mod.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | generate_fs_test!(device_file_write, "./tests/dev/device_file_1.txt"); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_fs_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `std` in this scope [INFO] [stdout] --> src/tests.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | std::fs::remove_file(&file_name).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] ::: src/dev/mod.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | generate_fs_test!(device_file_write, "./tests/dev/device_file_1.txt"); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `generate_fs_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `std` in this scope [INFO] [stdout] --> src/dev/mod.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | std::io::Seek::rewind(&mut file_1).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 480 + use crate::dev::Seek; [INFO] [stdout] | [INFO] [stdout] 480 + use deku::no_std_io::Seek; [INFO] [stdout] | [INFO] [stdout] help: if you import `Seek`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 519 - std::io::Seek::rewind(&mut file_1).unwrap(); [INFO] [stdout] 519 + Seek::rewind(&mut file_1).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `std` in this scope [INFO] [stdout] --> src/dev/mod.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | std::io::Read::read_to_string(&mut file_1, &mut file_1_content).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 480 + use crate::dev::Read; [INFO] [stdout] | [INFO] [stdout] 480 + use deku::no_std_io::Read; [INFO] [stdout] | [INFO] [stdout] help: if you import `Read`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 522 - std::io::Read::read_to_string(&mut file_1, &mut file_1_content).unwrap(); [INFO] [stdout] 522 + Read::read_to_string(&mut file_1, &mut file_1_content).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `macro_metavar_expr_concat` is declared but not used [INFO] [stdout] --> src/lib.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | #![feature(macro_metavar_expr_concat)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `exact_size_is_empty` is declared but not used [INFO] [stdout] --> src/lib.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | #![feature(exact_size_is_empty)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `pattern` is declared but not used [INFO] [stdout] --> src/lib.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 285 | #![feature(pattern)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `efs` (lib test) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7e6a269154585c5ba50077555e8ddbce1aa13392f56f6b5cc4d79924cea7e2cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e6a269154585c5ba50077555e8ddbce1aa13392f56f6b5cc4d79924cea7e2cf", kill_on_drop: false }` [INFO] [stdout] 7e6a269154585c5ba50077555e8ddbce1aa13392f56f6b5cc4d79924cea7e2cf