[INFO] fetching crate fs2 0.4.3... [INFO] testing fs2-0.4.3 against master#a1531335fe2807715fff569904d99602022643a7 for pr-145277 [INFO] extracting crate fs2 0.4.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate fs2 0.4.3 [INFO] finished tweaking crates.io crate fs2 0.4.3 [INFO] tweaked toml for crates.io crate fs2 0.4.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fs2 0.4.3 on toolchain a1531335fe2807715fff569904d99602022643a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1531335fe2807715fff569904d99602022643a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1531335fe2807715fff569904d99602022643a7" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1531335fe2807715fff569904d99602022643a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded remove_dir_all v0.5.3 [INFO] [stderr] Downloaded rdrand v0.4.0 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded fuchsia-cprng v0.1.1 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded rand_core v0.4.2 [INFO] [stderr] Downloaded rand_core v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a1531335fe2807715fff569904d99602022643a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a1f360c6e0b271d555023ce68a507f59328b9577f397b9db6af7155699077ac [INFO] running `Command { std: "docker" "start" "-a" "7a1f360c6e0b271d555023ce68a507f59328b9577f397b9db6af7155699077ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a1f360c6e0b271d555023ce68a507f59328b9577f397b9db6af7155699077ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a1f360c6e0b271d555023ce68a507f59328b9577f397b9db6af7155699077ac", kill_on_drop: false }` [INFO] [stdout] 7a1f360c6e0b271d555023ce68a507f59328b9577f397b9db6af7155699077ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a1531335fe2807715fff569904d99602022643a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f815a74c393d1242cae7a805f2d6c8bdd650a48dbf2cb8b1f8a0b414b23795aa [INFO] running `Command { std: "docker" "start" "-a" "f815a74c393d1242cae7a805f2d6c8bdd650a48dbf2cb8b1f8a0b414b23795aa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling fs2 v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/unix.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | target_os = "nacl"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.67s [INFO] running `Command { std: "docker" "inspect" "f815a74c393d1242cae7a805f2d6c8bdd650a48dbf2cb8b1f8a0b414b23795aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f815a74c393d1242cae7a805f2d6c8bdd650a48dbf2cb8b1f8a0b414b23795aa", kill_on_drop: false }` [INFO] [stdout] f815a74c393d1242cae7a805f2d6c8bdd650a48dbf2cb8b1f8a0b414b23795aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a1531335fe2807715fff569904d99602022643a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56bd98f7fe1c226d2093b4499c674a5c18b448d5b0e91b9f9d01cab60099f334 [INFO] running `Command { std: "docker" "start" "-a" "56bd98f7fe1c226d2093b4499c674a5c18b448d5b0e91b9f9d01cab60099f334", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/unix.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | target_os = "nacl"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling fs2 v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/unix.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | target_os = "nacl"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 10 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `raw_os_error` found for enum `std::fs::TryLockError` in the current scope [INFO] [stdout] --> src/unix.rs:243:57 [INFO] [stdout] | [INFO] [stdout] 243 | assert_eq!(file3.try_lock_shared().unwrap_err().raw_os_error(), [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::fs::TryLockError` [INFO] [stdout] | [INFO] [stdout] note: the method `raw_os_error` exists on the type `std::io::Error` [INFO] [stdout] --> /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/io/error.rs:713:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `kind` found for enum `std::fs::TryLockError` in the current scope [INFO] [stdout] --> src/lib.rs:269:57 [INFO] [stdout] | [INFO] [stdout] 269 | assert_eq!(file2.try_lock_shared().unwrap_err().kind(), [INFO] [stdout] | ^^^^ method not found in `std::fs::TryLockError` [INFO] [stdout] | [INFO] [stdout] note: the method `kind` exists on the type `std::io::Error` [INFO] [stdout] --> /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/io/error.rs:995:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `kind` found for enum `std::fs::TryLockError` in the current scope [INFO] [stdout] --> src/lib.rs:286:57 [INFO] [stdout] | [INFO] [stdout] 286 | assert_eq!(file2.try_lock_shared().unwrap_err().kind(), [INFO] [stdout] | ^^^^ method not found in `std::fs::TryLockError` [INFO] [stdout] | [INFO] [stdout] note: the method `kind` exists on the type `std::io::Error` [INFO] [stdout] --> /rustc/a1531335fe2807715fff569904d99602022643a7/library/std/src/io/error.rs:995:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fs2` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "56bd98f7fe1c226d2093b4499c674a5c18b448d5b0e91b9f9d01cab60099f334", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56bd98f7fe1c226d2093b4499c674a5c18b448d5b0e91b9f9d01cab60099f334", kill_on_drop: false }` [INFO] [stdout] 56bd98f7fe1c226d2093b4499c674a5c18b448d5b0e91b9f9d01cab60099f334