[INFO] fetching crate fs2 0.4.3... [INFO] checking fs2-0.4.3 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate fs2 0.4.3 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fs2 0.4.3 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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] 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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1afc3e378cf961185b4b34506cf44e9c97d5c41d6aa985f5b51a267e14d9ca2d [INFO] running `Command { std: "docker" "start" "-a" "1afc3e378cf961185b4b34506cf44e9c97d5c41d6aa985f5b51a267e14d9ca2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1afc3e378cf961185b4b34506cf44e9c97d5c41d6aa985f5b51a267e14d9ca2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1afc3e378cf961185b4b34506cf44e9c97d5c41d6aa985f5b51a267e14d9ca2d", kill_on_drop: false }` [INFO] [stdout] 1afc3e378cf961185b4b34506cf44e9c97d5c41d6aa985f5b51a267e14d9ca2d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da47423a5fce995b580692bd1e15be91c7617bffae8f5e0448a32e49a0785e05 [INFO] running `Command { std: "docker" "start" "-a" "da47423a5fce995b580692bd1e15be91c7617bffae8f5e0448a32e49a0785e05", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking fs2 v0.4.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking tempdir v0.3.7 [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] 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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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" "da47423a5fce995b580692bd1e15be91c7617bffae8f5e0448a32e49a0785e05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da47423a5fce995b580692bd1e15be91c7617bffae8f5e0448a32e49a0785e05", kill_on_drop: false }` [INFO] [stdout] da47423a5fce995b580692bd1e15be91c7617bffae8f5e0448a32e49a0785e05