[INFO] fetching crate efs 0.5.0... [INFO] testing efs-0.5.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate efs 0.5.0 into /workspace/builds/worker-4-tc1/source [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate efs 0.5.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded no_std_io2 v0.9.3 [INFO] [stderr] Downloaded deku_derive v0.20.2 [INFO] [stderr] Downloaded deku v0.20.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54dc2c108f6bb4be61bf1e6a4a32ff751e7f5d2eed2b80a4e26911cdf2300425 [INFO] running `Command { std: "docker" "start" "-a" "54dc2c108f6bb4be61bf1e6a4a32ff751e7f5d2eed2b80a4e26911cdf2300425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54dc2c108f6bb4be61bf1e6a4a32ff751e7f5d2eed2b80a4e26911cdf2300425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54dc2c108f6bb4be61bf1e6a4a32ff751e7f5d2eed2b80a4e26911cdf2300425", kill_on_drop: false }` [INFO] [stdout] 54dc2c108f6bb4be61bf1e6a4a32ff751e7f5d2eed2b80a4e26911cdf2300425 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6598e149dad368ef5d6ec8060f8747a4fe095498b9a8a9858a4ac24860a5d98 [INFO] running `Command { std: "docker" "start" "-a" "b6598e149dad368ef5d6ec8060f8747a4fe095498b9a8a9858a4ac24860a5d98", 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 memchr v2.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.8 [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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.39s [INFO] running `Command { std: "docker" "inspect" "b6598e149dad368ef5d6ec8060f8747a4fe095498b9a8a9858a4ac24860a5d98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6598e149dad368ef5d6ec8060f8747a4fe095498b9a8a9858a4ac24860a5d98", kill_on_drop: false }` [INFO] [stdout] b6598e149dad368ef5d6ec8060f8747a4fe095498b9a8a9858a4ac24860a5d98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b45c1812ed12ce00af790678046ed6835efc8795e8e948161b6276cf1348bab [INFO] running `Command { std: "docker" "start" "-a" "5b45c1812ed12ce00af790678046ed6835efc8795e8e948161b6276cf1348bab", 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] 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] [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" "5b45c1812ed12ce00af790678046ed6835efc8795e8e948161b6276cf1348bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b45c1812ed12ce00af790678046ed6835efc8795e8e948161b6276cf1348bab", kill_on_drop: false }` [INFO] [stdout] 5b45c1812ed12ce00af790678046ed6835efc8795e8e948161b6276cf1348bab