[INFO] cloning repository https://github.com/wakame-tech/our_git [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wakame-tech/our_git" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwakame-tech%2Four_git", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwakame-tech%2Four_git'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 690c92253b38246a9011b283720bb1e16ba269d4 [INFO] checking wakame-tech/our_git against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwakame-tech%2Four_git" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wakame-tech/our_git on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/wakame-tech/our_git [INFO] finished tweaking git repo https://github.com/wakame-tech/our_git [INFO] tweaked toml for git repo https://github.com/wakame-tech/our_git written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wakame-tech/our_git 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-ini v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4162c13db9906fabcb7c2ad6f424082ef09c623442fc89a5c3463f8058c2389b [INFO] running `Command { std: "docker" "start" "-a" "4162c13db9906fabcb7c2ad6f424082ef09c623442fc89a5c3463f8058c2389b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4162c13db9906fabcb7c2ad6f424082ef09c623442fc89a5c3463f8058c2389b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4162c13db9906fabcb7c2ad6f424082ef09c623442fc89a5c3463f8058c2389b", kill_on_drop: false }` [INFO] [stdout] 4162c13db9906fabcb7c2ad6f424082ef09c623442fc89a5c3463f8058c2389b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6ce168eda2d20d0da00cd1ced85864f873a8064e152420f9b6134c3528f7a87 [INFO] running `Command { std: "docker" "start" "-a" "b6ce168eda2d20d0da00cd1ced85864f873a8064e152420f9b6134c3528f7a87", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking trim-in-place v0.1.7 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking clap_builder v4.5.6 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking rust-ini v0.21.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Checking clap v4.5.6 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking our_git v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `macos` in `os` [INFO] [stdout] --> src/add.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | os::macos::fs::MetadataExt, [INFO] [stdout] | ^^^^^ could not find `macos` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/mod.rs:137:9 [INFO] [stdout] note: the item is gated behind the `macos` feature [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/mod.rs:136:7 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `macos` in `os` [INFO] [stdout] --> src/add.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | os::macos::fs::MetadataExt, [INFO] [stdout] | ^^^^^ could not find `macos` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/mod.rs:137:9 [INFO] [stdout] note: the item is gated behind the `macos` feature [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/mod.rs:136:7 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/commit.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | let config_path = PathBuf::from(std::env::home_dir().unwrap()).join(".gitconfig"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/commit.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | let config_path = PathBuf::from(std::env::home_dir().unwrap()).join(".gitconfig"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_dev` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | dev: stat.st_dev() as u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/linux/fs.rs:60: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_dev` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_rdev` with a similar name [INFO] [stdout] | [INFO] [stdout] 60 | dev: stat.st_rdev() as u32, [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_dev` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | dev: stat.st_dev() as u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/linux/fs.rs:60: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_dev` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_rdev` with a similar name [INFO] [stdout] | [INFO] [stdout] 60 | dev: stat.st_rdev() as u32, [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_ino` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | ino: stat.st_ino() as u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/linux/fs.rs:77: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_ino` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ino` with a similar name [INFO] [stdout] | [INFO] [stdout] 61 | ino: stat.ino() as u32, [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_ino` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | ino: stat.st_ino() as u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/linux/fs.rs:77: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_ino` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ino` with a similar name [INFO] [stdout] | [INFO] [stdout] 61 | ino: stat.ino() as u32, [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_mode` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | mode_type: (stat.st_mode() >> 12) as u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/linux/fs.rs:94: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_mode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `mode` with a similar name [INFO] [stdout] | [INFO] [stdout] 62 | mode_type: (stat.mode() >> 12) as u16, [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_mode` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | mode_type: (stat.st_mode() >> 12) as u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/linux/fs.rs:94: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_mode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `mode` with a similar name [INFO] [stdout] | [INFO] [stdout] 62 | mode_type: (stat.mode() >> 12) as u16, [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_mode` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | mode_perms: (stat.st_mode() & 0o777) as u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/linux/fs.rs:94: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_mode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `mode` with a similar name [INFO] [stdout] | [INFO] [stdout] 63 | mode_perms: (stat.mode() & 0o777) as u16, [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_mode` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | mode_perms: (stat.st_mode() & 0o777) as u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/linux/fs.rs:94: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_mode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `mode` with a similar name [INFO] [stdout] | [INFO] [stdout] 63 | mode_perms: (stat.mode() & 0o777) as u16, [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_uid` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | uid: stat.st_uid(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/linux/fs.rs:128: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_uid` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_gid` with a similar name [INFO] [stdout] | [INFO] [stdout] 64 | uid: stat.st_gid(), [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_uid` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | uid: stat.st_uid(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/linux/fs.rs:128: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_uid` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_gid` with a similar name [INFO] [stdout] | [INFO] [stdout] 64 | uid: stat.st_gid(), [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_gid` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | gid: stat.st_gid(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/linux/fs.rs:145: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_gid` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_uid` with a similar name [INFO] [stdout] | [INFO] [stdout] 65 | gid: stat.st_uid(), [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_gid` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | gid: stat.st_gid(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/linux/fs.rs:145: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_gid` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_uid` with a similar name [INFO] [stdout] | [INFO] [stdout] 65 | gid: stat.st_uid(), [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_size` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | fsize: stat.st_size() as usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/linux/fs.rs:182: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_size` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `size` with a similar name [INFO] [stdout] | [INFO] [stdout] 66 | fsize: stat.size() as usize, [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_size` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | fsize: stat.st_size() as usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/22572d0994593197593e2a1b7b18d720a9a349a7/library/std/src/os/linux/fs.rs:182: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_size` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `size` with a similar name [INFO] [stdout] | [INFO] [stdout] 66 | fsize: stat.size() as usize, [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_flags` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | flag_assume_valid: stat.st_flags() >> 15 != 0, [INFO] [stdout] | ^^^^^^^^ method not found in `Metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_flags` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | flag_assume_valid: stat.st_flags() >> 15 != 0, [INFO] [stdout] | ^^^^^^^^ method not found in `Metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_flags` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | flag_stage: ((stat.st_flags() >> 12) & 0b0011) as u16, [INFO] [stdout] | ^^^^^^^^ method not found in `Metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_flags` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | flag_stage: ((stat.st_flags() >> 12) & 0b0011) as u16, [INFO] [stdout] | ^^^^^^^^ method not found in `Metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/git_object.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn deserialize_object(data: &[u8]) -> GitObject { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/git_object.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn deserialize_object(data: &[u8]) -> GitObject { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `our_git` (bin "our_git") due to 11 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `our_git` (bin "our_git" test) due to 11 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b6ce168eda2d20d0da00cd1ced85864f873a8064e152420f9b6134c3528f7a87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6ce168eda2d20d0da00cd1ced85864f873a8064e152420f9b6134c3528f7a87", kill_on_drop: false }` [INFO] [stdout] b6ce168eda2d20d0da00cd1ced85864f873a8064e152420f9b6134c3528f7a87 [INFO] checking wakame-tech/our_git against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwakame-tech%2Four_git" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wakame-tech/our_git on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/wakame-tech/our_git [INFO] finished tweaking git repo https://github.com/wakame-tech/our_git [INFO] tweaked toml for git repo https://github.com/wakame-tech/our_git written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wakame-tech/our_git 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c95f132c0765aecafe11ea64ac793bc20f530b8291795958bba0e21eb0413bb5 [INFO] running `Command { std: "docker" "start" "-a" "c95f132c0765aecafe11ea64ac793bc20f530b8291795958bba0e21eb0413bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c95f132c0765aecafe11ea64ac793bc20f530b8291795958bba0e21eb0413bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c95f132c0765aecafe11ea64ac793bc20f530b8291795958bba0e21eb0413bb5", kill_on_drop: false }` [INFO] [stdout] c95f132c0765aecafe11ea64ac793bc20f530b8291795958bba0e21eb0413bb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 040efc500d7e516be7882df1870d7bfdcf371f4de6cc688fd0366ad7711e54e0 [INFO] running `Command { std: "docker" "start" "-a" "040efc500d7e516be7882df1870d7bfdcf371f4de6cc688fd0366ad7711e54e0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking trim-in-place v0.1.7 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking clap_builder v4.5.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking rust-ini v0.21.0 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking clap v4.5.6 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking our_git v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `macos` in `os` [INFO] [stdout] --> src/add.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | os::macos::fs::MetadataExt, [INFO] [stdout] | ^^^^^ could not find `macos` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/mod.rs:137:9 [INFO] [stdout] note: the item is gated behind the `macos` feature [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/mod.rs:136:7 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `macos` in `os` [INFO] [stdout] --> src/add.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | os::macos::fs::MetadataExt, [INFO] [stdout] | ^^^^^ could not find `macos` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/mod.rs:137:9 [INFO] [stdout] note: the item is gated behind the `macos` feature [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/mod.rs:136:7 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/commit.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | let config_path = PathBuf::from(std::env::home_dir().unwrap()).join(".gitconfig"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/commit.rs:18:47 [INFO] [stdout] | [INFO] [stdout] 18 | let config_path = PathBuf::from(std::env::home_dir().unwrap()).join(".gitconfig"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_dev` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | dev: stat.st_dev() as u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/linux/fs.rs:60: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_dev` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_rdev` with a similar name [INFO] [stdout] | [INFO] [stdout] 60 | dev: stat.st_rdev() as u32, [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_dev` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | dev: stat.st_dev() as u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/linux/fs.rs:60: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_dev` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_rdev` with a similar name [INFO] [stdout] | [INFO] [stdout] 60 | dev: stat.st_rdev() as u32, [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_ino` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | ino: stat.st_ino() as u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/linux/fs.rs:77: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_ino` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ino` with a similar name [INFO] [stdout] | [INFO] [stdout] 61 | ino: stat.ino() as u32, [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_mode` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | mode_type: (stat.st_mode() >> 12) as u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/linux/fs.rs:94: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_mode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `mode` with a similar name [INFO] [stdout] | [INFO] [stdout] 62 | mode_type: (stat.mode() >> 12) as u16, [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_mode` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | mode_perms: (stat.st_mode() & 0o777) as u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/linux/fs.rs:94: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_mode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `mode` with a similar name [INFO] [stdout] | [INFO] [stdout] 63 | mode_perms: (stat.mode() & 0o777) as u16, [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_uid` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | uid: stat.st_uid(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/linux/fs.rs:128: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_uid` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_gid` with a similar name [INFO] [stdout] | [INFO] [stdout] 64 | uid: stat.st_gid(), [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_ino` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | ino: stat.st_ino() as u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/linux/fs.rs:77: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_ino` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `ino` with a similar name [INFO] [stdout] | [INFO] [stdout] 61 | ino: stat.ino() as u32, [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_gid` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | gid: stat.st_gid(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/linux/fs.rs:145: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_gid` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_uid` with a similar name [INFO] [stdout] | [INFO] [stdout] 65 | gid: stat.st_uid(), [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_size` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | fsize: stat.st_size() as usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/linux/fs.rs:182: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_size` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `size` with a similar name [INFO] [stdout] | [INFO] [stdout] 66 | fsize: stat.size() as usize, [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_mode` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | mode_type: (stat.st_mode() >> 12) as u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/linux/fs.rs:94: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_mode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `mode` with a similar name [INFO] [stdout] | [INFO] [stdout] 62 | mode_type: (stat.mode() >> 12) as u16, [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_flags` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | flag_assume_valid: stat.st_flags() >> 15 != 0, [INFO] [stdout] | ^^^^^^^^ method not found in `Metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_mode` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | mode_perms: (stat.st_mode() & 0o777) as u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/linux/fs.rs:94: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_mode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `mode` with a similar name [INFO] [stdout] | [INFO] [stdout] 63 | mode_perms: (stat.mode() & 0o777) as u16, [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_flags` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | flag_stage: ((stat.st_flags() >> 12) & 0b0011) as u16, [INFO] [stdout] | ^^^^^^^^ method not found in `Metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_uid` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | uid: stat.st_uid(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/linux/fs.rs:128: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_uid` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_gid` with a similar name [INFO] [stdout] | [INFO] [stdout] 64 | uid: stat.st_gid(), [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_gid` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | gid: stat.st_gid(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/linux/fs.rs:145: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_gid` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `st_uid` with a similar name [INFO] [stdout] | [INFO] [stdout] 65 | gid: stat.st_uid(), [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_size` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | fsize: stat.st_size() as usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/6289438dbad80b1a0029c66dd3f6abf57c2c51be/library/std/src/os/linux/fs.rs:182: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_size` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::linux::fs::MetadataExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `size` with a similar name [INFO] [stdout] | [INFO] [stdout] 66 | fsize: stat.size() as usize, [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_flags` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | flag_assume_valid: stat.st_flags() >> 15 != 0, [INFO] [stdout] | ^^^^^^^^ method not found in `Metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `st_flags` found for struct `Metadata` in the current scope [INFO] [stdout] --> src/add.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | flag_stage: ((stat.st_flags() >> 12) & 0b0011) as u16, [INFO] [stdout] | ^^^^^^^^ method not found in `Metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/git_object.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn deserialize_object(data: &[u8]) -> GitObject { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/git_object.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn deserialize_object(data: &[u8]) -> GitObject { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `our_git` (bin "our_git") due to 11 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `our_git` (bin "our_git" test) due to 11 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "040efc500d7e516be7882df1870d7bfdcf371f4de6cc688fd0366ad7711e54e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "040efc500d7e516be7882df1870d7bfdcf371f4de6cc688fd0366ad7711e54e0", kill_on_drop: false }` [INFO] [stdout] 040efc500d7e516be7882df1870d7bfdcf371f4de6cc688fd0366ad7711e54e0