[INFO] cloning repository https://github.com/tuggan/rcat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tuggan/rcat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuggan%2Frcat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuggan%2Frcat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2af6acd8a2dc18b84ccdd0e25dfd7e2eaab53e9b [INFO] checking tuggan/rcat against try#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuggan%2Frcat" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tuggan/rcat [INFO] finished tweaking git repo https://github.com/tuggan/rcat [INFO] tweaked toml for git repo https://github.com/tuggan/rcat written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tuggan/rcat on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tuggan/rcat 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" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85c5b89b532d67e39372396379e9b0e59f38cd73e95a14f32d3482f5cfdb729f [INFO] running `Command { std: "docker" "start" "-a" "85c5b89b532d67e39372396379e9b0e59f38cd73e95a14f32d3482f5cfdb729f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85c5b89b532d67e39372396379e9b0e59f38cd73e95a14f32d3482f5cfdb729f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85c5b89b532d67e39372396379e9b0e59f38cd73e95a14f32d3482f5cfdb729f", kill_on_drop: false }` [INFO] [stdout] 85c5b89b532d67e39372396379e9b0e59f38cd73e95a14f32d3482f5cfdb729f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e831d09ab869a35bb82174549973b39753c014e8f47cc90ed9d9aee65473adf4 [INFO] running `Command { std: "docker" "start" "-a" "e831d09ab869a35bb82174549973b39753c014e8f47cc90ed9d9aee65473adf4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking rcat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> src/file_helper.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(linux)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [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 name: `linux` [INFO] [stdout] --> src/file_helper.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(linux)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs` [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 `st_blksize` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/file_helper.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | return Result::Ok(metadata.st_blksize()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/std/src/os/linux/fs.rs:307:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_blksize` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 17 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `blksize` with a similar name [INFO] [stdout] | [INFO] [stdout] 33 - return Result::Ok(metadata.st_blksize()); [INFO] [stdout] 33 + return Result::Ok(metadata.blksize()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_blksize` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/file_helper.rs:33:40 [INFO] [stdout] | [INFO] [stdout] 33 | return Result::Ok(metadata.st_blksize()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/std/src/os/linux/fs.rs:307:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Metadata` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MetadataExt` which provides `st_blksize` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 17 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `blksize` with a similar name [INFO] [stdout] | [INFO] [stdout] 33 - return Result::Ok(metadata.st_blksize()); [INFO] [stdout] 33 + return Result::Ok(metadata.blksize()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rcat` (bin "rcat") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rcat` (bin "rcat" test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e831d09ab869a35bb82174549973b39753c014e8f47cc90ed9d9aee65473adf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e831d09ab869a35bb82174549973b39753c014e8f47cc90ed9d9aee65473adf4", kill_on_drop: false }` [INFO] [stdout] e831d09ab869a35bb82174549973b39753c014e8f47cc90ed9d9aee65473adf4