[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 master#12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 for pr-155299-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftuggan%2Frcat" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tuggan/rcat on toolchain 12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c5c11085ae0d952863ea14eb25735179ddeffae4ab30c79093bb223e2062d8d [INFO] running `Command { std: "docker" "start" "-a" "5c5c11085ae0d952863ea14eb25735179ddeffae4ab30c79093bb223e2062d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c5c11085ae0d952863ea14eb25735179ddeffae4ab30c79093bb223e2062d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c5c11085ae0d952863ea14eb25735179ddeffae4ab30c79093bb223e2062d8d", kill_on_drop: false }` [INFO] [stdout] 5c5c11085ae0d952863ea14eb25735179ddeffae4ab30c79093bb223e2062d8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fffcf120285f08e165f0f363878c89539ec8131313a6afb34666b3f4cb7b7fca [INFO] running `Command { std: "docker" "start" "-a" "fffcf120285f08e165f0f363878c89539ec8131313a6afb34666b3f4cb7b7fca", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` 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 32 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 32 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] | [INFO] [stdout] --> /rustc/12f35ad39ed3e39df4d953c46d4f6cc6c82adc96/library/std/src/os/linux/fs.rs:307:7 [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] 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] | [INFO] [stdout] --> /rustc/12f35ad39ed3e39df4d953c46d4f6cc6c82adc96/library/std/src/os/linux/fs.rs:307:7 [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] 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" "fffcf120285f08e165f0f363878c89539ec8131313a6afb34666b3f4cb7b7fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fffcf120285f08e165f0f363878c89539ec8131313a6afb34666b3f4cb7b7fca", kill_on_drop: false }` [INFO] [stdout] fffcf120285f08e165f0f363878c89539ec8131313a6afb34666b3f4cb7b7fca